Blame SPECS/hardlink.spec

404c10
Summary:	Create a tree of hardlinks
404c10
Name:		hardlink
404c10
Version:	1.3
404c10
Release:	6%{?dist}
404c10
Epoch:		1
404c10
License:	GPLv2+
404c10
URL:		https://pagure.io/hardlink
404c10
Source0:	https://pagure.io/hardlink/raw/master/f/hardlink.c
404c10
Source1:	https://pagure.io/hardlink/raw/master/f/hardlink.1
404c10
Source2:	https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
404c10
BuildRequires:  pcre2-devel, gcc
404c10
404c10
%description
404c10
hardlink is used to create a tree of hard links. It's used by kernel
404c10
installation to dramatically reduce the amount of disk space used by each
404c10
kernel package installed.
404c10
404c10
%prep
404c10
%setup -q -c -T
404c10
install -pm 644 %{SOURCE0} %{SOURCE2} .
404c10
404c10
%build
404c10
%{__cc} %{optflags} %{__global_ldflags} hardlink.c -o hardlink -lpcre2-8
404c10
404c10
%install
404c10
install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/hardlink.1
404c10
install -D -m 755 hardlink %{buildroot}%{_sbindir}/hardlink
404c10
404c10
%files
404c10
%license gpl-2.0.txt
404c10
%{_sbindir}/hardlink
404c10
%{_mandir}/man1/hardlink.1*
404c10
404c10
%changelog
404c10
* Mon Feb 19 2018 Francisco Javier Tsao Santín <tsao@gpul.org> - 1:1.3-6 
404c10
- Added gcc to build requirements
404c10
404c10
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3-5
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
404c10
404c10
* Sat Aug 19 2017 Tomasz Kłoczko <kloczek@fedoraproject.org> - 1:1.3-4
404c10
- remove manually added pcre2 requires (this is autogenerated)
404c10
- removed BuildRoot, %%defattr() and Group (new Fedora Packaging Guildline)
404c10
- do not use straight gcc and add use %%{__global_ldflags}
404c10
- use %%_licensedir is no longer needed
404c10
- minor cleanups:
404c10
-- reformat %%description to 80 col
404c10
-- added full URLs in Source fields
404c10
-- more macros
404c10
-- a bit simpler %%prep
404c10
404c10
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3-3
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
404c10
404c10
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3-2
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
404c10
404c10
* Sun Apr 23 2017 Francisco Javier Tsao Santín <tsao@gpul.org> - 1:1.3-1
404c10
- Patch by Todd Lewis that adds option -x to exclude files with pcre lib 
404c10
- This patch solves RH Bugzilla ID's 955246 1322198 
404c10
404c10
* Thu Feb 16 2017 Francisco Javier Tsao Santín <tsao@gpul.org> - 1:1.2-1
404c10
- Fixed 32 bit build with gcc7 (RH Bugzilla ID 1422989)
404c10
404c10
* Sun Feb 12 2017 Francisco Javier Tsao Santín <tsao@gpul.org> - 1:1.1-4
404c10
- Fixed source url and description in spec file
404c10
404c10
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.1-3
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
404c10
404c10
* Sat Sep 03 2016 Kevin Fenzi <kevin@scrye.com> - 1.1-2
404c10
- Drop the kernel-utils obsolete that was added in 2005.
404c10
404c10
* Sun Jul 10 2016 Francisco Javier Tsao Santín <tsao@gpul.org> - 1:1.1-1
404c10
- Patch by Travers Carter for making hardlinking atomic
404c10
404c10
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.0-23
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
404c10
404c10
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-22
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
404c10
404c10
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-21
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
404c10
404c10
* Sat Jul 12 2014 Tom Callaway <spot@fedoraproject.org> - 1:1.0-20
404c10
- fix license handling
404c10
404c10
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-19
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
404c10
404c10
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-18
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
404c10
404c10
* Wed Apr 10 2013 Jan Zeleny <jzeleny@redhat.com> - 1:1.0-17
404c10
- Mention -f option in the man page
404c10
404c10
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-16
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
404c10
404c10
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-15
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
404c10
404c10
* Sun Apr 15 2012 Jindrich Novy <jnovy@redhat.com> - 1:1.0-14
404c10
- do not allow to hardlink files across filesystems by default (#786719)
404c10
  (use -f option to override)
404c10
404c10
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-13
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
404c10
404c10
* Fri Oct 21 2011 Jindrich Novy <jnovy@redhat.com> - 1:1.0-12
404c10
- fix possible buffer overflows, integer overflows (CVE-2011-3630 CVE-2011-3631 CVE-2011-3632)
404c10
- update man page
404c10
404c10
* Wed Mar  2 2011 Jindrich Novy <jnovy@redhat.com> - 1:1.0-11
404c10
- don't use mmap(2) to avoid failures on i386 with 1GB files and larger (#672917)
404c10
- fix package URL (#676962)
404c10
404c10
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-10
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
404c10
404c10
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-9
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
404c10
404c10
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.0-8
404c10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
404c10
404c10
* Mon Feb 25 2008 Jindrich Novy <jnovy@redhat.com> 1:1.0-7
404c10
- manual rebuild because of gcc-4.3 (#434188)
404c10
404c10
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:1.0-6
404c10
- Autorebuild for GCC 4.3
404c10
404c10
* Thu Aug 23 2007 Jindrich Novy <jnovy@redhat.com> - 1:1.0-5
404c10
- update License
404c10
- rebuild for BuildID
404c10
404c10
* Mon Apr 23 2007 Jindrich Novy <jnovy@redhat.com> - 1:1.0-4
404c10
- include sources in debuginfo package (#230833)
404c10
404c10
* Mon Feb  5 2007 Jindrich Novy <jnovy@redhat.com> - 1:1.0-3
404c10
- merge review related spec fixes (#225881)
404c10
404c10
* Sun Oct 29 2006 Jindrich Novy <jnovy@redhat.com> - 1:1.0-2
404c10
- update docs to describe highest verbosity -vv option (#210816)
404c10
- use dist
404c10
404c10
* Wed Jul 12 2006 Jindrich Novy <jnovy@redhat.com> - 1:1.0-1.23
404c10
- remove ugly suffixes added by rebuild script
404c10
404c10
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0-1.21.2.1
404c10
- rebuild
404c10
404c10
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0-1.20.2
404c10
- bump again for double-long bug on ppc(64)
404c10
404c10
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0-1.19.1
404c10
- rebuilt for new gcc4.1 snapshot and glibc changes
404c10
404c10
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
404c10
- rebuilt
404c10
404c10
* Mon Nov 14 2005 Jindrich Novy <jnovy@redhat.com>
404c10
- more spec cleanup - thanks to Matthias Saou (#172968)
404c10
- use UTF-8 encoding in the source
404c10
404c10
* Mon Nov  7 2005 Jindrich Novy <jnovy@redhat.com>
404c10
- add hardlink man page
404c10
- add -h option
404c10
- use _sbindir instead of /usr/sbin directly
404c10
- don't warn because of uninitialized variable
404c10
- spec cleanup
404c10
404c10
* Fri Aug 26 2005 Dave Jones <davej@redhat.com>
404c10
- Document hardlink command line options. (Ville Skytta) (#161738)
404c10
404c10
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com>
404c10
- don't try to hardlink 0 byte files (#154404)
404c10
404c10
* Fri Apr 15 2005 Florian La Roche <laroche@redhat.com>
404c10
- remove empty scripts
404c10
404c10
* Tue Mar  1 2005 Dave Jones <davej@redhat.com>
404c10
- rebuild for gcc4
404c10
404c10
* Tue Feb  8 2005 Dave Jones <davej@redhat.com>
404c10
- rebuild with -D_FORTIFY_SOURCE=2
404c10
404c10
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
404c10
- Add missing Obsoletes: kernel-utils
404c10
404c10
* Sat Dec 18 2004 Dave Jones <davej@redhat.com>
404c10
- Initial packaging, based upon kernel-utils.