forked from pool/gettext-runtime
Accepting request 640333 from home:bmwiedemann:branches:Base:System
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
This commit is contained in:
parent
607ae01f9d
commit
3c5e1208ae
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 6 19:29:11 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Add reproducible.patch to override build date (boo#1047218)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 19 08:24:19 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Add patch msgfmt-reset-msg-length-after-remove.patch
|
||||||
|
which does reset the length of message string after a line
|
||||||
|
has been removed (boo#1106843)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 24 10:45:49 CEST 2018 - kukuk@suse.de
|
Thu May 24 10:45:49 CEST 2018 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -77,6 +77,7 @@ Patch10: msgfmt-remove-pot-creation-date.patch
|
|||||||
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
||||||
# PATCH-FIX-SUSE Bug boo#1106843
|
# PATCH-FIX-SUSE Bug boo#1106843
|
||||||
Patch12: msgfmt-reset-msg-length-after-remove.patch
|
Patch12: msgfmt-reset-msg-length-after-remove.patch
|
||||||
|
Patch13: reproducible.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the intl library as well as tools that ease the
|
This package contains the intl library as well as tools that ease the
|
||||||
@ -142,6 +143,7 @@ as well as project examples.
|
|||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p0
|
%patch12 -p0
|
||||||
|
%patch13 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Oct 6 19:29:11 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Add reproducible.patch to override build date (boo#1047218)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 19 08:24:19 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
Wed Sep 19 08:24:19 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -77,6 +77,7 @@ Patch10: msgfmt-remove-pot-creation-date.patch
|
|||||||
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
Patch11: boo941629-unnessary-rpath-on-standard-path.patch
|
||||||
# PATCH-FIX-SUSE Bug boo#1106843
|
# PATCH-FIX-SUSE Bug boo#1106843
|
||||||
Patch12: msgfmt-reset-msg-length-after-remove.patch
|
Patch12: msgfmt-reset-msg-length-after-remove.patch
|
||||||
|
Patch13: reproducible.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the intl library as well as tools that ease the
|
This package contains the intl library as well as tools that ease the
|
||||||
@ -142,6 +143,7 @@ as well as project examples.
|
|||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
%patch12 -p0
|
%patch12 -p0
|
||||||
|
%patch13 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
# expect a couple "You should update your `aclocal.m4' by running aclocal."
|
||||||
|
28
reproducible.patch
Normal file
28
reproducible.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
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;
|
Loading…
Reference in New Issue
Block a user