Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:ARM:Factory:Contrib:ILP32
ant
reproducible-jar-mtime.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible-jar-mtime.patch of Package ant
--- apache-ant-1.10.14/src/main/org/apache/tools/ant/taskdefs/Zip.java 2024-09-18 09:25:56.006778808 +0200 +++ apache-ant-1.10.14/src/main/org/apache/tools/ant/taskdefs/Zip.java 2024-09-18 11:06:39.405766871 +0200 @@ -846,6 +846,14 @@ archiveType); } + if (fixedModTime == null) { + String sde = System.getenv("SOURCE_DATE_EPOCH"); + if (sde != null) { + // the DateUtils.parseLenientDateTime requires miliseconds + fixedModTime = sde + "000"; + } + } + if (fixedModTime != null) { try { modTimeMillis = DateUtils.parseLenientDateTime(fixedModTime).getTime();
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor