Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
18dd3de3f7 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Sep 24 10:20:55 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
|
||||||
|
|
||||||
- Use SOURCE_DATE_EPOCH for reproducible builds
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 21 16:14:29 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
Wed Feb 21 16:14:29 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@@ -124,13 +124,8 @@ function compileFiles() {
|
|||||||
# PARAM#1: name of jar archive (without .jar suffix)
|
# PARAM#1: name of jar archive (without .jar suffix)
|
||||||
# uses $TARGET_DIR to move created jar to
|
# uses $TARGET_DIR to move created jar to
|
||||||
function mkJar() {
|
function mkJar() {
|
||||||
jar \
|
find -name "version.txt" -or -name "*.class" -or -name "*.properties" -or -name "*.rsc" |\
|
||||||
%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 17}%{!?pkg_vcmp:0}
|
xargs jar cfm ${1}.jar manifest.* ;
|
||||||
--date="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ)" \
|
|
||||||
%endif
|
|
||||||
--create --file=${1}.jar \
|
|
||||||
`find -name "version.txt" -or -name "*.class" -or -name "*.properties" -or -name "*.rsc" |\
|
|
||||||
xargs` ;
|
|
||||||
mv ${1}.jar $TARGET_DIR
|
mv ${1}.jar $TARGET_DIR
|
||||||
}
|
}
|
||||||
#<<<
|
#<<<
|
||||||
|
Reference in New Issue
Block a user