SHA256
1
0
forked from pool/tpm2-0-tss
Marcus Meissner 2016-02-24 13:51:28 +00:00 committed by Git OBS Bridge
parent 3bef03c03e
commit 9db12012c4
2 changed files with 3 additions and 8 deletions

View File

@ -1 +1 @@
libtspi1
libtss2

View File

@ -28,7 +28,6 @@ Source2: baselibs.conf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: openssl-devel
BuildRequires: pkg-config
BuildRequires: systemd-rpm-macros
%{?systemd_requires}
@ -42,9 +41,7 @@ The tpm2-0-tss package provides a TPM 2.0 TSS implementation.
Summary: TSS (TCG Software Stack) access daemon for a TPM chip
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libopenssl-devel
Requires: libtspi1 = %{version}
Requires: trousers = %{version}
Requires: libtss2 = %{version}
%description devel
The trousers package provides a TSS implementation through the help of
@ -79,11 +76,9 @@ make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread
%install
%make_install
rm %{buildroot}//%{_libdir}/lib*.la
rm %{buildroot}/%{_libdir}/lib*.la
%pre
%{_sbindir}/groupadd -g 98 tss 2> /dev/null || :
%{_sbindir}/useradd -u 98 -o -g tss -s /bin/false -c "TSS daemon" -d %{_localstatedir}/lib/tpm tss 2> /dev/null || :
%service_add_pre tcsd.service
%post