- make use of install-info more failsafe (Ville Skyttä, #223705)
This commit is contained in:
parent
ceacccac2a
commit
2b15591ea4
@ -1,6 +1,6 @@
|
|||||||
Name: libgcrypt
|
Name: libgcrypt
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
|
Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
|
||||||
Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
|
Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
|
||||||
Source2: wk@g10code.com
|
Source2: wk@g10code.com
|
||||||
@ -57,11 +57,13 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
/sbin/install-info %{_infodir}/gcrypt.info.gz %{_infodir}/dir
|
/sbin/install-info %{_infodir}/gcrypt.info.gz %{_infodir}/dir
|
||||||
|
exit 0
|
||||||
|
|
||||||
%preun devel
|
%preun devel
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
/sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir
|
/sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir
|
||||||
fi
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -80,6 +82,9 @@ fi
|
|||||||
%{_infodir}/gcrypt.info*
|
%{_infodir}/gcrypt.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.2.3-2
|
||||||
|
- make use of install-info more failsafe (Ville Skyttä, #223705)
|
||||||
|
|
||||||
* Fri Sep 1 2006 Nalin Dahyabhai <nalin@redhat.com> - 1.2.3-1
|
* Fri Sep 1 2006 Nalin Dahyabhai <nalin@redhat.com> - 1.2.3-1
|
||||||
- update to 1.2.3
|
- update to 1.2.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user