- Support --excludedocs (bz 515933)
- Replace broken upstream info dir entry
This commit is contained in:
parent
d360c89416
commit
450c59574b
16
check.spec
16
check.spec
@ -1,6 +1,6 @@
|
|||||||
Name: check
|
Name: check
|
||||||
Version: 0.9.6
|
Version: 0.9.6
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: A unit test framework for C
|
Summary: A unit test framework for C
|
||||||
Source0: http://download.sourceforge.net/check/%{name}-%{version}.tar.gz
|
Source0: http://download.sourceforge.net/check/%{name}-%{version}.tar.gz
|
||||||
# This patch fixes debian bug 519597: use of -ansi conflicts with strdup()
|
# This patch fixes debian bug 519597: use of -ansi conflicts with strdup()
|
||||||
@ -56,13 +56,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/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
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -86,6 +90,10 @@ fi
|
|||||||
%{_libdir}/libcheck.a
|
%{_libdir}/libcheck.a
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user