Blame SPECS/which.spec

abae04
Summary: Displays where a particular program in your path is located
abae04
Name: which
abae04
Version: 2.21
abae04
Release: 27%{?dist}
abae04
License: GPLv3
abae04
Source0: http://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.gz
abae04
Source1: which2.sh
abae04
Source2: which2.csh
abae04
Patch0: which-2.21-coverity-fixes.patch
abae04
Url: https://savannah.gnu.org/projects/which/
abae04
BuildRequires: make
abae04
BuildRequires:  gcc
abae04
BuildRequires: readline-devel
abae04
abae04
%description
abae04
The which command shows the full pathname of a specified program, if
abae04
the specified program is in your PATH.
abae04
abae04
%prep
abae04
%setup -q
abae04
%patch0 -p1 -b .coverity
abae04
abae04
%build
abae04
%configure
abae04
%make_build
abae04
abae04
%install
abae04
%make_install
abae04
abae04
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/profile.d
abae04
install -p -m 644 %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
abae04
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
abae04
abae04
%files
abae04
%license COPYING
abae04
%doc EXAMPLES README AUTHORS NEWS
abae04
%attr(0644,root,root) %{_sysconfdir}/profile.d/which2.*
abae04
%{_bindir}/which
abae04
%{_infodir}/which.info*
abae04
%{_mandir}/man1/which.1*
abae04
abae04
%changelog
abae04
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.21-27
abae04
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
abae04
  Related: rhbz#1991688
abae04
abae04
* Fri May 07 2021 Than Ngo <than@redhat.com> - 2.21-26
abae04
- Related: #1940464, fixed unbound variable
abae04
abae04
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.21-25
abae04
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
abae04
abae04
* Tue Mar 23 2021 Than Ngo <than@redhat.com> - 2.21-24
abae04
- fix regression in zsh
abae04
abae04
* Sun Mar 21 2021 Than Ngo <than@redhat.com> - 2.21-23
abae04
- improved which2.sh
abae04
abae04
* Thu Mar 18 2021 Than Ngo <than@redhat.com> - 2.21-22
abae04
- Resolves: #1940464, fixed syntax error testcase: a=b which ls
abae04
abae04
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-21
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
abae04
abae04
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-20
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
abae04
abae04
* Wed Mar 25 2020 Than Ngo <than@redhat.com> - 2.21-19
abae04
- fixed #1817138 - Invalid syntax in /etc/profile.d/which2
abae04
abae04
* Tue Mar 24 2020 Than Ngo <than@redhat.com> - 2.21-18
abae04
- set correct alias for mksh
abae04
abae04
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-17
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
abae04
abae04
* Tue Nov 05 2019 Than Ngo <than@redhat.com> - 2.21-16
abae04
- set correct alias for ksh
abae04
abae04
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-15
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
abae04
abae04
* Mon Feb 04 2019 Than Ngo <than@redhat.com> - 2.21-14
abae04
- bump release 
abae04
abae04
* Mon Feb 04 2019 Than Ngo <than@redhat.com> - 2.21-13
abae04
- bump release
abae04
abae04
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-12
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
abae04
abae04
* Thu Jul 26 2018 Than Ngo <than@redhat.com> - 2.21-11
abae04
- fixed more coverity issue
abae04
abae04
* Mon Jul 23 2018 Than Ngo <than@redhat.com> - 2.21-10
abae04
- Fix coverity issues
abae04
abae04
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-9
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
abae04
abae04
* Fri Feb 16 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.21-8
abae04
- Fix invalid [ ... ] syntax which results in complaints by zsh.
abae04
  https://bugzilla.redhat.com/show_bug.cgi?id=1546221
