[packages/libfaketime] faketime binary hardcodes library path to LD_PRELOAD, rel. 2

gotar gotar at pld-linux.org
Mon Aug 10 17:14:37 CEST 2015


commit 1830cab2608c902aa1d1e1cd16c7740be67a7351
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Mon Aug 10 17:14:13 2015 +0200

    faketime binary hardcodes library path to LD_PRELOAD, rel. 2

 libfaketime.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libfaketime.spec b/libfaketime.spec
index 44be258..36b66c4 100644
--- a/libfaketime.spec
+++ b/libfaketime.spec
@@ -1,7 +1,7 @@
 Summary:	Report faked system time
 Name:		libfaketime
 Version:	0.9.6
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Libraries
 Source0:	http://www.code-wizards.com/projects/libfaketime/%{name}-%{version}.tar.gz
@@ -17,7 +17,9 @@ to change the system-wide time.
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+	PREFIX=%{_prefix} \
+	LIBDIRNAME=/%{_lib}/faketime \
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libfaketime.git/commitdiff/1830cab2608c902aa1d1e1cd16c7740be67a7351



More information about the pld-cvs-commit mailing list