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