abae04
- Remove pointless Group tag, buildroot cleaning and %%defattr.
abae04
abae04
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-7
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
abae04
abae04
* Mon Feb 05 2018 Than Ngo <than@redhat.com> - 2.21-6
abae04
- added CI tests using the standard test interface
abae04
abae04
* Wed Jan 31 2018 Than Ngo <than@redhat.com> - 2.21-5
abae04
- fixed bz#1526500 - 'declare' not found under ksh
abae04
abae04
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-4
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
abae04
abae04
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-3
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
abae04
abae04
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.21-2
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
abae04
abae04
* Mon Jun 27 2016 Than Ngo <than@redhat.com> - 2.21-1
abae04
- update to 2.21
abae04
abae04
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.20-13
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
abae04
abae04
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-12
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
abae04
abae04
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.20-11
abae04
- Rebuilt for Fedora 23 Change
abae04
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
abae04
abae04
* Thu Feb 19 2015 Till Maas <opensource@till.name> - 2.20-10
abae04
- Use alias instead of exported function for which to avoid bashism,
abae04
http://unix.stackexchange.com/questions/59360/#59431
abae04
abae04
* Wed Feb 18 2015 Till Maas <opensource@till.name> - 2.20-9
abae04
- Check functions (#1194044)
abae04
- Use %%license
abae04
abae04
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-8
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
abae04
abae04
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-7
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
abae04
abae04
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-6
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
abae04
abae04
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-5
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
abae04
abae04
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-4
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
abae04
abae04
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-3
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
abae04
abae04
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.20-2
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
abae04
abae04
* Wed Jan 19 2011 Than Ngo <than@redhat.com> - 2.20-1
abae04
- 2.2.0
abae04
- disable alias which for cshell
abae04
abae04
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19-5
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
abae04
abae04
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.19-4
abae04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
abae04
abae04
* Thu Mar 06 2008 Warren Togami <wtogami@redhat.com> 2.19-3
abae04
- install-info should exit gracefully when --nodocs
abae04
abae04
* Fri Feb 15 2008 Than Ngo <than@redhat.com> 2.19-2
abae04
- rebuilt
abae04
abae04
* Fri Jan 25 2008 Than Ngo <than@redhat.com> 2.19-1
abae04
- 2.19, fix #399551, #430159
abae04
abae04
* Tue Nov 27 2007 Than Ngo <than@redhat.com> - 2.18-5
abae04
- fix permission which-2 scripts
abae04
abae04
* Tue Nov 27 2007 Than Ngo <than@redhat.com> 2.18-4
abae04
- fix permission which-2 scripts
abae04
abae04
* Mon Nov 26 2007 Karsten Hopp <karsten@redhat.com> 2.18-3
abae04
- add dir entry for info page
abae04
abae04
* Tue Nov 20 2007 Than Ngo <than@redhat.com> 2.18-2
abae04
- cleanup specfile
abae04
abae04
* Tue Nov 13 2007 Than Ngo <than@redhat.com> 2.18-1
abae04
- 2.18
abae04
abae04
* Tue Nov 13 2007 Than Ngo <than@redhat.com> 2.16-10
abae04
- cleanup specfile
abae04
- get rid of dev dependency
abae04
abae04
* Mon Apr 23 2007 Than Ngo <than@redhat.com> - 2.16-9
abae04
- add missing which-2 script for csh
abae04
- cleanup specfile #226539
abae04
abae04
* Mon Jan 22 2007 Than Ngo <than@redhat.com> - 2.16-8
abae04
- install-info scriptlet failures
abae04
abae04
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 2.16-7
abae04
- rebuild
abae04
abae04
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.16-6.2.1
abae04
- bump again for double-long bug on ppc(64)
abae04
abae04
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.16-6.2
abae04
- rebuilt for new gcc4.1 snapshot and glibc changes
abae04
abae04
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
abae04
- rebuilt
abae04
abae04
* Mon Mar 07 2005 Than Ngo <than@redhat.com> 2.16-6
abae04
- rebuilt
abae04
abae04
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 2.16-5
abae04
- rebuilt
abae04
abae04
* Sat Aug 07 2004 Than Ngo <than@redhat.com> 2.16-4
abae04
- add missing URL (thanks to  Robert Scheck)
abae04
abae04
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
abae04
- rebuilt
abae04
abae04
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
abae04
- rebuilt
abae04
abae04
* Wed Sep 24 2003 Florian La Roche <Florian.LaRoche@redhat.de>
abae04
- update to 2.16
abae04
- fix %%preun
abae04
abae04
* Thu Jul 17 2003 Than Ngo <than@redhat.com> 2.14-8
abae04
- rebuild
abae04
abae04
* Thu Jul 17 2003 Than Ngo <than@redhat.com> 2.14-7
abae04
- added Prereq: dev (bug #99275)
abae04
abae04
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
abae04
- rebuilt
abae04
abae04
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
abae04
- rebuilt
abae04
abae04
* Tue Dec 10 2002 Than Ngo <than@redhat.com> 2.14-4
abae04
- cleanup code (bug #78478)
abae04
abae04
* Thu Nov 14 2002 Tim Powers <timp@redhat.com> 2.14-3
abae04
- redirect info dir warnings to /dev/null
abae04
abae04
* Thu Nov  7 2002 Than Ngo <than@redhat.com> 2.14-1
abae04
- add missing info file
abae04
abae04
* Mon Jul 29 2002 Florian La Roche <Florian.LaRoche@redhat.de>
abae04
- update to 2.14 wih better support for current bash
abae04
abae04
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
abae04
- automated rebuild
abae04
abae04
* Thu May 23 2002 Tim Powers <timp@redhat.com>
abae04
- automated rebuild
abae04
abae04
* Wed Feb 27 2002 Than Ngo <than@redhat.com> 2.13-3
abae04
- use access instead stat in AFS environment (bug #60353)
abae04
abae04
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
abae04
- automated rebuild
abae04
abae04
* Wed Dec 05 2001 Florian La Roche <Florian.LaRoche@redhat.de>
abae04
- update to 2.13
abae04
abae04
* Sat Aug  4 2001 Than Ngo <than@redhat.com>
abae04
- fix bug 50844
abae04
abae04
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
abae04
- Bump release + rebuild.
abae04
abae04
* Sun Sep 10 2000 Florian La Roche <Florian.LaRoche@redhat.de>
abae04
- 2.12 (only man-page fix)
abae04
abae04
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
abae04
- automatic rebuild
abae04
abae04
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
abae04
- FHS packaging.
abae04
abae04
* Sun May 21 2000 Ngo Than <than@redhat.de>
abae04
- put man pages in /usr/share/man/*
abae04
abae04
* Thu Apr 20 2000 Florian La Roche <Florian.LaRoche@redhat.de>
abae04
- update to 2.11
abae04
- change from root:bin -> root:root
abae04
abae04
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
abae04
- rebuild to gzip man page
abae04
abae04
* Sun Jan 16 2000 Preston Brown <pbrown@redhat.com>
abae04
- newer stuff rom Carlo (2.10).  Author's email: carlo@gnu.org
abae04
abae04
* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
abae04
- adopted Carlo's specfile.
abae04
abae04
* Fri Sep 24 1999 Carlo Wood <carlo@gnu.org>
abae04
- There should not be a reason anymore to include README.alias in the rpm docs.
abae04
- Don't install as root.root in RPM_BUILD_ROOT, in order to allow to build
abae04
  rpm as non-root.
abae04
- Bug fix
abae04
- Added /etc/profile.d for automatic alias inclusion.
abae04
abae04
* Wed Aug 25 1999 Carlo Wood <carlo@gnu.org>
abae04
- Added README.alias.
abae04
abae04
* Wed Aug 11 1999 Carlo Wood <carlo@gnu.org>
abae04
- Typo in comment.
abae04
abae04
* Thu May 27 1999 Carlo Wood <carlo@gnu.org>
abae04
- Typo fix
abae04
- Moved maintainer targets from makefile to Makefile.am.
abae04
abae04
* Tue May 18 1999 Carlo Wood <carlo@gnu.org>
abae04
- Typo in appended changelog.
abae04
- Appended the old change log of `which-2.0.spec' to (this) changelog,
abae04
  which is generated from the CVS log of `which-2.0.spec.in'.
abae04
- Generate which-2.spec from which-2.spec.in with automatic VERSION
abae04
  and CHANGELOG substitution.
abae04
abae04
* Fri May 14 1999 Carlo Wood <carlo@gnu.org>
abae04
- Moved assignment of CFLAGS to the configure line, using RPM_OPT_FLAGS now.
abae04
- Corrected Source: line to point to ftp.gnu.org.
abae04
abae04
* Sat Apr 17 1999 Carlo Wood <carlo@gnu.org>
abae04
- Started to use automake and autoconf
abae04
abae04
* Fri Apr 09 1999 Carlo Wood <carlo@gnu.org>
abae04
- Renamed which-2.0.spec to which-2.spec
abae04