spec correction

This commit is contained in:
Ondrej Dvoracek 2007-04-03 12:10:59 +00:00
parent 4af87d5ed0
commit 2c6f40c7ea

View File

@ -3,7 +3,7 @@
Summary: A GNU set of database routines which use extensible hashing. Summary: A GNU set of database routines which use extensible hashing.
Name: gdbm Name: gdbm
Version: 1.8.0 Version: 1.8.0
Release: 26.2.1 Release: 27%{?dist}
Source: ftp://ftp.gnu.org/gnu/gdbm-%{version}.tar.gz Source: ftp://ftp.gnu.org/gnu/gdbm-%{version}.tar.gz
Patch0: gdbm-1.8.0-jbj.patch Patch0: gdbm-1.8.0-jbj.patch
Patch1: gdbm-1.8.0-fhs.patch Patch1: gdbm-1.8.0-fhs.patch
@ -72,11 +72,11 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libgdbm.la
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post devel %post devel
/sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm). The GNU Database." /sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm). The GNU Database." || :
%preun devel %preun devel
if [ $1 = 0 ]; then if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm). The GNU Database." /sbin/install-info --delete %{_infodir}/gdbm.info.gz %{_infodir}/dir --entry="* gdbm: (gdbm). The GNU Database." || :
fi fi
%files %files
@ -97,6 +97,9 @@ fi
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
%changelog %changelog
* Tue Apr 3 2007 Ondrej Dvoracek <odvorace@redhat.com> - 1.8.0-27
- made install-info use in scriptlets safe (#223688)
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8.0-26.2.1 * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8.0-26.2.1
- rebuild - rebuild