69f476
Summary: A utility which maintains a system's symbolic links
69f476
Name: symlinks
69f476
URL: http://ibiblio.org/pub/Linux/utils/file/
69f476
Version: 1.4
69f476
Release: 10%{?dist}
69f476
Group: Applications/System
69f476
License: Copyright only
69f476
Source0: http://ibiblio.org/pub/Linux/utils/file/%{name}-%{version}.tar.gz
69f476
# Taken from http://packages.debian.org/changelogs/pool/main/s/symlinks/symlinks_1.2-4.2/symlinks.copyright
69f476
Source1: symlinks-LICENSE.txt
69f476
Patch1: symlinks-coverity-readlink.patch
69f476
Patch2: symlinks-coverity-overrun-dynamic.patch
69f476
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
69f476
69f476
%description
69f476
The symlinks utility performs maintenance on symbolic links.  Symlinks
69f476
checks for symlink problems, including dangling symlinks which point
69f476
to nonexistent files.  Symlinks can also automatically convert
69f476
absolute symlinks to relative symlinks.
69f476
69f476
Install the symlinks package if you need a program for maintaining
69f476
symlinks on your system.
69f476
69f476
%prep
69f476
%setup -q
69f476
cp %{SOURCE1} .
69f476
69f476
# Fix off-by-one error in call to readlink.
69f476
%patch1 -p1 -b .coverity-readlink
69f476
69f476
# Fix possible buffer overrun found by coverity.
69f476
%patch2 -p1 -b .coverity-overrun-dynamic
69f476
69f476
%build
69f476
make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" %{?_smp_mflags}
69f476
69f476
%install
69f476
rm -rf $RPM_BUILD_ROOT
69f476
mkdir -p $RPM_BUILD_ROOT%{_bindir}
69f476
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
69f476
install -m 755 symlinks $RPM_BUILD_ROOT%{_bindir}
69f476
install -m 644 symlinks.8 $RPM_BUILD_ROOT%{_mandir}/man8
69f476
69f476
%clean
69f476
rm -rf $RPM_BUILD_ROOT
69f476
69f476
%files
69f476
%defattr(-,root,root,-)
69f476
%doc symlinks-LICENSE.txt
69f476
%{_bindir}/symlinks
69f476
%{_mandir}/man8/symlinks.8*
69f476
69f476
%changelog
69f476
* Thu Jul 25 2019 Than Ngo <than@redhat.com> - 1.4-10
69f476
- Resolves: #1579157, fixed upstream URL reference
69f476
69f476
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4-9
69f476
- Mass rebuild 2014-01-24
69f476
69f476
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4-8
69f476
- Mass rebuild 2013-12-27
69f476
69f476
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
69f476
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
69f476
69f476
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
69f476
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
69f476
69f476
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
69f476
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
69f476
69f476
* Fri May 20 2011 Tim Waugh <twaugh@redhat.com> 1.4-4
69f476
- Applied patches from Jiri Popelka:
69f476
  - Fix off-by-one error in call to readlink.
69f476
  - Fix possible buffer overrun found by coverity.
69f476
69f476
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-3
69f476
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
69f476
69f476
* Fri Nov 13 2009 Tim Waugh <twaugh@redhat.com> 1.4-2
69f476
- 1.4.  All patches now upstream.
69f476
69f476
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-34
69f476
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
69f476
69f476
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-33
69f476
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
69f476
69f476
* Sat Sep  6 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-32
69f476
- fix license tag
69f476
69f476
* Mon Feb 11 2008 Tim Waugh <twaugh@redhat.com> 1.2-31
69f476
- Rebuild for GCC 4.3.
69f476
69f476
* Wed Aug 29 2007 Tim Waugh <twaugh@redhat.com> 1.2-30
69f476
- Rebuilt.
69f476
69f476
* Fri Feb 23 2007 Tim Waugh <twaugh@redhat.com> 1.2-29
69f476
- Use smp_mflags (bug #226445).
69f476
- Better default attributes (bug #226445).
69f476
- Make setup macro quiet (bug #226445).
69f476
- Clean build root in %%install section (bug #226445).
69f476
69f476
* Wed Feb  7 2007 Tim Waugh <twaugh@redhat.com> 1.2-28
69f476
- Fixed build root (bug #226445).
69f476
69f476
* Tue Feb  6 2007 Tim Waugh <twaugh@redhat.com> 1.2-27
69f476
- Fixed summary (bug #226445).
69f476
- Added token URL tag (bug #226445).
69f476
69f476
* Tue Jan 30 2007 Florian La Roche <laroche@redhat.com> - 1.2-26
69f476
- do not strip away debuginfo
69f476
69f476
* Thu Jan 18 2007 Tim Waugh <twaugh@redhat.com> - 1.2-25
69f476
- Build with LFS support (bug #206407).
69f476
69f476
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2-24.2.2
69f476
- rebuild
69f476
69f476
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2-24.2.1
69f476
- bump again for double-long bug on ppc(64)
69f476
69f476
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2-24.2
69f476
- rebuilt for new gcc4.1 snapshot and glibc changes
69f476
69f476
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
69f476
- rebuilt
69f476
69f476
* Wed Mar  2 2005 Tim Waugh <twaugh@redhat.com> 1.2-24
69f476
- Rebuild for new GCC.
69f476
69f476
* Wed Feb  9 2005 Tim Waugh <twaugh@redhat.com> 1.2-23
69f476
- s/Copyright:/License:/.
69f476
69f476
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
69f476
- rebuilt
69f476
69f476
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
69f476
- rebuilt
69f476
69f476
* Thu Oct 16 2003 Florian La Roche <Florian.LaRoche@redhat.de>
69f476
- add patch from #89655
69f476
69f476
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
69f476
- rebuilt
69f476
69f476
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
69f476
- rebuilt
69f476
69f476
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.2-17
69f476
- rebuild on all arches
69f476
69f476
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
69f476
- automated rebuild
69f476
69f476
* Thu May 23 2002 Tim Powers <timp@redhat.com>
69f476
- automated rebuild
69f476
69f476
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
69f476
- automated rebuild
69f476
69f476
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
69f476
- Bump release + rebuild.
69f476
69f476
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
69f476
- automatic rebuild
69f476
69f476
* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com>
69f476
- FHS paths
69f476
69f476
* Tue May 30 2000 Preston Brown <pbrown@redhat.com>
69f476
- fix up help output (#10236)
69f476
69f476
* Thu Feb 10 2000 Preston Brown <pbrown@redhat.com>
69f476
- do not link statically
69f476
69f476
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
69f476
- rebuild to gzip man page
69f476
69f476
* Mon Oct 04 1999 Cristian Gafton <gafton@redhat.com>
69f476
- rebuild against the latest glibc in the sparc tree
69f476
69f476
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
69f476
- auto rebuild in the new build environment (release 5)
69f476
69f476
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
69f476
- Injected new description and group.
69f476
69f476
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
69f476
- bumped spec number for initial rh 6.0 build
69f476
69f476
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
69f476
- translations modified for de, fr, tr
69f476
69f476
* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
69f476
- changed build root to /var/tmp, not /var/lib
69f476
- updated to version 1.2
69f476
69f476
* Wed Jul 09 1997 Erik Troan <ewt@redhat.com>
69f476
- built against glibc
69f476
- build-rooted