Sync from SUSE:SLFO:Main xml-commons-apis revision 3a4b11d8d80c60eaf7a9e4a229807bda

This commit is contained in:
Adrian Schröter 2025-02-20 11:27:33 +01:00
parent 45b0b69268
commit 78eb1a7080
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 19 15:03:31 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use SOURCE_DATE_EPOCH for reproducible builds
-------------------------------------------------------------------
Wed Feb 21 22:22:21 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -87,8 +87,16 @@ iconv -f iso8859-1 -t utf-8 LICENSE.dom-software.txt > \
ant -Dant.build.javac.source=8 -Dant.build.javac.target=8 jar javadoc
# inject OSGi manifests
jar ufm build/xml-apis.jar %{SOURCE1}
jar ufm build/xml-apis-ext.jar %{SOURCE2}
jar \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
--date="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)" \
%endif
--update --file=build/xml-apis.jar --manifest=%{SOURCE1}
jar \
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
--date="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)" \
%endif
--update --file=build/xml-apis-ext.jar --manifest=%{SOURCE2}
%install
# jar