Compare commits
3 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 352da51caa | |||
| 3a3700209d | |||
| 7693d25dfd |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 06:10:42 UTC 2025 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Fix build with older JDKs where jar tool does not have long options
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 13:44:01 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
||||
6
sac.spec
6
sac.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sac
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -65,8 +65,10 @@ ant \
|
||||
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 --manifest=%{SOURCE2} --file=build/lib/sac.jar
|
||||
%else
|
||||
umf %{SOURCE2} build/lib/sac.jar
|
||||
%endif
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_javadir}
|
||||
install -p -m 0644 ./build/lib/sac.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||
|
||||
Reference in New Issue
Block a user