Sync from SUSE:SLFO:Main which revision 8acce322c4ec80ad7a3ee3b33cb511fc

This commit is contained in:
Adrian Schröter 2024-05-04 01:53:24 +02:00
commit 591f61567a
5 changed files with 122 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
which-2.21.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
which-2.21.tar.gz.sig Normal file

Binary file not shown.

35
which.changes Normal file
View File

@ -0,0 +1,35 @@
-------------------------------------------------------------------
Tue Apr 19 13:48:33 UTC 2022 - Marcus Meissner <meissner@suse.com>
- https urls, added signature (but did not find the public key)
-------------------------------------------------------------------
Mon Mar 19 11:57:56 CET 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
-------------------------------------------------------------------
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
- Cleanup spec file with spec-cleaner
- Correct usage of info scriplets
-------------------------------------------------------------------
Sun Mar 22 18:10:34 UTC 2015 - astieger@suse.com
- GNU which 2.21:
* Upgraded code from bash to version 4.3 (now uses eaccess).
* Fixed a bug related to getgroups / sysconfig that caused Which
not to see more than 64 groups for a single user
* Build system maintenance.
- Update project and source URL to GNU project
-------------------------------------------------------------------
Sun Jan 20 19:24:06 UTC 2013 - jengelh@inai.de
- Split "which" off util-linux

61
which.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package which
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: which
Version: 2.21
Release: 0
Summary: Displays where a particular program in your path is located
License: GPL-3.0-or-later
Group: System/Base
URL: https://savannah.gnu.org/projects/which/
Source0: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: https://ftp.gnu.org/pub/gnu/%{name}/%{name}-%{version}.tar.gz.sig
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Provides: util-linux:%{_bindir}/which
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The which command shows the full pathname of a specified program, if
the specified program is in your PATH.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%post
%install_info --info-dir="%{_infodir}" "%{_infodir}/which.info.gz"
%preun
%install_info_delete --info-dir="%{_infodir}" "%{_infodir}/which.info.gz"
%files
%defattr(-,root,root)
%{_bindir}/which
%license COPYING
%doc EXAMPLES README README.alias AUTHORS NEWS
%{_infodir}/which.info*
%{_mandir}/man1/which.1*
%changelog