- Support --excludedocs (bz 515933)

- Replace broken upstream info dir entry
This commit is contained in:
Jerry James 2009-08-06 15:29:07 +00:00
parent d360c89416
commit 450c59574b

View File

@ -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 <loganjerry@gmail.com> - 0.9.6-5
- Support --excludedocs (bz 515933)
- Replace broken upstream info dir entry
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild