forked from pool/gettext-runtime
Dirk Mueller
3c5e1208ae
Add reproducible.patch to override build date (boo#1047218) OBS-URL: https://build.opensuse.org/request/show/640333 OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=146
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
merged upstream <https://savannah.gnu.org/bugs/?54367>
|
|
|
|
Index: gettext-0.19.8.1/gettext-runtime/man/help2man
|
|
===================================================================
|
|
--- gettext-0.19.8.1.orig/gettext-runtime/man/help2man
|
|
+++ gettext-0.19.8.1/gettext-runtime/man/help2man
|
|
@@ -179,7 +179,7 @@ my ($help_text, $version_text) = map {
|
|
or die "$this_program: can't get `--$_' info from $ARGV[0]\n"
|
|
} qw(help version);
|
|
|
|
-my $date = strftime "%B %Y", localtime;
|
|
+my $date = strftime "%B %Y", gmtime($ENV{SOURCE_DATE_EPOCH} || time);
|
|
(my $program = $ARGV[0]) =~ s!.*/!!;
|
|
my $package = $program;
|
|
my $version;
|
|
Index: gettext-0.19.8.1/gettext-tools/man/help2man
|
|
===================================================================
|
|
--- gettext-0.19.8.1.orig/gettext-tools/man/help2man
|
|
+++ gettext-0.19.8.1/gettext-tools/man/help2man
|
|
@@ -179,7 +179,7 @@ my ($help_text, $version_text) = map {
|
|
or die "$this_program: can't get `--$_' info from $ARGV[0]\n"
|
|
} qw(help version);
|
|
|
|
-my $date = strftime "%B %Y", localtime;
|
|
+my $date = strftime "%B %Y", gmtime($ENV{SOURCE_DATE_EPOCH} || time);
|
|
(my $program = $ARGV[0]) =~ s!.*/!!;
|
|
my $package = $program;
|
|
my $version;
|