[trousers] spec file clean up

Steve Grubb sgrubb at fedoraproject.org
Mon Jun 2 20:35:42 UTC 2014


commit b9345b286f950c21ef15658ba5e9a493d5d03e73
Author: sgrubb <sgrubb at redhat.com>
Date:   Mon Jun 2 16:35:25 2014 -0400

    spec file clean up

 trousers.spec |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/trousers.spec b/trousers.spec
index 4a17a58..cce51b6 100644
--- a/trousers.spec
+++ b/trousers.spec
@@ -45,11 +45,10 @@ applications.
 
 %prep
 %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
 
 %build
-# fix man page paths
 %configure --with-gui=openssl
 make -k %{?_smp_mflags}
 
@@ -84,8 +83,8 @@ exit 0
 %{_libdir}/libtspi.so.?
 %{_libdir}/libtspi.so.?.?.?
 %config(noreplace) %attr(0600, tss, tss) %{_sysconfdir}/tcsd.conf
-%doc %{_mandir}/man5/*
-%doc %{_mandir}/man8/*
+%{_mandir}/man5/*
+%{_mandir}/man8/*
 %attr(644,root,root) %{_unitdir}/tcsd.service
 %attr(0700, tss, tss) %{_localstatedir}/lib/tpm/
 
@@ -95,7 +94,7 @@ exit 0
 %attr(0755, root, root) %{_libdir}/libtspi.so
 %{_includedir}/tss/
 %{_includedir}/trousers/
-%doc %{_mandir}/man3/Tspi_*
+%{_mandir}/man3/Tspi_*
 
 %files static
 # The only static library shipped by trousers, the TDDL


More information about the scm-commits mailing list