diff --git a/check.spec b/check.spec index bc666e7..91edd2d 100644 --- a/check.spec +++ b/check.spec @@ -1,6 +1,6 @@ Name: check Version: 0.9.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A unit test framework for C Source0: http://download.sourceforge.net/check/%{name}-%{version}.tar.gz # This patch fixes debian bug 519597: use of -ansi conflicts with strdup() @@ -56,13 +56,17 @@ rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : +if [ -e %{_infodir}/%{name}.info* ]; then + /sbin/install-info \ + --entry='* Check: (check). A unit testing framework for C.' \ + %{_infodir}/%{name}.info %{_infodir}/dir || : +fi %postun -p /sbin/ldconfig %preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : +if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then + /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %files @@ -86,6 +90,10 @@ fi %{_libdir}/libcheck.a %changelog +* Thu Aug 6 2009 Jerry James - 0.9.6-5 +- Support --excludedocs (bz 515933) +- Replace broken upstream info dir entry + * Fri Jul 24 2009 Fedora Release Engineering - 0.9.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild