Don't generate duplicate Maven metadata

This commit is contained in:
Mikolaj Izdebski 2014-05-29 08:22:10 +02:00
parent 4fe9461724
commit 4e340c12e2

View File

@ -1,6 +1,6 @@
Name: xml-commons-apis
Version: 1.4.01
Release: 16%{?dist}
Release: 17%{?dist}
Summary: APIs for DOM, SAX, and JAXP
Group: Development/Libraries
License: ASL 2.0 and W3C and Public Domain
@ -81,7 +81,6 @@ zip -u build/xml-apis-ext.jar META-INF/MANIFEST.MF
# Jars
install -pD -T build/xml-apis.jar %{buildroot}%{_javadir}/%{name}.jar
install -pDm 644 xml-apis-[0-9]*.pom %{buildroot}/%{_mavenpomdir}/JPP-%{name}.pom
%add_maven_depmap JPP-%{name}.pom %{name}.jar
%add_maven_depmap -a xerces:dom3-xml-apis
install -pD -T build/xml-apis-ext.jar %{buildroot}%{_javadir}/%{name}-ext.jar
@ -114,6 +113,9 @@ rm -rf build/docs/javadoc
%{_javadocdir}/*
%changelog
* Thu May 29 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.01-17
- Don't generate duplicate Maven metadata
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.01-16
- Use .mfiles generated during build