]> git.pld-linux.org Git - packages/gflags.git/commitdiff
- fix install on 64bit archs auto/th/gflags-2.1.1-2
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 23 Nov 2014 14:50:05 +0000 (15:50 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 23 Nov 2014 14:50:05 +0000 (15:50 +0100)
- rel 2

gflags.spec

index babd66158a78a253c49fee01ae867f8df4c5b3aa..24be71a18aca6855bfddb6269f8d3e50abca080d 100644 (file)
@@ -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
This page took 0.090786 seconds and 4 git commands to generate.