Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d33e763a37 | |||
| 982a53b694 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 05:27:46 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Use SOURCE_DATE_EPOCH for reproducible builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 26 06:15:10 UTC 2023 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jwordsplitter
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -71,7 +71,11 @@ java -cp target/classes de.danielnaber.jwordsplitter.converter.SerializeDict \
|
||||
%install
|
||||
%mvn_install
|
||||
# include the wordGerman.ser in the jar
|
||||
jar uf %{buildroot}%{_javadir}/%{name}/%{name}.jar -C tmp .
|
||||
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=%{buildroot}%{_javadir}/%{name}/%{name}.jar -C tmp .
|
||||
%fdupes -s %{buildroot}%{_javadocdir}
|
||||
|
||||
%files -f .mfiles
|
||||
|
||||
Reference in New Issue
Block a user