- fix installation with --excludedocs option (#515971)
This commit is contained in:
parent
11ac49f6b3
commit
9b5426750a
11
gsl.spec
11
gsl.spec
@ -1,7 +1,7 @@
|
||||
Summary: The GNU Scientific Library for numerical analysis
|
||||
Name: gsl
|
||||
Version: 1.12
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
URL: http://www.gnu.org/software/gsl/
|
||||
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
||||
Patch0: gsl-1.10-lib64.patch
|
||||
@ -63,11 +63,15 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%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
|
||||
if [ "$1" = 0 ]; then
|
||||
if [ -f %{_infodir}/gsl-ref.info* ]; then
|
||||
/sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
|
||||
%clean
|
||||
@ -100,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/*.a
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user