SHA256
3
0
forked from pool/which

Accepting request 400672 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/400672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/which?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2016-07-03 10:17:11 +00:00 committed by Git OBS Bridge
commit d2a6c45112
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 7 12:16:07 UTC 2016 - tchvatal@suse.com
- Move installinfo scriptlet to preun so it won't fail
-------------------------------------------------------------------
Wed Sep 9 12:31:06 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package which
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@ License: GPL-3.0+
Group: System/Base
Url: https://savannah.gnu.org/projects/which/
Source0: http://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
Requires(post): %{install_info_prereq}
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Provides: util-linux:%{_bindir}/which
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -41,12 +41,12 @@ the specified program is in your PATH.
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%post
%install_info --info-dir="%{_infodir}" "%{_infodir}/which.info.gz"
%postun
%preun
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/which.info.gz"
%files