- fix installation with --excludedocs option (#515971)

This commit is contained in:
Ivana Varekova 2009-08-10 14:51:10 +00:00
parent 11ac49f6b3
commit 9b5426750a

View File

@ -1,7 +1,7 @@
Summary: The GNU Scientific Library for numerical analysis Summary: The GNU Scientific Library for numerical analysis
Name: gsl Name: gsl
Version: 1.12 Version: 1.12
Release: 4%{?dist} Release: 5%{?dist}
URL: http://www.gnu.org/software/gsl/ URL: http://www.gnu.org/software/gsl/
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
Patch0: gsl-1.10-lib64.patch Patch0: gsl-1.10-lib64.patch
@ -63,11 +63,15 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post devel %post devel
/sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || : if [ -f %{_infodir}/gsl-ref.info* ]; then
/sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || :
fi
%preun devel %preun devel
if [ "$1" = 0 ]; then if [ "$1" = 0 ]; then
if [ -f %{_infodir}/gsl-ref.info* ]; then
/sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || : /sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
fi
fi fi
%clean %clean
@ -100,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a %{_libdir}/*.a
%changelog %changelog
* Mon Aug 10 2009 Ivana Varekova <varekova redhat com> - 1.12-5
- fix installation with --excludedocs option (#515971)
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild