Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
jboss-logging-tools
reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible.patch of Package jboss-logging-tools
https://github.com/jboss-logging/jboss-logging-tools/pull/81 Author: Bernhard M. Wiedemann Date: 2020-05-09 toolchain patch for resteasy Index: jboss-logging-tools-2.2.1.Final/processor/src/main/java/org/jboss/logging/processor/generator/model/ClassModelHelper.java =================================================================== --- jboss-logging-tools-2.2.1.Final.orig/processor/src/main/java/org/jboss/logging/processor/generator/model/ClassModelHelper.java +++ jboss-logging-tools-2.2.1.Final/processor/src/main/java/org/jboss/logging/processor/generator/model/ClassModelHelper.java @@ -52,7 +52,11 @@ public final class ClassModelHelper { */ static String generatedDateValue() { final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ"); - return sdf.format(new Date()); + + Date d = System.getenv("SOURCE_DATE_EPOCH") == null ? + new Date() : + new Date(1000 * Long.parseLong(System.getenv("SOURCE_DATE_EPOCH"))); + return sdf.format(d); } /**
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