On 2023-06-29, Jan-Benedict Glaw wrote: > On Wed, 2023-06-28 13:34:31 -0700, Vagrant Cascadian > <[email protected]> wrote: >> diff --git a/debian/rules b/debian/rules >> index c94adb7..9ddad46 100755 >> --- a/debian/rules >> +++ b/debian/rules >> @@ -10,7 +10,7 @@ VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed >> 's/+dfsg//') >> dh $@ --with maven-repo-helper --with javahelper >> >> override_dh_auto_build: >> - dh_auto_build -- -Dversion.id=$(VERSION) -DDSTAMP=$(shell date >> '--date=@$(SOURCE_DATE_EPOCH)' +%Y%m%d) jar maven-poms javadocs >> + dh_auto_build -- -Dversion.id=$(VERSION) -DDSTAMP=$(shell date '--utc >> --date=@$(SOURCE_DATE_EPOCH)' +%Y%m%d) jar maven-poms javadocs >> >> override_dh_auto_test: >> ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) > > IMHO the `--utc` is misplaced within the `--date` quoting.
Ah, sure ... although not sure that the '' are even necessary, as SOURCE_DATE_EPOCH is an integer... Regardless, the patch consistently works for me! :) live well, vagrant
signature.asc
Description: PGP signature
__ This is the maintainer address of Debian's Java team <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use [email protected] for discussions and questions.
