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

This commit is contained in:
Milos Jakubicek 2011-02-10 08:11:29 +01:00
parent a998c7b196
commit afb5b64b0d

View File

@ -1,7 +1,7 @@
Name: trousers Name: trousers
Summary: TCG's Software Stack v1.2 Summary: TCG's Software Stack v1.2
Version: 0.3.4 Version: 0.3.4
Release: 4%{?dist} Release: 5%{?dist}
License: CPL License: CPL
Group: System Environment/Libraries Group: System Environment/Libraries
Url: http://trousers.sourceforge.net Url: http://trousers.sourceforge.net
@ -51,6 +51,8 @@ applications.
%patch2 %patch2
%build %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 %configure --with-gui=openssl
make -k %{?_smp_mflags} make -k %{?_smp_mflags}
@ -95,8 +97,8 @@ fi
%{_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
%attr(0644, root, root) %{_mandir}/man5/* %doc %{_mandir}/man5/*
%attr(0644, root, root) %{_mandir}/man8/* %doc %{_mandir}/man8/*
%{_initrddir}/tcsd %{_initrddir}/tcsd
%attr(0700, tss, tss) %{_localstatedir}/lib/tpm/ %attr(0700, tss, tss) %{_localstatedir}/lib/tpm/
@ -106,7 +108,7 @@ fi
%attr(0755, root, root) %{_libdir}/libtspi.so %attr(0755, root, root) %{_libdir}/libtspi.so
%{_includedir}/tss/ %{_includedir}/tss/
%{_includedir}/trousers/ %{_includedir}/trousers/
%{_mandir}/man3/Tspi_* %doc %{_mandir}/man3/Tspi_*
%files static %files static
%defattr(-, root, root, -) %defattr(-, root, root, -)
@ -114,6 +116,9 @@ fi
%{_libdir}/libtddl.a %{_libdir}/libtddl.a
%changelog %changelog
* Thu Feb 10 2011 Miloš Jakubíček <xjakub@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@lists.fedoraproject.org> - 0.3.4-4 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild