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