- fix preun and post scripts (#517568)
CVS ----------------------------------------------------------------------
This commit is contained in:
parent
9b5426750a
commit
585c9d2728
11
gsl.spec
11
gsl.spec
@ -1,7 +1,7 @@
|
||||
Summary: The GNU Scientific Library for numerical analysis
|
||||
Name: gsl
|
||||
Version: 1.12
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?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,13 +63,13 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
if [ -f %{_infodir}/gsl-ref.info* ]; then
|
||||
if [ -f %{_infodir}/gsl-ref.info.gz ]; then
|
||||
/sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%preun devel
|
||||
if [ "$1" = 0 ]; then
|
||||
if [ -f %{_infodir}/gsl-ref.info* ]; then
|
||||
if [ -f %{_infodir}/gsl-ref.info.gz ]; then
|
||||
/sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
||||
fi
|
||||
fi
|
||||
@ -104,7 +104,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Mon Aug 10 2009 Ivana Varekova <varekova redhat com> - 1.12-5
|
||||
* Mon Aug 17 2009 Ivana Varekova <varekova@redhat.com> - 1.12-6
|
||||
- fix preun and post scripts (#517568)
|
||||
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user