forked from pool/libtool
Accepting request 605522 from home:bmwiedemann:branches:Base:System
Add libtool-reproducible-hostname.patch to make package build reproducible (boo#1084909) insprired by a patch in https://bugs.debian.org/819767 OBS-URL: https://build.opensuse.org/request/show/605522 OBS-URL: https://build.opensuse.org/package/show/Base:System/libtool?expand=0&rev=78
This commit is contained in:
parent
f59756287e
commit
113119e97d
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