- fix preun and post scripts (#517568)

CVS ----------------------------------------------------------------------
This commit is contained in:
Ivana Varekova 2009-08-17 08:39:59 +00:00
parent 9b5426750a
commit 585c9d2728

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: 5%{?dist} Release: 6%{?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,13 +63,13 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post devel %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 || : /sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || :
fi fi
%preun devel %preun devel
if [ "$1" = 0 ]; then 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 || : /sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
fi fi
fi fi
@ -104,7 +104,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a %{_libdir}/*.a
%changelog %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) - 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