diff --git a/plexus-classworlds.spec b/plexus-classworlds.spec index 4e4019b..0246aa3 100644 --- a/plexus-classworlds.spec +++ b/plexus-classworlds.spec @@ -34,7 +34,7 @@ Name: %{parent}-%{subname} Version: 2.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Plexus Classworlds Classloader Framework License: ASL 2.0 and Plexus Group: Development/Libraries @@ -62,6 +62,7 @@ BuildRequires: maven-shared-reporting-impl BuildRequires: maven-dependency-plugin BuildRequires: maven-surefire-maven-plugin BuildRequires: maven-surefire-provider-junit +BuildRequires: maven-plugin-bundle BuildRequires: plexus-utils %description @@ -91,6 +92,20 @@ done # fix ant groupId sed -i 's:ant:org.apache.ant:' pom.xml +# Generate OSGI info +%pom_xpath_inject "pom:project" "bundle" +%pom_xpath_inject "pom:build/pom:plugins" " + + org.apache.felix + maven-bundle-plugin + true + + + * + + + " + %build mvn-rpmbuild -e install javadoc:javadoc @@ -118,6 +133,9 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name} %doc %{_javadocdir}/%{name} %changelog +* Mon Aug 06 2012 Gerard Ryan - 2.4-6 +- Generate OSGI info using maven-plugin-bundle + * Sat Jul 21 2012 Fedora Release Engineering - 2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild