]> git.pld-linux.org Git - packages/tpm_emulator.git/commitdiff
- added libdir patch (use LIB_SUFFIX) auto/th/tpm_emulator-0.7.4-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Aug 2013 08:51:47 +0000 (10:51 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Aug 2013 08:51:47 +0000 (10:51 +0200)
tpm_emulator-libdir.patch [new file with mode: 0644]
tpm_emulator.spec

diff --git a/tpm_emulator-libdir.patch b/tpm_emulator-libdir.patch
new file mode 100644 (file)
index 0000000..4af0924
--- /dev/null
@@ -0,0 +1,13 @@
+--- tpm_emulator-0.7.4/tddl/CMakeLists.txt.orig        2011-12-20 19:30:06.000000000 +0100
++++ tpm_emulator-0.7.4/tddl/CMakeLists.txt     2013-08-25 10:29:26.037614531 +0200
+@@ -15,8 +15,8 @@
+   set_target_properties(tddl PROPERTIES PREFIX "")
+ endif()
+-install(TARGETS tddl DESTINATION lib)
+-install(TARGETS tddl_static DESTINATION lib)
++install(TARGETS tddl DESTINATION lib${LIB_SUFFIX})
++install(TARGETS tddl_static DESTINATION lib${LIB_SUFFIX})
+ install(FILES "tddl.h" DESTINATION include)
+ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
index efe40b97810c45842f7d3e2d5d3729a86e663933..9adb23964064ad6057704c50e1c983cc681d2192 100644 (file)
@@ -22,6 +22,7 @@ License:      GPL v2+
 Group:         Applications/System
 Source0:       http://downloads.sourceforge.net/tpm-emulator.berlios/%{pname}-%{version}.tar.gz
 # Source0-md5: e26becb8a6a2b6695f6b3e8097593db8
+Patch0:                %{pname}-libdir.patch
 URL:           http://tpm-emulator.berlios.de/
 BuildRequires: cmake >= 2.4
 BuildRequires: gmp-devel
@@ -91,6 +92,7 @@ przekazujÄ…cy odebrane polecenia do tpmd.
 
 %prep
 %setup -q -n %{pname}-%{version}
+%patch0 -p1
 
 # separate kernel module from userspace build
 echo > tpmd_dev/CMakeLists.txt
This page took 0.087433 seconds and 4 git commands to generate.