3
0
forked from pool/libgcrypt

Accepting request 284554 from home:dimstar:Factory

- Move %install_info_delete calls from postun to preun: the files
  must still be present to be parsed.
- Fix the names passed to install_info for gcrypt.info-[12].gz
  instead of gcrypt-[12].info.gz.

  via xtrymalloc macro

OBS-URL: https://build.opensuse.org/request/show/284554
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=68
This commit is contained in:
Stephan Kulow 2015-02-06 18:56:29 +00:00 committed by Git OBS Bridge
parent f3deb426aa
commit f5c7e834a5
2 changed files with 10 additions and 2 deletions

View File

@ -5,6 +5,14 @@ Fri Feb 6 18:42:28 UTC 2015 - coolo@suse.com
http://lists.gnupg.org/pipermail/gnupg-commits/2014-September/010683.html http://lists.gnupg.org/pipermail/gnupg-commits/2014-September/010683.html
for a very similiar problem for a very similiar problem
-------------------------------------------------------------------
Fri Feb 6 18:38:55 UTC 2015 - dimstar@opensuse.org
- Move %install_info_delete calls from postun to preun: the files
must still be present to be parsed.
- Fix the names passed to install_info for gcrypt.info-[12].gz
instead of gcrypt-[12].info.gz.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 6 18:30:26 UTC 2015 - coolo@suse.com Fri Feb 6 18:30:26 UTC 2015 - coolo@suse.com

View File

@ -249,7 +249,7 @@ mv %{buildroot}%{_bindir}/drbg_test %{buildroot}%{cavs_dir}
%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info-1.gz %install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info-1.gz
%install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info-2.gz %install_info --info-dir=%{_infodir} %{_infodir}/gcrypt.info-2.gz
%postun devel %preun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info-1.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info-1.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info-2.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/gcrypt.info-2.gz