This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 20 09:36:37 UTC 2018 - bwiedemann@suse.com
|
||||
|
||||
- Add modglue-1.19-reproducible.patch to make build reproducible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 23:55:21 UTC 2013 - badshah400@gmail.com
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ License: GPL-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://cadabra.phi-sci.com/index.html
|
||||
Source: http://cadabra.phi-sci.com/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE -- dont add build date (boo#1047218)
|
||||
Patch0: modglue-1.19-reproducible.patch
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
@@ -90,6 +92,7 @@ This package provides the header and source files for development with
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
./configure --prefix=%{_prefix} --libdir=/%{_lib}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
Index: modglue-1.19/src/Makefile.in
|
||||
===================================================================
|
||||
--- modglue-1.19.orig/src/Makefile.in
|
||||
+++ modglue-1.19/src/Makefile.in
|
||||
@@ -27,7 +27,7 @@ MPHASE = ${LIBTOOL} --tag=CXX --mode=lin
|
||||
IPHASE = ${LIBTOOL} --mode=install @INSTALL@
|
||||
FPHASE = ${LIBTOOL} --mode=finish @prefix@/@libdir@
|
||||
|
||||
-TIMESTAMP = -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\"
|
||||
+TIMESTAMP = -D"DATETIME=\"`date -u -d @$${SOURCE_DATE_EPOCH:-$$(date +%s)} | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\"
|
||||
|
||||
all: library tests tools
|
||||
|
||||
Reference in New Issue
Block a user