Blame SPECS/tree-pkg.spec

1c2cc5
Summary: File system tree viewer
1c2cc5
Name: tree-pkg
1c2cc5
Version: 1.8.0
1c2cc5
Release: 10%{?dist}
1c2cc5
1c2cc5
# The entire source code is GPLv2+ except strverscmp.c which is LGPLv2+
1c2cc5
License: GPLv2+ and LGPLv2+
1c2cc5
1c2cc5
URL: http://mama.indstate.edu/users/ice/tree/
1c2cc5
Source: ftp://mama.indstate.edu/linux/tree/tree-%{version}.tgz
1c2cc5
1c2cc5
BuildRequires: gcc
1c2cc5
BuildRequires: make
1c2cc5
1c2cc5
# prevent rpmlint from reporting incorrect-fsf-address
1c2cc5
# Sent upstream via email 20210920
1c2cc5
Patch0: tree-license-fsf-addr.patch
1c2cc5
1c2cc5
# Preserve timestamp on man page.
1c2cc5
# Sent upstream via email 20210920
1c2cc5
Patch2: tree-preserve-timestamps.patch
1c2cc5
1c2cc5
# Document --du and --prune options in help output (bug #948991).
1c2cc5
# Sent upstream via email 20210920
1c2cc5
Patch4: tree-args.patch
1c2cc5
1c2cc5
# Use correct default for dircolors "ec" field (bug #812934).
1c2cc5
# Sent upstream via email 20210920
1c2cc5
Patch6: tree-dircolors-ec.patch
1c2cc5
1c2cc5
# Keep file size field length constant regardless of whether SI units
1c2cc5
# are used (bug #997937).
1c2cc5
# Sent upstream via email 20210920
1c2cc5
Patch7: tree-size-field-len.patch
1c2cc5
1c2cc5
# fix programming mistakes detected by static analysis
1c2cc5
# Sent upstream via email 20181106
1c2cc5
Patch8: tree-static-analysis.patch
1c2cc5
1c2cc5
%description
1c2cc5
The source RPM package of tree, which has to be named differently due to
1c2cc5
limitations of Pagure and Gitlab.
1c2cc5
1c2cc5
%package -n tree
1c2cc5
Summary: File system tree viewer
1c2cc5
1c2cc5
%description -n tree
1c2cc5
The tree utility recursively displays the contents of directories in a
1c2cc5
tree-like format.  Tree is basically a UNIX port of the DOS tree
1c2cc5
utility.
1c2cc5
1c2cc5
%prep
1c2cc5
%autosetup -p1 -n tree-%{version}
1c2cc5
1c2cc5
# do not escape UTF-8 chars in file names by default in UTF-8 locale (#1480778)
1c2cc5
sed -e 's/LINUX/__linux__/' -i tree.c
1c2cc5
1c2cc5
%build
1c2cc5
%set_build_flags
1c2cc5
%make_build CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)"
1c2cc5
1c2cc5
%install
1c2cc5
mkdir -p $RPM_BUILD_ROOT%{_bindir}
1c2cc5
1c2cc5
%make_install BINDIR=$RPM_BUILD_ROOT%{_bindir} \
1c2cc5
	      MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
