Compare commits

..

No commits in common. "c8-beta-stream-rhel8" and "c8-stream-201902" have entirely different histories.

View File

@ -1,6 +1,6 @@
Name: xml-commons-apis Name: xml-commons-apis
Version: 1.4.01 Version: 1.4.01
Release: 31%{?dist} Release: 27%{?dist}
Summary: APIs for DOM, SAX, and JAXP Summary: APIs for DOM, SAX, and JAXP
License: ASL 2.0 and W3C and Public Domain License: ASL 2.0 and W3C and Public Domain
URL: http://xml.apache.org/commons/ URL: http://xml.apache.org/commons/
@ -53,14 +53,6 @@ iconv -f iso8859-1 -t utf-8 LICENSE.dom-documentation.txt > \
iconv -f iso8859-1 -t utf-8 LICENSE.dom-software.txt > \ iconv -f iso8859-1 -t utf-8 LICENSE.dom-software.txt > \
LICENSE.dom-sof.temp && mv -f LICENSE.dom-sof.temp LICENSE.dom-software.txt LICENSE.dom-sof.temp && mv -f LICENSE.dom-sof.temp LICENSE.dom-software.txt
# disable javadoc linting
sed -i -e '/javadoc packagenames/aadditionalparam="-Xdoclint:none"' build.xml
# in Java 9+ a single underscore is no longer a valid identifier
sed -i -e 's/\(Throwable\|Exception\) _/\1 ex/' \
src/javax/xml/validation/SchemaFactoryFinder.java \
src/javax/xml/xpath/XPathFactoryFinder.java
# remove bogus section from poms # remove bogus section from poms
cp %{SOURCE3} %{SOURCE4} . cp %{SOURCE3} %{SOURCE4} .
sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom
@ -70,7 +62,7 @@ sed -i '/distributionManagement/,/\/distributionManagement/ {d}' *.pom
%mvn_alias :xml-apis-ext xerces:dom3-xml-apis %mvn_alias :xml-apis-ext xerces:dom3-xml-apis
%build %build
ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 jar javadoc ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 jar javadoc
# inject OSGi manifests # inject OSGi manifests
jar ufm build/xml-apis.jar %{SOURCE1} jar ufm build/xml-apis.jar %{SOURCE1}
@ -90,32 +82,18 @@ rm -rf build/docs/javadoc
%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}/*
%files manual %files manual
%doc build/docs/* %doc build/docs/*
%files javadoc %files javadoc -f .mfiles-javadoc
%{_javadocdir}/*
%changelog %changelog
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 1.4.01-31 * Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.01-27
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - Mass rebuild for javapackages-tools 201902
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 1.4.01-30 * Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4.01-26
- Allow building against Java 11 - Mass rebuild for javapackages-tools 201901
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.01-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.01-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.01-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.01-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.01-25 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.01-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild