Accepting request 606633 from home:1Antoine1:branches:Base:System

- Fix %install_info_delete usage:
  * It has to be performed in %preun not in %postun.
  * See https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25install_info_delete.

OBS-URL: https://build.opensuse.org/request/show/606633
OBS-URL: https://build.opensuse.org/package/show/Base:System/libgpg-error?expand=0&rev=70
This commit is contained in:
Tomáš Chvátal 2018-05-12 11:55:50 +00:00 committed by Git OBS Bridge
parent b0cc4762a2
commit 46bbdb9e6f
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat May 12 11:38:30 UTC 2018 - antoine.belvire@opensuse.org
- Fix %install_info_delete usage:
* It has to be performed in %preun not in %postun.
* See https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros#.25install_info_delete.
-------------------------------------------------------------------
Wed May 2 18:48:17 UTC 2018 - astieger@suse.com

View File

@ -83,11 +83,13 @@ make check %{?_smp_mflags}
%{buildroot}/%{_bindir}/gpg-error-config --mt --libs | grep -q "\-lpthread"
%post -n libgpg-error0 -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/gpgrt.info.gz
%postun -n libgpg-error0 -p /sbin/ldconfig
%postun devel
%preun devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gpgrt.info.gz
%files -n libgpg-error0 -f %{name}.lang