SHA256
3
0
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:
Philipp Thomas 2018-05-09 07:07:51 +00:00 committed by Git OBS Bridge
parent f59756287e
commit 113119e97d
5 changed files with 31 additions and 0 deletions

View 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.

View File

@ -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

View File

@ -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}" \

View File

@ -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

View File

@ -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}" \