which/which.spec

78 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 11:19:52 -04:00
Name: which
Version: 2.21
2024-11-21 11:38:26 +08:00
Release: 18
2019-09-30 11:19:52 -04:00
Summary: Show the full path of commands
License: GPLv3
URL: https://savannah.gnu.org/projects/which/
Source0: http://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.gz
2024-04-30 14:25:06 +08:00
Patch1: 0001-which-fails-for-long-path.patch
2024-11-21 11:38:26 +08:00
Patch2: 0002-coverity-fixes.patch
2024-04-30 14:25:06 +08:00
2024-05-10 15:58:10 +08:00
BuildRequires: gcc
2019-09-30 11:19:52 -04:00
%description
Which takes one or more arguments. For each of its arguments it prints to stdout
the full path of the executables that would have been executed when this argument
had been entered at the shell prompt.
%package help
Summary: Help files for which
%description help
Contains documents and manuals files for which
%prep
2024-05-10 15:58:10 +08:00
%autosetup -n %{name}-%{version} -p1
2019-09-30 11:19:52 -04:00
%build
%configure
%make_build
%install
%make_install
rm -f %{buildroot}/%{_datadir}/info/dir
%files
2019-11-06 19:56:03 +08:00
%license COPYING AUTHORS
2019-09-30 11:19:52 -04:00
%{_bindir}/%{name}
%files help
%doc EXAMPLES NEWS README
%{_mandir}/man1/%{name}.1.gz
%{_datadir}/info/%{name}.info.gz
%changelog
2024-11-21 11:38:26 +08:00
* Thu Nov 21 2024 Deyuan Fan <fandeyuan@kylinos.cn> - 2.21-18
- fixed coverity issues
2024-04-30 14:25:06 +08:00
* Mon May 13 2024 Deyuan Fan <fandeyuan@kylinos.cn> - 2.21-17
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: fix:which fails for long path
2024-05-10 15:58:10 +08:00
* Fri May 10 2024 wubijie <wubijie@kylinos.cn> -2.21-16
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary -S git
2022-05-07 17:56:36 +08:00
* Mon May 16 2022 konglidong <konglidong@uniontech.com> - 2.21-15
- modify bogus date in %changelog
2020-01-08 16:24:19 +08:00
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.21-14
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: remove unnecessary files
2022-05-07 17:56:36 +08:00
* Thu Oct 10 2019 luhuaxin <luhuaxin@huawei.com> - 2.21-13
2019-11-06 19:56:03 +08:00
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: move AUTHORS to license folder
2019-09-30 11:19:52 -04:00
* Wed Aug 28 2019 luhuaxin <luhuaxin@huawei.com> - 2.21-12
- Package init