[packages/gflags] - fix install on 64bit archs - rel 2
baggins
baggins at pld-linux.org
Sun Nov 23 15:50:30 CET 2014
commit 2385e74b7676cb94dafcfb29c1f669b8993d78bb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Nov 23 15:50:05 2014 +0100
- fix install on 64bit archs
- rel 2
gflags.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/gflags.spec b/gflags.spec
index babd661..24be71a 100644
--- a/gflags.spec
+++ b/gflags.spec
@@ -2,7 +2,7 @@ Summary: A commandline flags library that allows for distributed flags
Summary(pl.UTF-8): Biblioteka flag linii poleceń pozwalająca na rozproszone flagi
Name: gflags
Version: 2.1.1
-Release: 1
+Release: 2
License: BSD
Group: Libraries
Source0: https://github.com/schuhschuh/gflags/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -58,6 +58,11 @@ Statyczna biblioteka gflags.
%patch0 -p1
%patch1 -p1
+%{__sed} -i \
+ -e 's|LIBRARY_INSTALL_DIR lib|LIBRARY_INSTALL_DIR %{_lib}|g' \
+ -e 's|CONFIG_INSTALL_DIR lib/cmake|CONFIG_INSTALL_DIR %{_lib}/cmake|g' \
+ CMakeLists.txt
+
%build
install -d build
cd build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gflags.git/commitdiff/2385e74b7676cb94dafcfb29c1f669b8993d78bb
More information about the pld-cvs-commit
mailing list