Use add_maven_depmap macro
- Use more precise specification of files
This commit is contained in:
parent
923120451a
commit
8ed628f24e
@ -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 <sochotnicky@redhat.com> - 1.14-2
|
||||
- Use add_maven_depmap macro
|
||||
- Use more precise specification of files
|
||||
|
||||
* Tue Jul 26 2011 Jaromir Capik <jcapik@redhat.com> - 1.14-2
|
||||
- Removal of plexus-maven-plugin dependency (not needed)
|
||||
- Minor spec file changes according to the latest guidelines
|
||||
|
Loading…
Reference in New Issue
Block a user