forked from pool/libtool
Accepting request 605641 from Base:System
Add libtool-reproducible-hostname.patch to make package build reproducible (boo#1084909) insprired by a patch in https://bugs.debian.org/819767 (forwarded request 605522 from bmwiedemann) OBS-URL: https://build.opensuse.org/request/show/605641 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtool?expand=0&rev=54
This commit is contained in:
commit
6796faa63f
13
libtool-reproducible-hostname.patch
Normal file
13
libtool-reproducible-hostname.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: libtool-2.4.6/configure
|
||||
===================================================================
|
||||
--- libtool-2.4.6.orig/configure
|
||||
+++ libtool-2.4.6/configure
|
||||
@@ -31426,7 +31426,7 @@ $as_echo X"$file" |
|
||||
cat <<_LT_EOF >> "$cfgfile"
|
||||
#! $SHELL
|
||||
# Generated automatically by $as_me ($PACKAGE) $VERSION
|
||||
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
||||
+# Libtool was configured on host localhost:
|
||||
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
|
||||
|
||||
# Provide generalized library-building support services.
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 9 03:34:16 UTC 2018 - bwiedemann@suse.com
|
||||
|
||||
- Add libtool-reproducible-hostname.patch
|
||||
to make package build reproducible (boo#1084909)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 3 14:16:43 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -33,6 +33,8 @@ Source1: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz.sig
|
||||
Source2: libtool.keyring
|
||||
Source3: baselibs.conf
|
||||
Source4: libtool-rpmlintrc
|
||||
# PATCH-FIX-OPENSUSE -- do not add build host name boo#1084909
|
||||
Patch0: libtool-reproducible-hostname.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-fortran
|
||||
@ -65,6 +67,7 @@ Library needed by programs that use the ltdl interface of GNU libtool.
|
||||
|
||||
%prep
|
||||
%setup -q -n libtool-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
./configure CFLAGS="%{optflags}" \
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 9 03:34:16 UTC 2018 - bwiedemann@suse.com
|
||||
|
||||
- Add libtool-reproducible-hostname.patch
|
||||
to make package build reproducible (boo#1084909)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 3 14:16:43 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -33,6 +33,8 @@ Source1: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz.sig
|
||||
Source2: libtool.keyring
|
||||
Source3: baselibs.conf
|
||||
Source4: libtool-rpmlintrc
|
||||
# PATCH-FIX-OPENSUSE -- do not add build host name boo#1084909
|
||||
Patch0: libtool-reproducible-hostname.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-fortran
|
||||
@ -65,6 +67,7 @@ Library needed by programs that use the ltdl interface of GNU libtool.
|
||||
|
||||
%prep
|
||||
%setup -q -n libtool-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
./configure CFLAGS="%{optflags}" \
|
||||
|
Loading…
Reference in New Issue
Block a user