1c2cc5
1c2cc5
chmod -x $RPM_BUILD_ROOT%{_mandir}/man1/tree.1
1c2cc5
1c2cc5
%files -n tree
1c2cc5
%{_bindir}/tree
1c2cc5
%{_mandir}/man1/tree.1*
1c2cc5
%license LICENSE
1c2cc5
%doc README
1c2cc5
1c2cc5
%changelog
1c2cc5
* Fri Sep 17 2021 Kamil Dudka <kdudka@redhat.com> - 1.8.0-10
1c2cc5
- reflect review comments from Fedora Review (#2001467)
1c2cc5
1c2cc5
* Fri Sep 03 2021 Kamil Dudka <kdudka@redhat.com> - 1.8.0-8
1c2cc5
- source package renamed to tree-pkg to make it work with Pagure and Gitlab
1c2cc5
1c2cc5
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-7
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
1c2cc5
1c2cc5
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-6
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1c2cc5
1c2cc5
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1c2cc5
1c2cc5
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1c2cc5
1c2cc5
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1c2cc5
1c2cc5
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1c2cc5
1c2cc5
* Thu Dec 13 2018 Kamil Dudka <kdudka@redhat.com> - 1.8.0-1
1c2cc5
- update to the latest upstream release
1c2cc5
1c2cc5
* Wed Nov 07 2018 Kamil Dudka <kdudka@redhat.com> - 1.7.0-16
1c2cc5
- fix programming mistakes detected by static analysis
1c2cc5
1c2cc5
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-15
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1c2cc5
1c2cc5
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 1.7.0-14
1c2cc5
- Use LDFLAGS from redhat-rpm-config
1c2cc5
1c2cc5
* Mon Feb 19 2018 Kamil Dudka <kdudka@redhat.com> - 1.7.0-13
1c2cc5
- add explicit BR for the gcc compiler
1c2cc5
1c2cc5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-12
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1c2cc5
1c2cc5
* Mon Aug 14 2017 Kamil Dudka <kdudka@redhat.com> - 1.7.0-11
1c2cc5
- do not escape UTF-8 chars in file names by default in UTF-8 locale (#1480778)
1c2cc5
- modernize spec file (Group, BuildRoot, autosetup, clean, defattr)
1c2cc5
1c2cc5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1c2cc5
1c2cc5
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-9
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1c2cc5
1c2cc5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1c2cc5
1c2cc5
* Thu Sep 01 2016 Kamil Dudka <kdudka@redhat.com> - 1.7.0-7
1c2cc5
- drop a non-upstream patch that disabled color output by default (#1284657)
1c2cc5
1c2cc5
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-6
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1c2cc5
1c2cc5
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-5
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1c2cc5
1c2cc5
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.7.0-4
1c2cc5
- Rebuilt for Fedora 23 Change
1c2cc5
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
1c2cc5
1c2cc5
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-3
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1c2cc5
1c2cc5
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-2
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1c2cc5
1c2cc5
* Fri Apr 25 2014 Tim Waugh <twaugh@redhat.com> - 1.7.0-1
1c2cc5
- 1.7.0 (bug #1090962).
1c2cc5
1c2cc5
* Fri Aug 16 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-11
1c2cc5
- Keep file size field length constant regardless of whether SI units
1c2cc5
  are used (bug #997937).
1c2cc5
1c2cc5
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-10
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1c2cc5
1c2cc5
* Tue Jul  9 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-9
1c2cc5
- Use correct default for dircolors "ec" field (bug #812934).
1c2cc5
1c2cc5
* Thu Jul  4 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-8
1c2cc5
- Handle large UID/GID values (bug #980945).
1c2cc5
1c2cc5
* Thu Apr 11 2013 Tim Waugh <twaugh@redhat.com> - 1.6.0-7
1c2cc5
- Document --du and --prune options in help output (bug #948991).
1c2cc5
1c2cc5
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-6
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1c2cc5
1c2cc5
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-5
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1c2cc5
1c2cc5
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-4
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1c2cc5
1c2cc5
* Mon Dec  5 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-3
1c2cc5
- Put LFS_CFLAGS in CFLAGS not CPPFLAGS so they actually get used
1c2cc5
  (bug #769655).
1c2cc5
1c2cc5
* Mon Jul  4 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-2
1c2cc5
- Don't strip the binary too early (bug #718456).
1c2cc5
1c2cc5
* Mon Jun 27 2011 Tim Waugh <twaugh@redhat.com> 1.6.0-1
1c2cc5
- 1.6.0 (bug #716879).
1c2cc5
1c2cc5
* Fri May 20 2011 Tim Waugh <twaugh@redhat.com> 1.5.3-4
1c2cc5
- Fixed memory leak spotted by coverity (bug #704570).
1c2cc5
1c2cc5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-3
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1c2cc5
1c2cc5
* Wed Mar  3 2010 Tim Waugh <twaugh@redhat.com> 1.5.3-2
1c2cc5
- Added comments to all patches.
1c2cc5
1c2cc5
* Fri Nov 27 2009 Tim Waugh <twaugh@redhat.com> 1.5.3-1
1c2cc5
- 1.5.3 (bug #517342, bug #541255).
1c2cc5
1c2cc5
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2.2-4
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1c2cc5
1c2cc5
* Wed Jun 10 2009 Tim Waugh <twaugh@redhat.com> 1.5.2.2-3
1c2cc5
- Reinstate no-color-by-default patch (bug #504245).
1c2cc5
1c2cc5
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.2.2-2
1c2cc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1c2cc5
1c2cc5
* Tue Jan 27 2009 Tim Waugh <twaugh@redhat.com> 1.5.2.2-1
1c2cc5
- 1.5.2.2.
1c2cc5
1c2cc5
* Mon Nov 24 2008 Tim Waugh <twaugh@redhat.com> 1.5.2.1-2
1c2cc5
- Better summary.
1c2cc5
1c2cc5
* Tue Sep  2 2008 Tim Waugh <twaugh@redhat.com> 1.5.2.1-1
1c2cc5
- Removed patch fuzz.
1c2cc5
- 1.5.2.1.
1c2cc5
1c2cc5
* Mon Jun 16 2008 Tim Waugh <twaugh@redhat.com> 1.5.2-1
1c2cc5
- 1.5.2.
1c2cc5
- Dropped no-colour patch.
1c2cc5
1c2cc5
* Thu Jun  5 2008 Tim Waugh <twaugh@redhat.com> 1.5.1.2-1
1c2cc5
- 1.5.1.2.
1c2cc5
1c2cc5
* Fri Apr 25 2008 Tim Waugh <twaugh@redhat.com> 1.5.1.1-1
1c2cc5
- 1.5.1.1.
1c2cc5
1c2cc5
* Mon Feb 11 2008 Tim Waugh <twaugh@redhat.com> 1.5.0-9
1c2cc5
- Rebuild for GCC 4.3.
1c2cc5
1c2cc5
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-8
1c2cc5
- More specific license tag.
1c2cc5
1c2cc5
* Wed Feb  7 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-7
1c2cc5
- Current version no longer ships binary, so don't try removing
1c2cc5
  it (bug #226503).
1c2cc5
1c2cc5
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 1.5.0-6
1c2cc5
- Preserve timestamps on install (bug #226503).
1c2cc5
- Added SMP flags (bug #226503).
1c2cc5
- Removed Prefix: tag (bug #226503).
1c2cc5
- Removed bogus mkdir call (bug #226503).
1c2cc5
- Ship the LICENSE file (bug #226503).
1c2cc5
- Fixed summary (bug #226503).
1c2cc5
1c2cc5
* Fri Dec 15 2006 Tim Waugh <twaugh@redhat.com> 1.5.0-5
1c2cc5
- Fixed '--charset' option (bug #188884).
1c2cc5
1c2cc5
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-4
1c2cc5
- rebuild
1c2cc5
1c2cc5
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-3.2.1
1c2cc5
- bump again for double-long bug on ppc(64)
1c2cc5
1c2cc5
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0-3.2
1c2cc5
- rebuilt for new gcc4.1 snapshot and glibc changes
1c2cc5
1c2cc5
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
1c2cc5
- rebuilt
1c2cc5
1c2cc5
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 1.5.0-3
1c2cc5
- Rebuild for new GCC.
1c2cc5
1c2cc5
* Sun Dec 05 2004 Florian La Roche <laroche@redhat.com>
1c2cc5
- add quotes around CPPFLAGS
1c2cc5
1c2cc5
* Mon Sep 13 2004 Tim Waugh <twaugh@redhat.com> 1.5.0-1
1c2cc5
- 1.5.0 (bug #131854).
1c2cc5
- No longer need utf8 or gcc34 patches.
1c2cc5
1c2cc5
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
1c2cc5
- rebuilt
1c2cc5
1c2cc5
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
1c2cc5
- rebuilt
1c2cc5
1c2cc5
* Thu Feb  5 2004 Tim Waugh <twaugh@redhat.com> 1.4b3-2
1c2cc5
- Fixed compilation with GCC 3.4.
1c2cc5
1c2cc5
* Wed Aug 13 2003 Tim Waugh <twaugh@redhat.com> 1.4b3-1
1c2cc5
- Upgraded (bug #88525).
1c2cc5
1c2cc5
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
1c2cc5
- rebuilt
1c2cc5
1c2cc5
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
1c2cc5
- rebuilt
1c2cc5
1c2cc5
* Fri Nov  8 2002 Tim Waugh <twaugh@redhat.com> 1.2-21
1c2cc5
- Assume -N except if -q is given (bug #77517).
1c2cc5
1c2cc5
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
1c2cc5
- automated rebuild
1c2cc5
1c2cc5
* Thu May 23 2002 Tim Powers <timp@redhat.com>
1c2cc5
- automated rebuild
1c2cc5
1c2cc5
* Tue Apr 23 2002 Tim Waugh <twaugh@redhat.com> 1.2-18
1c2cc5
- Don't explicitly strip binaries (bug #62569).
1c2cc5
- Fix malloc/realloc problems (bug #56858).
1c2cc5
1c2cc5
* Fri Mar 22 2002 Tim Waugh <twaugh@redhat.com> 1.2-17
1c2cc5
- Large file support (bug #61456).
1c2cc5
1c2cc5
* Wed Feb 27 2002 Tim Waugh <twaugh@redhat.com> 1.2-16
1c2cc5
- Rebuild in new environment.
1c2cc5
1c2cc5
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
1c2cc5
- automated rebuild
1c2cc5
1c2cc5
* Fri Oct  5 2001 Tim Waugh <twaugh@redhat.com> 1.2-14
1c2cc5
- Fix size format (bug #54298).
1c2cc5
- Don't use colours by default (bug #25389).
1c2cc5
1c2cc5
* Mon Jul 30 2001 Tim Waugh <twaugh@redhat.com> 1.2-13
1c2cc5
- Change Copyright: to License:.
1c2cc5
- Don't dump core if LS_COLORS is too big (bug #50016).
1c2cc5
1c2cc5
* Wed May 30 2001 Tim Waugh <twaugh@redhat.com> 1.2-12
1c2cc5
- Sync description with specspo.
1c2cc5
1c2cc5
* Tue Oct 10 2000 Tim Waugh <twaugh@redhat.com> 1.2-11
1c2cc5
- Don't blabber about carrots in the man page (bug #18823)
1c2cc5
- Use RPM_OPT_FLAGS while building
1c2cc5
1c2cc5
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
1c2cc5
- automatic rebuild
1c2cc5
1c2cc5
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
1c2cc5
- rebuild, FHS stuff
1c2cc5
1c2cc5
* Thu Feb  3 2000 Bernhard Rosenkraenzer <bero@redhat.com>
1c2cc5
- remove executable bit from man page (Bug #9035)
1c2cc5
- deal with rpm compressing man pages
1c2cc5
1c2cc5
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
1c2cc5
- auto rebuild in the new build environment (release 6)
1c2cc5
1c2cc5
* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
1c2cc5
- built package for 6.0
1c2cc5
1c2cc5
* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
1c2cc5
- build root
1c2cc5
1c2cc5
* Tue May 05 1998 Prospector System <bugs@redhat.com>
1c2cc5
- translations modified for de, fr, tr
1c2cc5
1c2cc5
* Wed Apr 29 1998 Cristian Gafton <gafton@redhat.com>
1c2cc5
- installing in /usr/bin
1c2cc5
1c2cc5
* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
1c2cc5
- updated version
1c2cc5
- fixed src url
1c2cc5
1c2cc5
* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
1c2cc5
- built against glibc