[trousers] - Fix paths in man pages, mark them as %%doc -- fix BZ#676394

Miloš Jakubíček mjakubicek at fedoraproject.org
Thu Feb 10 07:11:43 UTC 2011


commit afb5b64b0d7c838a34b03189a7ec6abbbde7030f
Author: Milos Jakubicek <xjakub at fi.muni.cz>
Date:   Thu Feb 10 08:11:29 2011 +0100

    - Fix paths in man pages, mark them as %%doc -- fix BZ#676394

 trousers.spec |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/trousers.spec b/trousers.spec
index a0e6939..4afaae9 100644
--- a/trousers.spec
+++ b/trousers.spec
@@ -1,7 +1,7 @@
 Name: trousers
 Summary: TCG's Software Stack v1.2
 Version: 0.3.4
-Release: 4%{?dist}
+Release: 5%{?dist}
 License: CPL
 Group: System Environment/Libraries
 Url: http://trousers.sourceforge.net
@@ -51,6 +51,8 @@ applications.
 %patch2
 
 %build
+# 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
 %configure --with-gui=openssl
 make -k %{?_smp_mflags}
 
@@ -95,8 +97,8 @@ fi
 %{_libdir}/libtspi.so.?
 %{_libdir}/libtspi.so.?.?.?
 %config(noreplace) %attr(0600, tss, tss) %{_sysconfdir}/tcsd.conf
-%attr(0644, root, root) %{_mandir}/man5/*
-%attr(0644, root, root) %{_mandir}/man8/*
+%doc %{_mandir}/man5/*
+%doc %{_mandir}/man8/*
 %{_initrddir}/tcsd
 %attr(0700, tss, tss) %{_localstatedir}/lib/tpm/
 
@@ -106,7 +108,7 @@ fi
 %attr(0755, root, root) %{_libdir}/libtspi.so
 %{_includedir}/tss/
 %{_includedir}/trousers/
-%{_mandir}/man3/Tspi_*
+%doc %{_mandir}/man3/Tspi_*
 
 %files static
 %defattr(-, root, root, -)
@@ -114,6 +116,9 @@ fi
 %{_libdir}/libtddl.a
 
 %changelog
+* Thu Feb 10 2011 Miloš Jakubíček <xjakub at fi.muni.cz> - 0.3.4-5
+- Fix paths in man pages, mark them as %%doc -- fix BZ#676394
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.4-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list