From 8ed628f24e0fd079c7f130faa78600d52ac39a0f Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Wed, 27 Jul 2011 13:42:49 +0200 Subject: [PATCH] Use add_maven_depmap macro - Use more precise specification of files --- plexus-interpolation.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/plexus-interpolation.spec b/plexus-interpolation.spec index 547d722..2b99ca2 100644 --- a/plexus-interpolation.spec +++ b/plexus-interpolation.spec @@ -27,8 +27,8 @@ BuildRequires: maven-doxia-sitetools %description Plexus interpolator is the outgrowth of multiple iterations of development -focused on providing a more modular, flexible interpolation framework for -the expression language style commonly seen in Maven, Plexus, and other +focused on providing a more modular, flexible interpolation framework for +the expression language style commonly seen in Maven, Plexus, and other related projects. %package javadoc @@ -50,26 +50,31 @@ mvn-rpmbuild install javadoc:javadoc install -d -m 0755 %{buildroot}%{_javadir}/plexus install -m 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/plexus/interpolation.jar -%add_to_maven_depmap org.codehaus.plexus plexus-interpolation %{version} JPP/plexus interpolation # poms install -d -m 755 %{buildroot}%{_mavenpomdir} install -pm 644 pom.xml \ %{buildroot}%{_mavenpomdir}/JPP.%{name}.pom +%add_maven_depmap JPP.%{name}.pom plexus/interpolation.jar + # javadoc install -d -m 0755 %{buildroot}%{_javadocdir}/%{name} cp -pr target/site/api*/* %{buildroot}%{_javadocdir}/%{name}/ %files -%{_javadir}/plexus/*.jar -%{_mavenpomdir}/* -%{_mavendepmapfragdir}/* +%{_javadir}/plexus/interpolation.jar +%{_mavenpomdir}/JPP.%{name}.pom +%{_mavendepmapfragdir}/%{name} %files javadoc %{_javadocdir}/%{name} %changelog +* Wed Jul 27 2011 Stanislav Ochotnicky - 1.14-2 +- Use add_maven_depmap macro +- Use more precise specification of files + * Tue Jul 26 2011 Jaromir Capik - 1.14-2 - Removal of plexus-maven-plugin dependency (not needed) - Minor spec file changes according to the latest guidelines