]> git.pld-linux.org Git - packages/tpm_emulator.git/blobdiff - tpm_emulator.spec
- fixed building with linux 4.1
[packages/tpm_emulator.git] / tpm_emulator.spec
index eb41d9bdc6a927e245d3161f32d31dd0d5a5bfb6..e136c406b1494f3433c30f00576c1657d6bda502 100644 (file)
@@ -21,7 +21,7 @@ exit 1
 %define                _duplicate_files_terminate_build        0
 
 %define        pname   tpm_emulator
-%define        rel     10
+%define        rel     14
 Summary:       Software-based TPM and MTM Emulator
 Summary(pl.UTF-8):     Programowy emulator TPM i MTM
 Name:          %{pname}%{?_pld_builder:%{?with_kernel:-kernel}}%{_alt_kernel}
@@ -32,6 +32,8 @@ Group:                Applications/System
 Source0:       http://downloads.sourceforge.net/tpm-emulator.berlios/%{pname}-%{version}.tar.gz
 # Source0-md5: e26becb8a6a2b6695f6b3e8097593db8
 Patch0:                %{pname}-libdir.patch
+Patch1:                linux-3.19.patch
+Patch2:                linux-4.1.patch
 URL:           http://tpm-emulator.berlios.de/
 BuildRequires: cmake >= 2.4
 BuildRequires: gmp-devel
@@ -122,6 +124,8 @@ przekazujÄ…cy odebrane polecenia do tpmd.\
 %prep
 %setup -q -n %{pname}-%{version}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 # separate kernel module from userspace build
 echo > tpmd_dev/CMakeLists.txt
This page took 0.075763 seconds and 4 git commands to generate.