commit 33f887576a70324fd681f7e9642bd31e026ea45916a3b5f14908b7076cf36f44 Author: Andreas Jaeger Date: Tue Mar 26 14:44:21 2013 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/which-2.20.tar.bz2 b/which-2.20.tar.bz2 new file mode 100644 index 0000000..f10b8ce --- /dev/null +++ b/which-2.20.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33ca01bb3d801338e4a464367d74eaab24f87041c44c9b5e1150393f1744a3a0 +size 107758 diff --git a/which.changes b/which.changes new file mode 100644 index 0000000..cbdbaf2 --- /dev/null +++ b/which.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Jan 20 19:24:06 UTC 2013 - jengelh@inai.de + +- Split "which" off util-linux diff --git a/which.spec b/which.spec new file mode 100644 index 0000000..aa86545 --- /dev/null +++ b/which.spec @@ -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