Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

2 changed files with 2 additions and 11 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
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>

View File

@ -74,14 +74,10 @@ 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 \
%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}
jar ufm build/%{name}-%{version}.jar %{SOURCE4}
%install
# jars