- Support --excludedocs (bz 515933)
- Replace broken upstream info dir entry
This commit is contained in:
parent
d360c89416
commit
450c59574b
14
check.spec
14
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,12 +56,16 @@ 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
|
||||
if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user