Use .mfiles generated during build
This commit is contained in:
parent
64f0ad216b
commit
4fe9461724
@ -1,6 +1,6 @@
|
|||||||
Name: xml-commons-apis
|
Name: xml-commons-apis
|
||||||
Version: 1.4.01
|
Version: 1.4.01
|
||||||
Release: 15%{?dist}
|
Release: 16%{?dist}
|
||||||
Summary: APIs for DOM, SAX, and JAXP
|
Summary: APIs for DOM, SAX, and JAXP
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: ASL 2.0 and W3C and Public Domain
|
License: ASL 2.0 and W3C and Public Domain
|
||||||
@ -23,8 +23,6 @@ BuildRequires: ant
|
|||||||
BuildRequires: zip
|
BuildRequires: zip
|
||||||
Requires: java-headless
|
Requires: java-headless
|
||||||
Requires: jpackage-utils
|
Requires: jpackage-utils
|
||||||
Requires(post): jpackage-utils
|
|
||||||
Requires(postun): jpackage-utils
|
|
||||||
|
|
||||||
Obsoletes: xml-commons < %{version}-%{release}
|
Obsoletes: xml-commons < %{version}-%{release}
|
||||||
Provides: xml-commons = %{version}-%{release}
|
Provides: xml-commons = %{version}-%{release}
|
||||||
@ -102,20 +100,12 @@ cp -pr build/docs/javadoc/* %{buildroot}%{_javadocdir}/%{name}
|
|||||||
# prevent apis javadoc from being included in doc
|
# prevent apis javadoc from being included in doc
|
||||||
rm -rf build/docs/javadoc
|
rm -rf build/docs/javadoc
|
||||||
|
|
||||||
%pre javadoc
|
%files -f .mfiles
|
||||||
# workaround for rpm bug, can be removed in F-18
|
|
||||||
[ $1 -gt 1 ] && [ -L %{_javadocdir}/%{name} ] && \
|
|
||||||
rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
|
||||||
|
|
||||||
%files
|
|
||||||
%doc LICENSE NOTICE
|
%doc LICENSE NOTICE
|
||||||
%doc LICENSE.dom-documentation.txt README.dom.txt
|
%doc LICENSE.dom-documentation.txt README.dom.txt
|
||||||
%doc LICENSE.dom-software.txt LICENSE.sac.html
|
%doc LICENSE.dom-software.txt LICENSE.sac.html
|
||||||
%doc LICENSE.sax.txt README-sax README.sax.txt
|
%doc LICENSE.sax.txt README-sax README.sax.txt
|
||||||
%{_javadir}/*
|
%{_javadir}/*
|
||||||
%{_mavendepmapfragdir}/%{name}
|
|
||||||
%{_mavenpomdir}/JPP-%{name}.pom
|
|
||||||
%{_mavenpomdir}/JPP-%{name}-ext.pom
|
|
||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%doc build/docs/*
|
%doc build/docs/*
|
||||||
@ -124,6 +114,9 @@ rm -rf $(readlink -f %{_javadocdir}/%{name}) %{_javadocdir}/%{name} || :
|
|||||||
%{_javadocdir}/*
|
%{_javadocdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.01-16
|
||||||
|
- Use .mfiles generated during build
|
||||||
|
|
||||||
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.01-15
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.01-15
|
||||||
- Use Requires: java-headless rebuild (#1067528)
|
- Use Requires: java-headless rebuild (#1067528)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user