From 41b6f370302ee9527b5c2dda779e1b58f471d4d1 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Jun 09 2015 08:04:23 +0000 Subject: Move access-modifier-checker to subpackage --- diff --git a/access-modifier-annotation.spec b/access-modifier-annotation.spec index d6bea5c..4df493d 100644 --- a/access-modifier-annotation.spec +++ b/access-modifier-annotation.spec @@ -2,7 +2,7 @@ Name: access-modifier-annotation Version: 1.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Java annotation for custom access modifiers # License is specified in pom file @@ -33,6 +33,12 @@ This mechanism is useful for actually making sure that deprecated features are not used (without actually removing such declarations, which would break binary compatibility.) +%package -n access-modifier-checker +Summary: Maven plugin for checking custom access modifiers + +%description -n access-modifier-checker +This package contains Maven plugin for checking custom access modifiers. + %package javadoc Summary: Javadoc for %{name} @@ -47,6 +53,8 @@ cp %{SOURCE1} LICENSE %pom_xpath_remove "pom:extension[pom:artifactId[text()='wagon-svn']]" +%mvn_package :access-modifier-checker access-modifier-checker + # We don't have asm-debug-all artifact, # so we'll use the one without debugging information %pom_change_dep :asm-debug-all asm:asm-all access-modifier-checker @@ -60,10 +68,14 @@ cp %{SOURCE1} LICENSE %files -f .mfiles %doc LICENSE +%files -n access-modifier-checker -f .mfiles-access-modifier-checker %files javadoc -f .mfiles-javadoc %doc LICENSE %changelog +* Tue Jun 09 2015 Michal Srb - 1.4-6 +- Move access-modifier-checker to subpackage + * Mon Jun 08 2015 Michal Srb - 1.4-5 - Utilize pom_change_dep