commit b758b77b16c516fa54573e9c3c1b9786a827a212
Author: Jakub Bogusz <[email protected]>
Date:   Tue Dec 25 22:29:25 2018 +0100

    - SOURCE_DATE_EPOCH fix; release 2

 openldap.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/openldap.spec b/openldap.spec
index 7eff3a1..9871b7b 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -23,7 +23,7 @@ Summary(ru.UTF-8):    Образцы клиентов LDAP
 Summary(uk.UTF-8):     Зразки клієнтів LDAP
 Name:          openldap
 Version:       2.4.47
-Release:       1
+Release:       2
 License:       OpenLDAP Public License
 Group:         Networking/Daemons
 Source0:       
ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/%{name}-%{version}.tgz
@@ -1290,8 +1290,6 @@ CFLAGS="%{rpmcflags}"
 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
 LDFLAGS="%{rpmcflags} %{rpmldflags}"
 export CC CXX CFLAGS CXXFLAGS LDFLAGS
-# force "reproducible build", no builddir in resulting package
-export SOURCE_DATE_EPOCH=dummy
 ../dist/%configure \
        
--cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-db.cache
 \
        --disable-compat185 \
@@ -1335,6 +1333,8 @@ export 
LD_LIBRARY_PATH=${dbdir}/%{_lib}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
 %{__libtoolize} --install
 %{__aclocal}
 %{__autoconf}
+# force "reproducible build", no builddir in resulting package
+export SOURCE_DATE_EPOCH=$(stat -c '%Y' CHANGES)
 %configure \
        --enable-dynamic \
        --enable-syslog \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openldap.git/commitdiff/b758b77b16c516fa54573e9c3c1b9786a827a212

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to