Accepting request 1202039 from Java:packages
Bit-reproducible build OBS-URL: https://build.opensuse.org/request/show/1202039 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xpp3?expand=0&rev=26
This commit is contained in:
commit
eaa9ad312c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 19 14:50:46 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use SOURCE_DATE_EPOCH for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 11:54:40 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
@ -74,10 +74,14 @@ sed -i 's|depends="junit_main,junit_addons"|depends="junit_main"|' build.xml
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath xml-commons-apis junit)
|
||||
ant xpp3 junit apidoc
|
||||
%{ant} xpp3 junit apidoc
|
||||
|
||||
# Add OSGi metadata
|
||||
jar ufm build/%{name}-%{version}.jar %{SOURCE4}
|
||||
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/%{name}-%{version}.jar --manifest=%{SOURCE4}
|
||||
|
||||
%install
|
||||
# jars
|
||||
|
Loading…
x
Reference in New Issue
Block a user