Accepting request 873204 from home:dimstar:Factory

- Drop info Requires(pre|post) and usage of install_info and
  install_info_delete in the pre/post scriptlets: info files are
  handled by file triggers.

with e2fsprogs gaining a new dep on autoconf-archive, we need to have
it as lean as possible

OBS-URL: https://build.opensuse.org/request/show/873204
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/autoconf-archive?expand=0&rev=39
This commit is contained in:
Dirk Mueller 2021-02-17 20:52:12 +00:00 committed by Git OBS Bridge
parent 80786d2bf7
commit 674eb146c1
2 changed files with 8 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 17 17:22:31 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop info Requires(pre|post) and usage of install_info and
install_info_delete in the pre/post scriptlets: info files are
handled by file triggers.
-------------------------------------------------------------------
Thu Oct 17 13:55:45 UTC 2019 - Richard Brown <rbrown@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package autoconf-archive
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,8 +26,6 @@ Source0: https://ftp.gnu.org/pub/gnu/autoconf-archive/%{name}-%{version}.
Source1: https://ftp.gnu.org/pub/gnu/autoconf-archive/%{name}-%{version}.tar.xz.sig
# http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x99089D72
Source2: %{name}.keyring
Requires(post): info
Requires(pre): info
BuildArch: noarch
%description
@ -60,12 +58,6 @@ rm -rf %{buildroot}/%{_datadir}/%{name}/
# install via macro later
rm -v %{buildroot}%{_docdir}/%{name}/COPYING*
%post
%install_info --info-dir=%{_infodir} %{_infodir}/autoconf-archive.info%{ext_info}
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf-archive.info%{ext_info}
%files
%license COPYING*
%doc AUTHORS README