SHA256
3
0
forked from pool/libtool

Accepting request 373848 from home:dimstar:Factory

- Fix install_info_{install,delete} usage: install-info does not
  allow file globbing.

This fixes issues seen in the buildroot as well when uninstalling libtool:

[  102s]     (order: reverse libltdl7-debuginfo libtool-debugsource libltdl7 libtool)
[  102s] install-info: excess command line argument `/usr/share/info/libtool.info-2.gz'
[  102s] install-info: excess command line argument `/usr/share/info/libtool.info.gz'

OBS-URL: https://build.opensuse.org/request/show/373848
OBS-URL: https://build.opensuse.org/package/show/Base:System/libtool?expand=0&rev=74
This commit is contained in:
Marcus Meissner 2016-03-18 10:08:19 +00:00 committed by Git OBS Bridge
parent 8ba71506b4
commit 273243def1
4 changed files with 24 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 16 15:29:34 UTC 2016 - dimstar@opensuse.org
- Fix install_info_{install,delete} usage: install-info does not
allow file globbing.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 6 12:02:32 CEST 2015 - pth@suse.de Thu Aug 6 12:02:32 CEST 2015 - pth@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libtool-testsuite # spec file for package libtool-testsuite
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -92,9 +92,13 @@ chmod +x %{buildroot}%{_datadir}/libtool/build-aux/ltmain.sh
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/libtool.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info-1.gz
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info-2.gz
%preun %preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info*.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info-1.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info-2.gz
%post -n libltdl7 -p /sbin/ldconfig %post -n libltdl7 -p /sbin/ldconfig

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 16 15:29:34 UTC 2016 - dimstar@opensuse.org
- Fix install_info_{install,delete} usage: install-info does not
allow file globbing.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 6 12:02:32 CEST 2015 - pth@suse.de Thu Aug 6 12:02:32 CEST 2015 - pth@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libtool # spec file for package libtool
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -92,9 +92,13 @@ chmod +x %{buildroot}%{_datadir}/libtool/build-aux/ltmain.sh
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/libtool.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info-1.gz
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info-2.gz
%preun %preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info*.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info-1.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info-2.gz
%post -n libltdl7 -p /sbin/ldconfig %post -n libltdl7 -p /sbin/ldconfig