Blame SPECS/createrepo_c.spec

0f2056
%global libmodulemd_version 2.3.0
0f2056
0f2056
%define __cmake_in_source_build 1
0f2056
0f2056
%global bash_completion %{_datadir}/bash-completion/completions/*
0f2056
0f2056
%if 0%{?rhel} && ( 0%{?rhel} <= 7 || 0%{?rhel} >= 9 )
0f2056
%bcond_with drpm
0f2056
%else
0f2056
%bcond_without drpm
0f2056
%endif
0f2056
0f2056
%if 0%{?rhel}
0f2056
%bcond_with zchunk
0f2056
%else
0f2056
%bcond_without zchunk
0f2056
%endif
0f2056
0f2056
%if 0%{?rhel} && 0%{?rhel} < 8
0f2056
%bcond_with libmodulemd
0f2056
%else
0f2056
%bcond_without libmodulemd
0f2056
%endif
0f2056
0f2056
Summary:        Creates a common metadata repository
0f2056
Name:           createrepo_c
90b121
Version:        0.17.7
90b121
Release:        1%{?dist}
0f2056
License:        GPLv2+
0f2056
URL:            https://github.com/rpm-software-management/createrepo_c
0f2056
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
0f2056
0f2056
BuildRequires:  cmake
0f2056
BuildRequires:  gcc
0f2056
BuildRequires:  bzip2-devel
0f2056
BuildRequires:  doxygen
0f2056
BuildRequires:  file-devel
0f2056
BuildRequires:  glib2-devel >= 2.22.0
0f2056
BuildRequires:  libcurl-devel
0f2056
BuildRequires:  libxml2-devel
0f2056
BuildRequires:  openssl-devel
0f2056
BuildRequires:  rpm-devel >= 4.8.0-28
0f2056
BuildRequires:  sqlite-devel
0f2056
BuildRequires:  xz
0f2056
BuildRequires:  xz-devel
0f2056
BuildRequires:  zlib-devel
0f2056
%if %{with zchunk}
0f2056
BuildRequires:  pkgconfig(zck) >= 0.9.11
0f2056
BuildRequires:  zchunk
0f2056
%endif
0f2056
%if %{with libmodulemd}
0f2056
BuildRequires:  pkgconfig(modulemd-2.0) >= %{libmodulemd_version}
0f2056
BuildRequires:  libmodulemd
0f2056
Requires:       libmodulemd%{?_isa} >= %{libmodulemd_version}
0f2056
%endif
0f2056
Requires:       %{name}-libs =  %{version}-%{release}
0f2056
BuildRequires:  bash-completion
0f2056
Requires: rpm >= 4.9.0
0f2056
%if %{with drpm}
0f2056
BuildRequires:  drpm-devel >= 0.4.0
0f2056
%endif
0f2056
0f2056
%if 0%{?fedora} || 0%{?rhel} > 7
0f2056
Obsoletes:      createrepo < 0.11.0
0f2056
Provides:       createrepo = %{version}-%{release}
0f2056
%endif
0f2056
0f2056
%description
0f2056
C implementation of Createrepo.
0f2056
A set of utilities (createrepo_c, mergerepo_c, modifyrepo_c)
0f2056
for generating a common metadata repository from a directory of
0f2056
rpm packages and maintaining it.
0f2056
0f2056
%package libs
0f2056
Summary:    Library for repodata manipulation
0f2056
0f2056
%description libs
0f2056
Libraries for applications using the createrepo_c library
0f2056
for easy manipulation with a repodata.
0f2056
0f2056
%package devel
0f2056
Summary:    Library for repodata manipulation
0f2056
Requires:   %{name}-libs%{?_isa} = %{version}-%{release}
0f2056
0f2056
%description devel
0f2056
This package contains the createrepo_c C library and header files.
0f2056
These development files are for easy manipulation with a repodata.
0f2056
0f2056
%package -n python3-%{name}
0f2056
Summary:        Python 3 bindings for the createrepo_c library
0f2056
%{?python_provide:%python_provide python3-%{name}}
0f2056
BuildRequires:  python3-devel
0f2056
BuildRequires:  python3-sphinx
0f2056
Requires:       %{name}-libs = %{version}-%{release}
0f2056
0f2056
%description -n python3-%{name}
0f2056
Python 3 bindings for the createrepo_c library.
0f2056
0f2056
%prep
0f2056
%autosetup -p1
0f2056
0f2056
mkdir build-py3
0f2056
0f2056
%build
0f2056
# Build createrepo_c with Pyhon 3
0f2056
pushd build-py3
0f2056
  %cmake .. \
0f2056
      -DWITH_ZCHUNK=%{?with_zchunk:ON}%{!?with_zchunk:OFF} \
0f2056
      -DWITH_LIBMODULEMD=%{?with_libmodulemd:ON}%{!?with_libmodulemd:OFF} \
0f2056
      -DENABLE_DRPM=%{?with_drpm:ON}%{!?with_drpm:OFF}
0f2056
  make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}"
0f2056
  # Build C documentation
0f2056
  make doc-c
0f2056
popd
0f2056
0f2056
%check
0f2056
# Run Python 3 tests
0f2056
pushd build-py3
0f2056
  # Compile C tests
0f2056
  make tests
0f2056
0f2056
  # Run Python 3 tests
0f2056
  make ARGS="-V" test
0f2056
popd
0f2056
0f2056
%install
0f2056
pushd build-py3
0f2056
  # Install createrepo_c with Python 3
0f2056
  make install DESTDIR=%{buildroot}
0f2056
popd
0f2056
0f2056
%if 0%{?fedora} || 0%{?rhel} > 7
0f2056
ln -sr %{buildroot}%{_bindir}/createrepo_c %{buildroot}%{_bindir}/createrepo
0f2056
ln -sr %{buildroot}%{_bindir}/mergerepo_c %{buildroot}%{_bindir}/mergerepo
0f2056
ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
0f2056
%endif
0f2056
0f2056
%if 0%{?rhel} && 0%{?rhel} <= 7
0f2056
%post libs -p /sbin/ldconfig
0f2056
%postun libs -p /sbin/ldconfig
0f2056
%else
0f2056
%ldconfig_scriptlets libs
0f2056
%endif
0f2056
0f2056
%files
0f2056
%doc README.md
0f2056
%{_mandir}/man8/createrepo_c.8*
0f2056
%{_mandir}/man8/mergerepo_c.8*
0f2056
%{_mandir}/man8/modifyrepo_c.8*
0f2056
%{_mandir}/man8/sqliterepo_c.8*
0f2056
%{bash_completion}
0f2056
%{_bindir}/createrepo_c
0f2056
%{_bindir}/mergerepo_c
0f2056
%{_bindir}/modifyrepo_c
0f2056
%{_bindir}/sqliterepo_c
0f2056
0f2056
%if 0%{?fedora} || 0%{?rhel} > 7
0f2056
%{_bindir}/createrepo
0f2056
%{_bindir}/mergerepo
0f2056
%{_bindir}/modifyrepo
0f2056
%endif
0f2056
0f2056
%files libs
0f2056
%license COPYING
0f2056
%{_libdir}/lib%{name}.so.*
0f2056
0f2056
%files devel
0f2056
%doc build-py3/doc/html
0f2056
%{_libdir}/lib%{name}.so
0f2056
%{_libdir}/pkgconfig/%{name}.pc
0f2056
%{_includedir}/%{name}/
0f2056
0f2056
%files -n python3-%{name}
0f2056
%{python3_sitearch}/%{name}/
0f2056
%{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info
0f2056
0f2056
%changelog
90b121
* Mon Oct 25 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 0.17.7-1
90b121
- Update to 0.17.7
90b121
- Remove insecure hashes SHA-1 and MD5 from the default build (RhBug:1935486)
90b121
- Fix error when updating repo with removed modules metadata
90b121
- Exit with status code 1 when loading of repo's metadata fails
90b121
- Fix memory leaks (RhBug:1998426)
90b121
- Fix valgrind warnings caused by subprocess calls
90b121
0f2056
* Mon Aug 16 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 0.17.2-5
0f2056
- Fix issues detected by static analyzers
0f2056
0f2056
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.17.2-4
0f2056
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
0f2056
  Related: rhbz#1991688
0f2056
0f2056
* Tue Jul 27 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 0.17.2-3
0f2056
- Fix spec conditional to enable libmodulemd in RHEL >= 8 (RhBug:1816753) 
0f2056
0f2056
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.17.2-2
0f2056
- Rebuilt for RHEL 9 BETA for openssl 3.0
0f2056
  Related: rhbz#1971065
0f2056
0f2056
* Mon Apr 26 2021 Pavla Kratochvilova <pkratoch@redhat.com> - 0.17.2-1
0f2056
- Update to 0.17.2
0f2056
- Fix Python deprecation (PY_SSIZE_T_CLEAN) (RhBug:1891785)
0f2056
- Revert back to old c API for destination file of cr_compress_file_with_stat and cr_compress_file to prevent a memory leak
0f2056
- Never leave behind .repodata lock on exit (RhBug:1906831)
0f2056
- Disable drpm for RHEL >= 9 (RhBug:1914828)
0f2056
- Setting updated/issued_date to None doesn't produce garbage values (RhBug:1921715)
0f2056
- Allow taking __repr__ (__str__) of closed xmlfile and sqlite (RhBug:1913465)
0f2056
0f2056
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.16.2-3
0f2056
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
0f2056
0f2056
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.2-2
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0f2056
0f2056
* Mon Nov 23 2020 Nicola Sella <nsella@redhat.com> - 0.16.2-1
0f2056
- Fix various memory leaks
0f2056
- Add a new function to replace PyObject_ToStrOrNull()
0f2056
0f2056
* Tue Oct 06 2020 Nicola Sella <nsella@redhat.com> - 0.16.1
0f2056
- Update to 0.16.1
0f2056
- Add the section number to the manual pages
0f2056
- Parse xml snippet in smaller parts (RhBug:1859689)
0f2056
- Add module metadata support to createrepo_c (RhBug:1795936)
0f2056
0f2056
* Fri Aug 07 2020 Nicola Sella <nsella@redhat.com> - 0.15.11-4
0f2056
- spec: Fix building with new cmake macros
0f2056
0f2056
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.11-3
0f2056
- Second attempt - Rebuilt for
0f2056
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0f2056
0f2056
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.11-2
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0f2056
0f2056
* Tue Jun 02 2020 Ales Matej <amatej@redhat.com> - 0.15.11-1
0f2056
- Update to 0.15.11
0f2056
- Switch updateinfo to explicitly include bool values (RhBug:1772466)
0f2056
- Enhance error handling when locating repositories (RhBug:1762697)
0f2056
- Make documentation for --update-md-path more specific
0f2056
- Clean up temporary .repodata on sigint
0f2056
- Add relogin_suggested to updatecollectionpackage (Rhbug:1779751)
0f2056
- Support issued date in epoch format in Python API (RhBug:1779751)
0f2056
- Allow parsing of xml repodata from string (RhBug: 1804308)
0f2056
- Remove expat xml library in favor of libxml2
0f2056
- Copy updateCollectionModule on assignment to prevent bogus data (RhBug:1821781)
0f2056
- Add --arch-expand option to mergerepo_c
0f2056
0f2056
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 0.15.5-3
0f2056
- Rebuilt for Python 3.9
0f2056
0f2056
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.5-2
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0f2056
0f2056
* Wed Jan 08 2020 Pavel Raiskup <praiskup@redhat.com> - 0.15.5-1
0f2056
- update to upstream 0.15.5 release, per
0f2056
  https://github.com/rpm-software-management/createrepo_c/compare/0.15.4...0.15.5
0f2056
- new option --recycle-pkglist for --update mode
0f2056
- a bit more optimal --update caching
0f2056
0f2056
* Wed Dec 11 2019 Mohan Boddu <mboddu@bhujji.com> - 0.15.4-1
0f2056
- Update to upstream 0.15.4 release
0f2056
0f2056
* Tue Sep 17 2019 Ales Matej <amatej@redhat.com> - 0.15.1-1
0f2056
- Update to 0.15.1
0f2056
- Allow pip to see installation of python3-createrepo_c
0f2056
- Imporove documentation
0f2056
- Switch off timestamping of documentation to avoid file conflics for createrepo_c-devel i686/x86_64 parallel installation
0f2056
- Remove dependency on deltarpm in favour of drpm
0f2056
0f2056
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.14.2-3
0f2056
- Rebuilt for Python 3.8
0f2056
0f2056
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.2-2
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0f2056
0f2056
* Thu Jun 27 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.14.2-1
0f2056
- Update to 0.14.2
0f2056
- Obsolete createrepo on all Fedoras again (RhBug:1702771)
0f2056
- Fix issue with createrepo_c hanging at the end (RhBug:1714666)
0f2056
- Don't include packages with forbidden control chars in repodata
0f2056
0f2056
* Mon Jun 10 22:13:18 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.1-4
0f2056
- Rebuild for RPM 4.15
0f2056
0f2056
* Mon Jun 10 15:42:00 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.14.1-3
0f2056
- Rebuild for RPM 4.15
0f2056
0f2056
* Tue May 28 2019 Stephen Gallagher <sgallagh@redhat.com> - 0.14.1-2
0f2056
- Depend on the appropriate minimum version of libmodulemd
0f2056
0f2056
* Fri May 24 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.14.1-1
0f2056
- Update to 0.14.1
0f2056
- Add --pkgorigins mode for Koji
0f2056
- Correct pkg count in headers if there were invalid pkgs (RhBug:1596211)
0f2056
- Prevent exiting with 0 if errors occur while finalizing repodata.
0f2056
0f2056
* Mon May 20 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.13.2-2
0f2056
- Backport patch to fix crash when dumping updateinfo and module is ommited (RhBug:1707981)
0f2056
0f2056
* Tue May 07 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.13.2-1
0f2056
- Update to 0.13.2
0f2056
- Add support for reading and merging module metadata
0f2056
- Add support for modular errata (RhBug:1656584)
0f2056
- Update --keep-all-metadata to keep all additional metadata, not just updateinfo and groupfile (RhBug:1639287)
0f2056
- mergerepo_c: Add support for --koji simple mode
0f2056
- Fix generating corrupted sqlite files (RhBug: 1696808)
0f2056
- modifyrepo_c: Prevent doubling of compression suffix (test.gz.gz)
0f2056
- Do not obsolete createrepo on Fedora < 31
0f2056
0f2056
* Mon Mar 11 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.12.2-1
0f2056
- Update to 0.12.2
0f2056
- mergerepo_c: check if nevra is NULL and warn user about src.rpm naming
0f2056
- Consistently produce valid URLs by prepending protocol. (RhBug:1632121)
0f2056
0f2056
* Wed Feb 13 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 0.12.1-1
0f2056
- Update to 0.12.1-1
0f2056
- Include file timestamp in repomd.xml to allow reproducing exact metadata as produced in the past
0f2056
- Enhance support of zchunk
0f2056
0f2056
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.0-2
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0f2056
0f2056
* Wed Dec 12 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.12.0-1
0f2056
- Update to 0.12.0
0f2056
- Support of zchunk
0f2056
0f2056
* Mon Nov 26 2018 Miro Hrončok <mhroncok@redhat.com> - 0.11.1-2
0f2056
- Drop Python 2 subpackage on Fedora 30 (#1651182)
0f2056
0f2056
* Tue Jul 31 2018 Daniel Mach <dmach@redhat.com> - 0.11.1-1
0f2056
- [spec] Fix ldconfig for rhel <= 7
0f2056
- Fix "CR_DELTA_RPM_SUPPORT" redefined warnings
0f2056
- Set to build against Python 3 by default
0f2056
- Update README
0f2056
- Add mergerepo_c --repo-prefix-search and --repo-prefix-replace.
0f2056
- Fix missing packages in mergerepo_c in case multiple VR exists for single pkg in repo.
0f2056
0f2056
* Wed Jul 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-4
0f2056
- Backport patch for multiple packages with same name for mergerepo_c
0f2056
0f2056
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0f2056
0f2056
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-2
0f2056
- Rebuilt for Python 3.7
0f2056
0f2056
* Wed Jun 27 2018 Marek Blaha <mblaha@redhat.com> - 0.11.0-1
0f2056
- Update to 0.11.0
0f2056
0f2056
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-21
0f2056
- Rebuilt for Python 3.7
0f2056
0f2056
* Wed May 16 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.10.0-20
0f2056
- Obsolete and provide createrepo
0f2056
0f2056
* Fri Mar 16 2018 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-19
0f2056
- Conditionalize the Python 2 subpackage
0f2056
- Don't build the Python 2 subpackage on EL > 7
0f2056
0f2056
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10.0-18
0f2056
- Update Python 2 dependency declarations to new packaging standards
0f2056
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
0f2056
0f2056
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-17
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0f2056
0f2056
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-16
0f2056
- Switch to %%ldconfig_scriptlets
0f2056
0f2056
* Fri Dec 22 2017 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.10.0-15
0f2056
- Backport PR#64 and #66
0f2056
0f2056
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-14
0f2056
- Rebuilt after RPM update (№ 3)
0f2056
0f2056
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-13
0f2056
- Rebuilt for RPM soname bump
0f2056
0f2056
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-12
0f2056
- Rebuilt for RPM soname bump
0f2056
0f2056
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-11
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0f2056
0f2056
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-10
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0f2056
0f2056
* Mon Feb 13 2017 Pavel Raiskup <praiskup@redhat.com> - 0.10.0-9
0f2056
- backport patches for double-free in --ignore-lock (rhbz#1355720)
0f2056
0f2056
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-8
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0f2056
0f2056
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.10.0-7
0f2056
- Rebuild for Python 3.6
0f2056
0f2056
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-6
0f2056
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
0f2056
0f2056
* Tue Apr 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-5
0f2056
- Make drpm builds conditional
0f2056
0f2056
* Sun Apr 10 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-4
0f2056
- Don't own python3_sitearch dir in python3 subpkg
0f2056
- Use %%license macro
0f2056
- Follow modern packaging guidelines
0f2056
- Cleanups in spec file
0f2056
- Follow packaging guidelines about SourceURL
0f2056
- Fix license
0f2056
0f2056
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
0f2056
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0f2056
0f2056
* Fri Jan 8 2016 Orion Poplawski <orion@cora.nwra.com> - 0.10.0-2
0f2056
- Remove comments causing trouble with post/postun scriptlets
0f2056
0f2056
* Tue Jan   5 2016 Tomas Mlcoch <tmlcoch at redhat.com> - 0.10.0-1
0f2056
- Python 3 support (made by Ralph Bean)
0f2056
- Modify gen_rst.py to indicate --sqliterepo is an option too (Neal Gompa)
0f2056
- Do not compress manpages at generation time (Neal Gompa)
0f2056
0f2056
* Tue Oct  20 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.9.1-1
0f2056
- Fix double free during parsing broken XML metadata (Issue #33)
0f2056
- Tests: Add acceptance test for --general-compress-type option
0f2056
- Fix 'CR_CW_UNKNOWN_COMPRESSION cannot be used' error
0f2056
- Refactoring: Fix compiler warnings
0f2056
- Add --general-compress-type option (RhBug 1253850)
0f2056
- Enable drpm support when drpm library is detected on system (RhBug: 1261031) (Issue #37)
0f2056
- fix traceback on non-complete datetime information (Jarek Polok)
0f2056
- parsehdr: Skip broken dependency with bad (non-numerical) epoch and print warning about that
0f2056
  (https://lists.fedoraproject.org/pipermail/devel/2015-August/213882.html)
0f2056
- misc: cr_str_to_evr(): Return NULL instead of "0" for bad (non-numerical) epoch
0f2056
- updateinfo: Fix a typo in the package release attribute (Luke Macken)
0f2056
- CMake: Don't require CXX compiler
0f2056
- Tests for different checksum type for RPMs and repodata files (#31)
0f2056
- Support different checksum type for RPMs and repodata files (#31)
0f2056
0f2056
* Tue Jul   7 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.9.0-2
0f2056
- Add drpm as a BuildRequire
0f2056
0f2056
* Thu May  28 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.9.0-1
0f2056
- mergerepo_c: Prepend protocol (file://) for URLs in pkgorigins (if --koji is used)
0f2056
- Update bash completion
0f2056
- doc: Update manpages
0f2056
- mergerepo: Fix NVR merging method
0f2056
- mergerepo: Fix behavior of --all param
0f2056
- createrepo: Add --cut-dirs and --location-prefix options
0f2056
- misc: Add cr_cut_dirs()
0f2056
- mergerepo: Use better version comparison algorithm
0f2056
- utils: Port cr_cmp_version_str() to rpm's algorithm (rpmvercmp)
0f2056
- misc: Rename elements in cr_Version structure
0f2056
- mergerepo: Fix version-release comparison for packages when --all is used
0f2056
- mergerepo: Show warnings if some groupfile cannot be automatically used
0f2056
- mergerepo: Exit with error code when a groupfile cannot be copied
0f2056
0f2056
* Fri May  15 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.3-1
0f2056
- mergerepo: Do not prepend file:// if protocol is already specified
0f2056
0f2056
* Thu May  14 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.2-1
0f2056
- doc: Add man pages for sqliterepo and update manpages for other tools
0f2056
- mergerepo: Work only with noarch packages if --koji is used and
0f2056
  no archlist is specified
0f2056
- mergerepo: Use file:// protocol in local baseurl
0f2056
- mergerepo: Do not include baseurl for first repo if --koji is specified (RhBug: 1220082)
0f2056
- mergerepo_c: Support multilib arch for --koji repos
0f2056
- mergerepo_c: Refactoring
0f2056
- Print debug message with version in each tool when --verbose is used
0f2056
- modifyrepo: Don't override file with itself (RhBug: 1215229)
0f2056
0f2056
* Wed May   6 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.1-1
0f2056
- Fix bash completion for RHEL 6
0f2056
0f2056
* Tue May   5 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.0-1
0f2056
- New tool Sqliterepo_c - It generates sqlite databases into repos
0f2056
  where the sqlite is missing.
0f2056
- Internal refactoring and code cleanup
0f2056
0f2056
* Fri Feb  20 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.7-1
0f2056
- Proper directory for temporary files when --local-sqlite is used (Issue #12)
0f2056
- Bring bash completion install dir and filenames up to date with current bash-completion
0f2056
0f2056
* Thu Jan   8 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.6-1
0f2056
- Python: Add __contains__ method to Repomd() class
0f2056
0f2056
* Sun Dec  28 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.5-1
0f2056
- Python repomd: Support for iteration and indexing by type - e.g. record = repomd['primary']
0f2056
- Show warning if an XML parser probably parsed a bad type of medata (New XML parser warning type CR_XML_WARNING_BADMDTYPE)
0f2056
- drpm library: Explicitly try to locate libdrpm.so.0
0f2056
- deltarpms: Don't show options for delta rpms if support is not available
0f2056
0f2056
* Tue Nov  11 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.4-1
0f2056
- createrepo_c, mergerepo_c: Follow redirs by default while downloading remote repos
0f2056
- mergerepo_c: Fix segfault when a package without sourcerpm is part of metadata and --koji option is used
0f2056
0f2056
* Mon Nov  10 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.3-1
0f2056
- xml_parser: Add file path into error messages
0f2056
- Refactor: Replace g_error() with g_critical() (RhBug: 1162102)
0f2056
0f2056
* Thu Nov  06 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.2-1
0f2056
- createrepo_c: New option --local-sqlite
0f2056
0f2056
* Fri Oct  31 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.1-1
0f2056
- Mergerepo: Fix mergerepo
0f2056
- Mergerepo: Add some debugging of metadata read.
0f2056
0f2056
* Mon Oct  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.0-1
0f2056
- deltarpms: Update module to work with current version of drpm
0f2056
- mergerepo_c: Add --omit-baseurl option
0f2056
- craterepo_c: Gen empty repo if empty pkglist is used
0f2056
- Docs: Output python docs to separate directory
0f2056
- Several small fixes
0f2056
0f2056
* Tue Aug  12 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.6.1-1
0f2056
- updateinfo: Use Python datetime objects in python bindings
0f2056
0f2056
* Tue Aug   5 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.6.0-1
0f2056
- Support for updateinfo.xml manipulation (including Python bindings)
0f2056
0f2056
* Fri Jul  18 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.5.0-1
0f2056
- Experimental delta rpm (DRPM) support (Disabled in Fedora build).
0f2056
0f2056
* Thu Jun  26 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.4.1-1
0f2056
- Initialize threads correctly on old versions of GLib2 (RhBug: 1108787)
0f2056
- Do not print log domain (get rid off C_CREATEREPOLIB prefix in log messages)
0f2056
- Implements support for --cachedir
0f2056
- New option --retain-old-md-by-age
0f2056
- Few small API changes
0f2056
0f2056
* Tue May   6 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.4.0-1
0f2056
- Change default behavior of repodata files handling. (RhBug: 1094539)
0f2056
  See: https://github.com/Tojaj/createrepo_c/wiki/New-File-Handling
0f2056
  By default, createrepo leaves old groupfiles (comps files)
0f2056
  in the repodata/ directory during update.
0f2056
  Createrepo_c did the same thing but the version 0.4.0 changes this behaviour.
0f2056
0f2056
* Thu Apr  10 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.3.1-2
0f2056
- Support for weak and rich dependecies
0f2056
0f2056
* Mon Mar  10 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.3.0-1
0f2056
- Relevant only for developers using createrepo_c library: New approach for
0f2056
  metadata loading in case of internal high-level parser functions (see commit
0f2056
  messages for more information: d6ed327595, 0b0e75203e, ad1e8450f5)
0f2056
- Support for changelog limit value == -1 (include all changelogs)
0f2056
- Update debug compilation flags
0f2056
- Update man pages (Add synompsis with usage)
0f2056
- Update usage examples in help
0f2056
0f2056
* Thu Feb  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.2-1
0f2056
- Temporary remove deltarepo subpackages
0f2056
- cmake: Do not install deltarepo stuff yet
0f2056
- helper: Removed cr_remove_metadata() and cr_get_list_of_md_locations()
0f2056
- Add module helpers
0f2056
- Sanitize strings before writting them to XML or sqlitedb (ISSUE #3)
0f2056
0f2056
* Mon Jan  27 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.1-3
0f2056
- New expert option: --ignore-lock
0f2056
0f2056
* Mon Jan  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.1-2
0f2056
- More effort to avoid residual .repodata/ directory on error
0f2056
- Add deltarepo and python-deltarepo subpackages
0f2056
- Add modifyrepo_c
0f2056
- Add documentation for python bindings
0f2056
- Refactored code & a lot of little bug fixes
0f2056
0f2056
* Wed Aug  14 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.1-1
0f2056
- checksum: Set SHA to be the same as SHA1 (For compatibility with original
0f2056
  Createrepo)
0f2056
0f2056
* Mon Aug   5 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.0-1
0f2056
- Speedup (More parallelization)
0f2056
- Changed C API
0f2056
- Add python bindings
0f2056
- A lot of bugfixes
0f2056
- Add new make targets: tests (make tests - builds c tests) and test
0f2056
  (make test - runs c and python test suits).
0f2056
- Changed interface of most of C modules - Better error reporting
0f2056
  (Add GError ** param).
0f2056
- Experimental Python bindings (Beware: The interface is not final yet!).
0f2056
- package: Add cr_package_copy method.
0f2056
- sqlite: Do not recreate tables and triggers while opening existing db.
0f2056
- mergerepo_c: Implicitly use --all with --koji.
0f2056
- Man page update.
0f2056
0f2056
* Thu Apr  11 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.17-3
0f2056
- mergerepo_c: Add --simple-md-filenames and --unique-md-filenames
0f2056
options. (RhBug: 950994)
0f2056
- mergerepo_c: Always include noarch while mimic koji
0f2056
mergerepos. (RhBug: 950991)
0f2056
- Rename cr_package_parser_shutdown to cr_package_parser_cleanup()
0f2056
- cr_db_info_update is now safe from sqlinjection.
0f2056
0f2056
* Mon Mar  25 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.17-1
0f2056
- Fix double free() when old metadata parsing failed. (related to RhBug: 920795)
0f2056
- Convert all strings to UTF-8 while dumping XML. (related RhBug: 920795)
0f2056
0f2056
* Mon Mar  11 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.16-2
0f2056
- Remove creation of own empty rpm keyring for a transaction set.
0f2056
This is not necessary since rpm-4.8.0-28 (rpm commit
0f2056
cad147070e5513312d851f44998012e8f0cdf1e3). Moreover, own rpm keyring
0f2056
causes a race condition in threads (causing double free()) which use
0f2056
rpmReadPackageFile() called from cr_package_from_rpm().
0f2056
0f2056
* Thu Mar  07 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.16-1
0f2056
- Fix usage of rpm keyring (RhBug:918645)
0f2056
- More generic interface of repomd module
0f2056
- Code refactoring
0f2056
- Add some usage examples into the doxygen documentation and .h files
0f2056
- Rename version constants in version.h
0f2056
- New function cr_package_nevra (returns package nevra string)
0f2056
0f2056
* Mon Feb  11 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.15-1
0f2056
- Fix bug in final move from .repodata/ -> repodata/
0f2056
- Fix warnings from RPM library. RPM library is thread-unsafe. This
0f2056
includes also reading headers. Use of empty keyring for rpm transaction
0f2056
should work around the problem.
0f2056
0f2056
* Tue Nov  27 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.14-1
0f2056
- Fix filelists database generation (use '.' instead of '' for current dir)
0f2056
0f2056
* Tue Nov  20 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.13-1
0f2056
- Fix race-condition during task buffering in createrepo_c
0f2056
0f2056
* Tue Nov  20 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.12-2
0f2056
- Fix removing old repomd.xml while --update
0f2056
0f2056
* Thu Nov  15 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.12-1
0f2056
- Fix bug in sqlite filelists database
0f2056
- Fix memory leak
0f2056
0f2056
* Fri Nov  09 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.11-1
0f2056
- Deterministic output! Packages in output repodata are now sorted
0f2056
by ASCII value
0f2056
- Support for Koji mergerepos behaviour in mergerepo_c
0f2056
(new --koji, --groupfile and --blocked params)
0f2056
- Better atomicity while finall move .repodata/ -> repodata/
0f2056
- Repomd module supports pkgorigins record
0f2056
- Some new functions in misc module
0f2056
- Small changes in library interface
0f2056
0f2056
* Wed Oct  03 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.10-1
0f2056
- Another memory usage optimalization
0f2056
0f2056
* Mon Sep  03 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.9-1
0f2056
- Some changes in library interface
0f2056
- Memory usage optimalization
0f2056
- Fix a segfault and a race condition
0f2056
- New cmd options: --read-pkgs-list and --retain-old-md param
0f2056
- Few other bugfixes
0f2056
0f2056
* Wed Aug  15 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.8-1
0f2056
- New interface of repomd module
0f2056
- New cmd options: --repo --revision --distro --content --basedir
0f2056
- New createrepo_c specific cmd option --keep-all-metadata
0f2056
- Few bugfixes
0f2056
0f2056
* Thu Jul  26 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.7-1
0f2056
- SQLite support
0f2056
- Bash completion
0f2056
- createrepo_c support for --compress-type param
0f2056
- Improved logging
0f2056
- Subpackages -devel and -libsi
0f2056
- Relicensed to GPLv2
0f2056
- Doxygen documentation in devel package
0f2056
- README update
0f2056
0f2056
* Mon Jun  11 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.5-1
0f2056
- Support for .xz compression
0f2056
- Unversioned .so excluded from installation
0f2056
0f2056
* Mon Jun   4 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.4-1
0f2056
- New mergerepo params: --all, --noarch-repo and --method
0f2056
- Fix segfault when more than one --excludes param used
0f2056
0f2056
* Mon May  28 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.3-1
0f2056
- Set RelWithDebInfo as default cmake build type
0f2056
0f2056
* Wed May  23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.2-1
0f2056
- Add version.h header file
0f2056
0f2056
* Wed May  23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.1-1
0f2056
- Add license
0f2056
0f2056
* Wed May  9 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.0-1
0f2056
- First public release