Blame SPECS/createrepo.spec

485652
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
485652
485652
%if ! 0%{?rhel}
485652
# we don't have this in rhel yet...
485652
BuildRequires: bash-completion
485652
%endif
485652
485652
# disable broken /usr/lib/rpm/brp-python-bytecompile
485652
%define __os_install_post %{nil}
485652
%define compdir %(pkg-config --variable=completionsdir bash-completion)
485652
%if "%{compdir}" == ""
485652
%define compdir "/etc/bash_completion.d"
485652
%endif
485652
485652
Summary: Creates a common metadata repository
485652
Name: createrepo
485652
Version: 0.9.9
485652
Release: 28%{?dist}
485652
License: GPLv2
485652
Group: System Environment/Base
485652
Source: %{name}-%{version}.tar.gz
485652
Patch0: createrepo-head.patch
485652
Patch1: ten-changelog-limit.patch
485652
Patch2: BZ-1022028-wrong-package-count.patch
485652
Patch3: BZ-1256216-cifs-share-oserror.patch
485652
Patch4: BZ-1178763-duplicates.patch
485652
Patch5: BZ-1270784-checksum-prefix.patch
485652
Patch6: BZ-1083182-traceback-on-nonexisting-pkglist.patch
485652
Patch7: BZ-1285761-modifyrepo-mergerepo-options-manpage.patch
485652
Patch8: BZ-1406418-cleanup-temporary-files-in-var-tmp-on-exit.patch
485652
Patch9: BZ-1404239-fix-update-for-same-nevra.patch
485652
Patch10: BZ-1125437-allow-xz-and-bz2-for-xml-files.patch
485652
Patch11: BZ-1227782-modifyrepo-fix-already-compressed-input.patch
485652
Patch12: BZ-1287685-modifyrepo-handle-empty-file-lzma.patch
485652
Patch13: BZ-1287714-modifyrepo-docs-remove-compat.patch
485652
URL: http://createrepo.baseurl.org/
485652
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
485652
BuildArchitectures: noarch
485652
Requires: python >= 2.1, rpm-python, rpm >= 4.1.1, libxml2-python
485652
Requires: yum-metadata-parser, yum >= 3.4.3-4, python-deltarpm, deltarpm, pyliblzma
485652
BuildRequires: python
485652
485652
%description
485652
This utility will generate a common metadata repository from a directory of rpm
485652
packages.
485652
485652
%prep
485652
%setup -q
485652
%patch0 -p1
485652
%patch1 -p0
485652
%patch2 -p1
485652
%patch3 -p1
485652
%patch4 -p1
485652
%patch5 -p1
485652
%patch6 -p1
485652
%patch7 -p1
485652
%patch8 -p1
485652
%patch9 -p1
485652
%patch10 -p1
485652
%patch11 -p1
485652
%patch12 -p1
485652
%patch13 -p1
485652
485652
485652
%build
485652
485652
%install
485652
rm -rf $RPM_BUILD_ROOT
485652
make DESTDIR=$RPM_BUILD_ROOT sysconfdir=%{_sysconfdir} install
485652
485652
%clean
485652
rm -rf $RPM_BUILD_ROOT
485652
485652
485652
%files
485652
%defattr(-, root, root,-)
485652
%doc ChangeLog README COPYING COPYING.lib
485652
%(dirname %{compdir})
485652
%{_datadir}/%{name}/
485652
%{_bindir}/createrepo
485652
%{_bindir}/modifyrepo
485652
%{_bindir}/mergerepo
485652
%{_mandir}/*/*
485652
%{python_sitelib}/createrepo
485652
485652
%changelog
485652
* Fri Mar 24 2017 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 0.9.9-28
485652
- createrepo: allow xz and bz2 for xml files.
485652
- Resolves: bug#1125437
485652
- modifyrepo: fix handling of already compressed input.
485652
- Resolves: bug#1227782
485652
- modifyrepo: handle empty file with LZMA.
485652
- Resolves: bug#1287685
485652
- modifyrepo: docs: remove compat compress type.
485652
- Resolves: bug#1287714
485652
485652
* Thu Mar 02 2017 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 0.9.9-27
485652
- Fix temporary files cleanup.
485652
- Resolves: bug#1406418
485652
- Fix --update for pkgs with same nevra.
485652
- Resolves: bug#1404239
485652
485652
* Mon Feb 29 2016 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 0.9.9-26
485652
- Make sure filename doesn't already contain a checksum.
485652
- Resolves: bug#1270784
485652
- Catch IOErrors when loading pkglist.
485652
- Resolves: bug#1083182
485652
- Add missing options to the manpage.
485652
- Resolves: bug#1285761
485652
485652
* Wed Dec 10 2015 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 0.9.9-25
485652
- mergerepo: fix getattr() crash.
485652
- Related: bug#1178763
485652
485652
* Tue Dec 08 2015 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 0.9.9-24
485652
- mergerepo: merge package versions from multiple repos.
485652
- Related: bug#1178763
485652
- Close lock file before unlink().
485652
- Related: bug#1256216
485652
485652
* Thu Jan 16 2014 Valentina Mukhamedzhanova <vmukhame@redhat.com> - 0.9.9-23
485652
- Make sure the "packages" attribute is always correct.
485652
- Resolves: bug#1022028
485652
485652
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.9-22
485652
- Mass rebuild 2013-12-27
485652
485652
* Wed Apr 17 2013 Zdenek Pavlas <zpavlas@redhat.com> - 0.9.9-21
485652
- update to latest HEAD
485652
- don't BuildRequire bash-completion in rhel
485652
- Fail for bad compress-type options to modifyrepo, like createrepo. BZ 886589
485652
- Fix options documentation. BZ 892657.
485652
- modifyrepo: fix --compress option bug. BZ 950724
485652
- modifyrepo: add --checksum and --{unique,simple}-md-filenames options
485652
485652
* Thu Mar 28 2013 Zdenek Pavlas <zpavlas@redhat.com> - 0.9.9-20
485652
- package also %{compdir}'s parent
485652
485652
* Wed Mar 20 2013 Zdenek Pavlas <zpavlas@redhat.com> - 0.9.9-19
485652
- add BuildRequires: bash-completion
485652
485652
* Wed Mar 20 2013 Zdenek Pavlas <zpavlas@redhat.com> - 0.9.9-18
485652
- add bash-completion aliases, use pkg-config.
485652
485652
* Tue Mar 19 2013 Zdenek Pavlas <zpavlas@redhat.com> - 0.9.9-17
485652
- move bash-completion scripts to /usr/share/  BZ 923001
485652
485652
* Wed Mar  6 2013 Zdenek Pavlas <zpavlas at redhat.com> - 0.9.9-16
485652
- update to latest HEAD
485652
- turn off stdout buffering in worker to prevent a deadlock
485652
- modifyrepo: use integer timestamps
485652
485652
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9-15
485652
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
485652
485652
* Fri Dec 21 2012 Zdenek Pavlas <zpavlas at redhat.com> - 0.9.9-14
485652
- update to latest HEAD
485652
- Fix the deadlock issue.  BZ 856363
485652
- Manually set the permmissions for tempfile created cachefiles. BZ 833350
485652
- modifyrepo: use available compression only.  BZ 865845
485652
- No baseurl means no baseurl.  BZ 875029
485652
- Change the compress-type for modifyrepo to .gz for compat. BZ 874682.
485652
- fix the --skip-symlinks option
485652
- no repomd.xml && --checkts: skip .rpm timestamp checking.  BZ 877301
485652
- new worker piping code (no tempfiles, should be faster)
485652
485652
* Thu Sep 13 2012 James Antill <james at fedoraproject.org> - 0.9.9-13
485652
- update to latest head
485652
- Fix for workers that output a lot.
485652
485652
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9-12
485652
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
485652
485652
* Thu Feb 16 2012 James Antill <james at fedoraproject.org> - 0.9.9-11
485652
- update to latest head
485652
- fix for lots of workers and not many rpms.
485652
485652
* Thu Jan  5 2012 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-10
485652
- update to latest head
485652
- fix for generating repos for rhel5 on fedora
485652
485652
* Fri Oct 28 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-9
485652
- 3rd time is the charm
485652
- fix it so prestodelta's get made with the right name and don't traceback
485652
485652
* Wed Oct 26 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-8
485652
- change how compressOpen() defaults so mash doesn't break
485652
- add requires for pyliblzma
485652
485652
* Mon Oct 24 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-7
485652
- latest upstream
485652
- --compress-type among other deals.
485652
485652
* Fri Jul 29 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-6
485652
- latest upstream
485652
- fixes bugs: 713747, 581632, 581628
485652
485652
* Wed Jul 20 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-5
485652
- new patch to fix us breaking certain pungi configs
485652
485652
* Tue Jul 19 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-4
485652
- latest upstream head
485652
- change --update to use sqlite for old repodata
485652
485652
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9-3
485652
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
485652
485652
* Thu Jan 27 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-2
485652
- make sure when a worker exits with a non-zero returncode we exit, too.
485652
485652
* Wed Jan 26 2011 Seth Vidal <skvidal at fedoraproject.org> - 0.9.9-1
485652
- 0.9.9
485652
- change yum requires to 3.2.29
485652
485652
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.8-5
485652
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
485652
485652
* Thu Jan  7 2010 Seth Vidal <skvidal at fedoraproject.org> - 0.9.8-4
485652
- latest head with fixes for --update w/o --skipstat
485652
485652
485652
* Tue Dec 22 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.8-3
485652
- patch to latest HEAD from upstream
485652
485652
* Thu Sep  3 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.8-2
485652
- add drpm patch from https://bugzilla.redhat.com/show_bug.cgi?id=518658
485652
485652
485652
* Fri Aug 28 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.8-1
485652
- bump yum requires version
485652
- remove head patch
485652
- bump to 0.9.8 upstream
485652
485652
* Tue Aug 18 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.7-15
485652
- update HEAD patch to include fix from mbonnet for typo'd PRAGMA in the filelists setup
485652
485652
* Tue Aug  4 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.7-14
485652
- minor fix for rh bug 512610
485652
485652
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7-13
485652
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
485652
485652
* Wed Jun 17 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.7-11
485652
- more profile output for deltarpms
485652
485652
* Tue Jun 16 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.7-8
485652
- more patches from head
485652
- speed up generating prestodelta, massively
485652
485652
* Tue May  5 2009 Seth Vidal <skvidal at fedoraproject.org>
485652
- more head fixes - theoretically solving ALL of the sha1/sha silliness
485652
485652
* Wed Apr 15 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.7-2
485652
- fix 495845 and other presto issues
485652
485652
* Tue Mar 24 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.7-1
485652
- 0.9.7
485652
- require yum 3.2.22
485652
485652
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-12
485652
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
485652
485652
* Tue Feb 10 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.6-11
485652
- change the order of deltarpms
485652
485652
* Wed Feb  4 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.6-10
485652
- working mergerepo again
485652
485652
* Tue Feb  3 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.6-9
485652
- fix normal createrepo'ing w/o the presto patches :(
485652
485652
* Mon Feb  2 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.6-7
485652
- add deltarpm requirement for making presto metadata
485652
485652
* Tue Jan 27 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.6-6
485652
- one more patch set to make sure modifyrepo works with sha256's, too
485652
485652
* Mon Jan 26 2009 Seth Vidal <skvidal at fedoraproject.org> - 0.9.6-5
485652
- add patch from upstream head for sha256 support
485652
485652
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.9.6-4
485652
- Rebuild for Python 2.6
485652
485652
* Tue Oct 28 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.6-1
485652
- 0.9.6-1
485652
- add mergerepo
485652
485652
* Thu Oct  9 2008 James Antill <james@fedoraproject.org> - 0.9.5-5
485652
- Do atomic updates to the cachedir, for parallel runs
485652
- Fix the patch
485652
485652
* Fri Feb 22 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.5-2
485652
- patch for the mistake in the raise for an empty pkgid
485652
485652
* Tue Feb 19 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.5-1
485652
- 0.9.5
485652
- ten-changelog-limit patch by default in fedora
485652
485652
* Thu Jan 31 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.4-3
485652
- skip if no old metadata and --update was called.
485652
485652
* Wed Jan 30 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.4-1
485652
- 0.9.4
485652
485652
* Tue Jan 22 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.3
485652
- 0.9.3
485652
485652
* Thu Jan 17 2008 Seth Vidal <skvidal at fedoraproject.org> - 0.9.2-1
485652
- remove all other patches - 0.9.2 
485652
485652
* Tue Jan 15 2008 Seth Vidal <skvidal at fedoraproject.org> 0.9.1-3
485652
- more patches - almost 0.9.2 but not quite
485652
485652
* Thu Jan 10 2008 Seth Vidal <skvidal at fedoraproject.org> 0.9.1-2
485652
- patch to fix bug until 0.9.2
485652
485652
* Wed Jan  9 2008 Seth Vidal <skvidal at fedoraproject.org> 0.9.1-1
485652
- 0.9.1 
485652
485652
* Mon Jan  7 2008 Seth Vidal <skvidal at fedoraproject.org> 0.9-1
485652
- 0.9
485652
- add yum dep
485652
485652
485652
* Mon Nov 26 2007 Luke Macken <lmacken@redhat.com> - 0.4.11-1
485652
- Update to 0.4.11
485652
- Include COPYING file and change License to GPLv2
485652
485652
* Thu Jun 07 2007 Paul Nasrat <pnasrat@redhat.com> - 0.4.10-1
485652
- Update to 0.4.10
485652
485652
* Wed May 16 2007 Paul Nasrat <pnasrat@redhat.com> - 0.4.9-1
485652
- Update to 0.4.9
485652
485652
* Tue May 15 2007 Jeremy Katz <katzj@redhat.com> - 0.4.8-4
485652
- fix the last patch
485652
485652
* Tue May 15 2007 Jeremy Katz <katzj@redhat.com> - 0.4.8-3
485652
- use dbversion given by yum-metadata-parser instead of hardcoded 
485652
  value (#239938)
485652
485652
* Wed Mar 14 2007 Paul Nasrat <pnasrat@redhat.com> - 0.4.8-2
485652
- Remove requires (#227680)
485652
485652
* Wed Feb 21 2007 Jeremy Katz <katzj@redhat.com> - 0.4.8-1
485652
- update to 0.4.8
485652
485652
* Mon Feb 12 2007 Jesse Keating <jkeating@redhat.com> - 0.4.7-3
485652
- Require yum-metadata-parser.
485652
485652
* Thu Feb  8 2007 Jeremy Katz <katzj@redhat.com> - 0.4.7-2
485652
- add modifyrepo to the file list
485652
485652
* Thu Feb  8 2007 Jeremy Katz <katzj@redhat.com> - 0.4.7-1
485652
- update to 0.4.7
485652
485652
* Mon Feb 05 2007 Paul Nasrat <pnasrat@redhat.com> - 0.4.6-2
485652
- Packaging guidelines (#225661)
485652
485652
* Thu Nov 09 2006 Paul Nasrat <pnasrat@redhat.com> - 0.4.6-1
485652
- Upgrade to latest release
485652
- Fix requires (#214388)
485652
485652
* Wed Jul 19 2006 Paul Nasrat <pnasrat@redhat.com> - 0.4.4-2
485652
- Fixup relative paths (#199228)
485652
485652
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.4.4-1.1
485652
- rebuild
485652
485652
* Mon Apr 17 2006 Paul Nasrat <pnasrat@redhat.com> - 0.4.4-1
485652
- Update to latest upstream
485652
485652
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
485652
- rebuilt
485652
485652
* Fri Nov 18 2005 Paul Nasrat <pnasrat@redhat.com> - 0.4.3-5
485652
- Fix split with normalised directories
485652
485652
* Fri Nov 18 2005 Paul Nasrat <pnasrat@redhat.com> - 0.4.3-4
485652
- Another typo fix
485652
- Normalise directories
485652
485652
* Thu Nov 17 2005 Paul Nasrat <pnasrat@redhat.com> - 0.4.3-3.1
485652
- really fix them 
485652
485652
* Thu Nov 17 2005 Paul Nasrat <pnasrat@redhat.com> - 0.4.3-3
485652
- Fix regressions for absolute/relative paths
485652
485652
* Sun Nov 13 2005 Paul Nasrat <pnasrat@redhat.com> - 0.4.3-2
485652
- Sync upto HEAD 
485652
- Split media support
485652
485652
* Thu Jul 14 2005 Paul Nasrat <pnasrat@redhat.com> - 0.4.3-1
485652
- New upstream version 0.4.3 (cachedir support)
485652
485652
* Tue Jan 18 2005 Jeremy Katz <katzj@redhat.com> - 0.4.2-2
485652
- add the manpage
485652
485652
* Tue Jan 18 2005 Jeremy Katz <katzj@redhat.com> - 0.4.2-1
485652
- 0.4.2
485652
485652
* Thu Oct 21 2004 Paul Nasrat <pnasrat@redhat.com>
485652
- 0.4.1, fixes #136613
485652
- matched ghosts not being added into primary.xml files
485652
485652
* Mon Oct 18 2004 Bill Nottingham <notting@redhat.com>
485652
- 0.4.0, fixes #134776
485652
485652
* Thu Sep 30 2004 Paul Nasrat <pnasrat@redhat.com>
485652
- Rebuild new upstream release - 0.3.9
485652
485652
* Thu Sep 30 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- 0.3.9
485652
- fix for groups checksum creation
485652
485652
* Sat Sep 11 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- 0.3.8
485652
485652
* Wed Sep  1 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- 0.3.7
485652
485652
* Fri Jul 23 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- make filelists right <sigh>
485652
485652
485652
* Fri Jul 23 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- fix for broken filelists
485652
485652
* Mon Jul 19 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- re-enable groups
485652
- update num to 0.3.4
485652
485652
* Tue Jun  8 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- update to the format
485652
- versioned deps
485652
- package counts
485652
- uncompressed checksum in repomd.xml
485652
485652
485652
* Fri Apr 16 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- 0.3.2 - small addition of -p flag
485652
485652
* Sun Jan 18 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- I'm an idiot
485652
485652
* Sun Jan 18 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- 0.3
485652
485652
* Tue Jan 13 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- 0.2 - 
485652
485652
* Sat Jan 10 2004 Seth Vidal <skvidal@phy.duke.edu>
485652
- first packaging
485652