spec file clean up

This commit is contained in:
sgrubb 2014-06-02 16:35:25 -04:00
parent 381f6a823f
commit b9345b286f

View File

@ -45,11 +45,10 @@ applications.
%prep %prep
%setup -q %setup -q
# fix man page paths
sed -i -e 's|/var/tpm|/var/lib/tpm|g' -e 's|/usr/local/var|/var|g' man/man5/tcsd.conf.5.in man/man8/tcsd.8.in sed -i -e 's|/var/tpm|/var/lib/tpm|g' -e 's|/usr/local/var|/var|g' man/man5/tcsd.conf.5.in man/man8/tcsd.8.in
%build %build
# fix man page paths
%configure --with-gui=openssl %configure --with-gui=openssl
make -k %{?_smp_mflags} make -k %{?_smp_mflags}
@ -84,8 +83,8 @@ exit 0
%{_libdir}/libtspi.so.? %{_libdir}/libtspi.so.?
%{_libdir}/libtspi.so.?.?.? %{_libdir}/libtspi.so.?.?.?
%config(noreplace) %attr(0600, tss, tss) %{_sysconfdir}/tcsd.conf %config(noreplace) %attr(0600, tss, tss) %{_sysconfdir}/tcsd.conf
%doc %{_mandir}/man5/* %{_mandir}/man5/*
%doc %{_mandir}/man8/* %{_mandir}/man8/*
%attr(644,root,root) %{_unitdir}/tcsd.service %attr(644,root,root) %{_unitdir}/tcsd.service
%attr(0700, tss, tss) %{_localstatedir}/lib/tpm/ %attr(0700, tss, tss) %{_localstatedir}/lib/tpm/
@ -95,7 +94,7 @@ exit 0
%attr(0755, root, root) %{_libdir}/libtspi.so %attr(0755, root, root) %{_libdir}/libtspi.so
%{_includedir}/tss/ %{_includedir}/tss/
%{_includedir}/trousers/ %{_includedir}/trousers/
%doc %{_mandir}/man3/Tspi_* %{_mandir}/man3/Tspi_*
%files static %files static
# The only static library shipped by trousers, the TDDL # The only static library shipped by trousers, the TDDL