SHA256
3
0
forked from pool/which

Split util-linux for SRPM clarity (resend of sr#149338)

OBS-URL: https://build.opensuse.org/package/show/Base:System/which?expand=0&rev=1
This commit is contained in:
Andreas Jaeger 2013-03-26 14:44:21 +00:00 committed by Git OBS Bridge
commit 33f887576a
5 changed files with 91 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
which-2.20.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33ca01bb3d801338e4a464367d74eaab24f87041c44c9b5e1150393f1744a3a0
size 107758

4
which.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sun Jan 20 19:24:06 UTC 2013 - jengelh@inai.de
- Split "which" off util-linux

60
which.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package which
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: which
Version: 2.20
Release: 0
Summary: Displays where a particular program in your path is located
License: GPL-3.0+
Group: System/Base
Url: http://carlo17.home.xs4all.nl/which/
#DL-URL: http://carlo17.home.xs4all.nl/which/%name-%version.tar.gz
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
Provides: util-linux:/usr/bin/which
%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 install DESTDIR="%buildroot"
%post
%install_info --info-dir="%_infodir" "%_infodir/which.info.gz"
%postun
%install_info_delete --info-dir="%_infodir" "%_infodir/which.info.gz"
%files
%defattr(-,root,root)
%_bindir/which
%doc EXAMPLES COPYING README README.alias
%_infodir/which.info*
%_mandir/man1/which.1*
%changelog