diff --git a/aws-sdk-java.changes b/aws-sdk-java.changes index 9c6757f..9ff3bef 100644 --- a/aws-sdk-java.changes +++ b/aws-sdk-java.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 12 12:27:52 UTC 2023 - Fridrich Strba + +- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp + ------------------------------------------------------------------- Thu May 5 10:23:20 UTC 2022 - Fridrich Strba diff --git a/aws-sdk-java.spec b/aws-sdk-java.spec index 7c3e698..526aaba 100644 --- a/aws-sdk-java.spec +++ b/aws-sdk-java.spec @@ -1,7 +1,7 @@ # # spec file for package aws-sdk-java # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -816,7 +816,9 @@ dos2unix src/samples/AmazonEC2SpotInstances-Advanced/CreateSecurityGroupApp.java # Tests require networking and unavailable test deps: # com.github.tomakehurst:wiremock:1.55 # nl.jqno.equalsverifier:equalsverifier:1.7.5 -%{mvn_build} -sfj -- -Dsource=8 org.apache.maven.plugins:maven-javadoc-plugin:aggregate +%{mvn_build} -sfj -- \ + -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ + -Dsource=8 org.apache.maven.plugins:maven-javadoc-plugin:aggregate %install %mvn_install