Blame SPECS/createrepo_c.spec

cd63e5
%{!?_licensedir:%global license %%doc}
cd63e5
cd63e5
# Bash completion (we need different approach for RHEL-6)
cd63e5
%if 0%{?rhel} == 6
cd63e5
%global bash_completion %config%{_sysconfdir}/bash_completion.d/createrepo_c.bash
cd63e5
%else
cd63e5
%global bash_completion %{_datadir}/bash-completion/completions/*
cd63e5
%endif
cd63e5
cd63e5
%{!?python2_sitearch:%global python2_sitearch %{python_sitearch}}
cd63e5
cd63e5
%if 0%{?rhel} && 0%{?rhel} <= 7
cd63e5
%bcond_with python3
cd63e5
%bcond_with drpm
cd63e5
%else
cd63e5
%bcond_without python3
cd63e5
%bcond_without drpm
cd63e5
%endif
cd63e5
cd63e5
Summary:        Creates a common metadata repository
cd63e5
Name:           createrepo_c
cd63e5
Version:        0.10.0
cd63e5
Release:        18%{?dist}
cd63e5
License:        GPLv2+
cd63e5
URL:            https://github.com/rpm-software-management/createrepo_c
cd63e5
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
cd63e5
cd63e5
Patch0:         createrepo_c-0.10.0-ignorelock-doublefree.patch
cd63e5
Patch1:		https://patch-diff.githubusercontent.com/raw/rpm-software-management/createrepo_c/pull/64.patch
cd63e5
Patch2:		https://patch-diff.githubusercontent.com/raw/rpm-software-management/createrepo_c/pull/66.patch
cd63e5
cd63e5
BuildRequires:  cmake
cd63e5
BuildRequires:  gcc
cd63e5
BuildRequires:  bzip2-devel
cd63e5
BuildRequires:  doxygen
cd63e5
BuildRequires:  expat-devel
cd63e5
BuildRequires:  file-devel
cd63e5
BuildRequires:  glib2-devel >= 2.22.0
cd63e5
BuildRequires:  libcurl-devel
cd63e5
BuildRequires:  libxml2-devel
cd63e5
BuildRequires:  openssl-devel
cd63e5
BuildRequires:  rpm-devel >= 4.8.0-28
cd63e5
BuildRequires:  sqlite-devel
cd63e5
BuildRequires:  xz-devel
cd63e5
BuildRequires:  zlib-devel
cd63e5
Requires:       %{name}-libs =  %{version}-%{release}
cd63e5
%if 0%{?rhel} == 6
cd63e5
Requires: rpm >= 4.8.0-28
cd63e5
%else
cd63e5
BuildRequires:  bash-completion
cd63e5
Requires: rpm >= 4.9.0
cd63e5
%endif
cd63e5
%if %{with drpm}
cd63e5
BuildRequires:  drpm-devel >= 0.1.3
cd63e5
%endif
cd63e5
cd63e5
%description
cd63e5
C implementation of Createrepo.
cd63e5
A set of utilities (createrepo_c, mergerepo_c, modifyrepo_c)
cd63e5
for generating a common metadata repository from a directory of
cd63e5
rpm packages and maintaining it.
cd63e5
cd63e5
%package libs
cd63e5
Summary:    Library for repodata manipulation
cd63e5
cd63e5
%description libs
cd63e5
Libraries for applications using the createrepo_c library
cd63e5
for easy manipulation with a repodata.
cd63e5
cd63e5
%package devel
cd63e5
Summary:    Library for repodata manipulation
cd63e5
Requires:   %{name}-libs%{?_isa} = %{version}-%{release}
cd63e5
cd63e5
%description devel
cd63e5
This package contains the createrepo_c C library and header files.
cd63e5
These development files are for easy manipulation with a repodata.
cd63e5
cd63e5
%package -n python2-%{name}
cd63e5
Summary:        Python bindings for the createrepo_c library
cd63e5
%{?python_provide:%python_provide python2-%{name}}
cd63e5
BuildRequires:  python2-devel
cd63e5
BuildRequires:  python2-nose
cd63e5
BuildRequires:  python-sphinx
cd63e5
Requires:       %{name}-libs = %{version}-%{release}
cd63e5
cd63e5
%description -n python2-%{name}
cd63e5
Python bindings for the createrepo_c library.
cd63e5
cd63e5
%if %{with python3}
cd63e5
%package -n python3-%{name}
cd63e5
Summary:        Python 3 bindings for the createrepo_c library
cd63e5
%{?python_provide:%python_provide python3-%{name}}
cd63e5
BuildRequires:  python3-devel
cd63e5
BuildRequires:  python3-nose
cd63e5
BuildRequires:  python3-sphinx
cd63e5
Requires:       %{name}-libs = %{version}-%{release}
cd63e5
cd63e5
%description -n python3-%{name}
cd63e5
Python 3 bindings for the createrepo_c library.
cd63e5
%endif
cd63e5
cd63e5
%prep
cd63e5
%autosetup -p1
cd63e5
mkdir build
cd63e5
%if %{with python3}
cd63e5
mkdir build-py3
cd63e5
%endif
cd63e5
cd63e5
%build
cd63e5
# Build createrepo_c with Python 2
cd63e5
pushd build
cd63e5
  %cmake ../
cd63e5
  make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}"
cd63e5
popd
cd63e5
cd63e5
# Build createrepo_c with Pyhon 3
cd63e5
%if %{with python3}
cd63e5
pushd build-py3
cd63e5
  %cmake ../ -DPYTHON_DESIRED:str=3
cd63e5
  make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}"
cd63e5
popd
cd63e5
%endif
cd63e5
cd63e5
# Build C documentation
cd63e5
pushd build
cd63e5
  make doc-c
cd63e5
popd
cd63e5
cd63e5
%check
cd63e5
pushd build
cd63e5
  # Compile C tests
cd63e5
  make tests
cd63e5
cd63e5
  # Run Python 2 tests
cd63e5
  make ARGS="-V" test
cd63e5
popd
cd63e5
cd63e5
# Run Python 3 tests
cd63e5
%if %{with python3}
cd63e5
pushd build-py3
cd63e5
  make ARGS="-V" test
cd63e5
popd
cd63e5
%endif
cd63e5
cd63e5
%install
cd63e5
cd63e5
pushd build
cd63e5
  # Install createrepo_c with Python 2
cd63e5
  make install DESTDIR=%{buildroot}
cd63e5
popd
cd63e5
cd63e5
# Install createrepo_c with Python 3
cd63e5
%if %{with python3}
cd63e5
pushd build-py3
cd63e5
  make install DESTDIR=%{buildroot}
cd63e5
popd
cd63e5
%endif
cd63e5
cd63e5
%post -p /sbin/ldconfig
cd63e5
%postun -p /sbin/ldconfig
cd63e5
cd63e5
%files
cd63e5
%doc README.md
cd63e5
%{_mandir}/man8/createrepo_c.8*
cd63e5
%{_mandir}/man8/mergerepo_c.8*
cd63e5
%{_mandir}/man8/modifyrepo_c.8*
cd63e5
%{_mandir}/man8/sqliterepo_c.8*
cd63e5
%{bash_completion}
cd63e5
%{_bindir}/createrepo_c
cd63e5
%{_bindir}/mergerepo_c
cd63e5
%{_bindir}/modifyrepo_c
cd63e5
%{_bindir}/sqliterepo_c
cd63e5
cd63e5
%files libs
cd63e5
%license COPYING
cd63e5
%{_libdir}/lib%{name}.so.*
cd63e5
cd63e5
%files devel
cd63e5
%doc build/doc/html
cd63e5
%{_libdir}/lib%{name}.so
cd63e5
%{_libdir}/pkgconfig/%{name}.pc
cd63e5
%{_includedir}/%{name}/
cd63e5
cd63e5
%files -n python2-%{name}
cd63e5
%{python2_sitearch}/%{name}/
cd63e5
cd63e5
%if %{with python3}
cd63e5
%files -n python3-%{name}
cd63e5
%{python3_sitearch}/%{name}/
cd63e5
%endif
cd63e5
cd63e5
%changelog
cd63e5
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10.0-18
cd63e5
- Update Python 2 dependency declarations to new packaging standards
cd63e5
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
cd63e5
cd63e5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-17
cd63e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cd63e5
cd63e5
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-16
cd63e5
- Switch to %%ldconfig_scriptlets
cd63e5
cd63e5
* Fri Dec 22 2017 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.10.0-15
cd63e5
- Backport PR#64 and #66
cd63e5
cd63e5
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-14
cd63e5
- Rebuilt after RPM update (â„– 3)
cd63e5
cd63e5
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-13
cd63e5
- Rebuilt for RPM soname bump
cd63e5
cd63e5
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-12
cd63e5
- Rebuilt for RPM soname bump
cd63e5
cd63e5
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-11
cd63e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cd63e5
cd63e5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-10
cd63e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cd63e5
cd63e5
* Mon Feb 13 2017 Pavel Raiskup <praiskup@redhat.com> - 0.10.0-9
cd63e5
- backport patches for double-free in --ignore-lock (rhbz#1355720)
cd63e5
cd63e5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-8
cd63e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cd63e5
cd63e5
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 0.10.0-7
cd63e5
- Rebuild for Python 3.6
cd63e5
cd63e5
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-6
cd63e5
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
cd63e5
cd63e5
* Tue Apr 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-5
cd63e5
- Make drpm builds conditional
cd63e5
cd63e5
* Sun Apr 10 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.10.0-4
cd63e5
- Don't own python3_sitearch dir in python3 subpkg
cd63e5
- Use %%license macro
cd63e5
- Follow modern packaging guidelines
cd63e5
- Cleanups in spec file
cd63e5
- Follow packaging guidelines about SourceURL
cd63e5
- Fix license
cd63e5
cd63e5
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
cd63e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cd63e5
cd63e5
* Fri Jan 8 2016 Orion Poplawski <orion@cora.nwra.com> - 0.10.0-2
cd63e5
- Remove comments causing trouble with post/postun scriptlets
cd63e5
cd63e5
* Tue Jan   5 2016 Tomas Mlcoch <tmlcoch at redhat.com> - 0.10.0-1
cd63e5
- Python 3 support (made by Ralph Bean)
cd63e5
- Modify gen_rst.py to indicate --sqliterepo is an option too (Neal Gompa)
cd63e5
- Do not compress manpages at generation time (Neal Gompa)
cd63e5
cd63e5
* Tue Oct  20 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.9.1-1
cd63e5
- Fix double free during parsing broken XML metadata (Issue #33)
cd63e5
- Tests: Add acceptance test for --general-compress-type option
cd63e5
- Fix 'CR_CW_UNKNOWN_COMPRESSION cannot be used' error
cd63e5
- Refactoring: Fix compiler warnings
cd63e5
- Add --general-compress-type option (RhBug 1253850)
cd63e5
- Enable drpm support when drpm library is detected on system (RhBug: 1261031) (Issue #37)
cd63e5
- fix traceback on non-complete datetime information (Jarek Polok)
cd63e5
- parsehdr: Skip broken dependency with bad (non-numerical) epoch and print warning about that
cd63e5
  (https://lists.fedoraproject.org/pipermail/devel/2015-August/213882.html)
cd63e5
- misc: cr_str_to_evr(): Return NULL instead of "0" for bad (non-numerical) epoch
cd63e5
- updateinfo: Fix a typo in the package release attribute (Luke Macken)
cd63e5
- CMake: Don't require CXX compiler
cd63e5
- Tests for different checksum type for RPMs and repodata files (#31)
cd63e5
- Support different checksum type for RPMs and repodata files (#31)
cd63e5
cd63e5
* Tue Jul   7 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.9.0-2
cd63e5
- Add drpm as a BuildRequire
cd63e5
cd63e5
* Thu May  28 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.9.0-1
cd63e5
- mergerepo_c: Prepend protocol (file://) for URLs in pkgorigins (if --koji is used)
cd63e5
- Update bash completion
cd63e5
- doc: Update manpages
cd63e5
- mergerepo: Fix NVR merging method
cd63e5
- mergerepo: Fix behavior of --all param
cd63e5
- createrepo: Add --cut-dirs and --location-prefix options
cd63e5
- misc: Add cr_cut_dirs()
cd63e5
- mergerepo: Use better version comparison algorithm
cd63e5
- utils: Port cr_cmp_version_str() to rpm's algorithm (rpmvercmp)
cd63e5
- misc: Rename elements in cr_Version structure
cd63e5
- mergerepo: Fix version-release comparison for packages when --all is used
cd63e5
- mergerepo: Show warnings if some groupfile cannot be automatically used
cd63e5
- mergerepo: Exit with error code when a groupfile cannot be copied
cd63e5
cd63e5
* Fri May  15 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.3-1
cd63e5
- mergerepo: Do not prepend file:// if protocol is already specified
cd63e5
cd63e5
* Thu May  14 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.2-1
cd63e5
- doc: Add man pages for sqliterepo and update manpages for other tools
cd63e5
- mergerepo: Work only with noarch packages if --koji is used and
cd63e5
  no archlist is specified
cd63e5
- mergerepo: Use file:// protocol in local baseurl
cd63e5
- mergerepo: Do not include baseurl for first repo if --koji is specified (RhBug: 1220082)
cd63e5
- mergerepo_c: Support multilib arch for --koji repos
cd63e5
- mergerepo_c: Refactoring
cd63e5
- Print debug message with version in each tool when --verbose is used
cd63e5
- modifyrepo: Don't override file with itself (RhBug: 1215229)
cd63e5
cd63e5
* Wed May   6 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.1-1
cd63e5
- Fix bash completion for RHEL 6
cd63e5
cd63e5
* Tue May   5 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.8.0-1
cd63e5
- New tool Sqliterepo_c - It generates sqlite databases into repos
cd63e5
  where the sqlite is missing.
cd63e5
- Internal refactoring and code cleanup
cd63e5
cd63e5
* Fri Feb  20 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.7-1
cd63e5
- Proper directory for temporary files when --local-sqlite is used (Issue #12)
cd63e5
- Bring bash completion install dir and filenames up to date with current bash-completion
cd63e5
cd63e5
* Thu Jan   8 2015 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.6-1
cd63e5
- Python: Add __contains__ method to Repomd() class
cd63e5
cd63e5
* Sun Dec  28 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.5-1
cd63e5
- Python repomd: Support for iteration and indexing by type - e.g. record = repomd['primary']
cd63e5
- Show warning if an XML parser probably parsed a bad type of medata (New XML parser warning type CR_XML_WARNING_BADMDTYPE)
cd63e5
- drpm library: Explicitly try to locate libdrpm.so.0
cd63e5
- deltarpms: Don't show options for delta rpms if support is not available
cd63e5
cd63e5
* Tue Nov  11 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.4-1
cd63e5
- createrepo_c, mergerepo_c: Follow redirs by default while downloading remote repos
cd63e5
- mergerepo_c: Fix segfault when a package without sourcerpm is part of metadata and --koji option is used
cd63e5
cd63e5
* Mon Nov  10 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.3-1
cd63e5
- xml_parser: Add file path into error messages
cd63e5
- Refactor: Replace g_error() with g_critical() (RhBug: 1162102)
cd63e5
cd63e5
* Thu Nov  06 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.2-1
cd63e5
- createrepo_c: New option --local-sqlite
cd63e5
cd63e5
* Fri Oct  31 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.1-1
cd63e5
- Mergerepo: Fix mergerepo
cd63e5
- Mergerepo: Add some debugging of metadata read.
cd63e5
cd63e5
* Mon Oct  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.7.0-1
cd63e5
- deltarpms: Update module to work with current version of drpm
cd63e5
- mergerepo_c: Add --omit-baseurl option
cd63e5
- craterepo_c: Gen empty repo if empty pkglist is used
cd63e5
- Docs: Output python docs to separate directory
cd63e5
- Several small fixes
cd63e5
cd63e5
* Tue Aug  12 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.6.1-1
cd63e5
- updateinfo: Use Python datetime objects in python bindings
cd63e5
cd63e5
* Tue Aug   5 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.6.0-1
cd63e5
- Support for updateinfo.xml manipulation (including Python bindings)
cd63e5
cd63e5
* Fri Jul  18 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.5.0-1
cd63e5
- Experimental delta rpm (DRPM) support (Disabled in Fedora build).
cd63e5
cd63e5
* Thu Jun  26 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.4.1-1
cd63e5
- Initialize threads correctly on old versions of GLib2 (RhBug: 1108787)
cd63e5
- Do not print log domain (get rid off C_CREATEREPOLIB prefix in log messages)
cd63e5
- Implements support for --cachedir
cd63e5
- New option --retain-old-md-by-age
cd63e5
- Few small API changes
cd63e5
cd63e5
* Tue May   6 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.4.0-1
cd63e5
- Change default behavior of repodata files handling. (RhBug: 1094539)
cd63e5
  See: https://github.com/Tojaj/createrepo_c/wiki/New-File-Handling
cd63e5
  By default, createrepo leaves old groupfiles (comps files)
cd63e5
  in the repodata/ directory during update.
cd63e5
  Createrepo_c did the same thing but the version 0.4.0 changes this behaviour.
cd63e5
cd63e5
* Thu Apr  10 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.3.1-2
cd63e5
- Support for weak and rich dependecies
cd63e5
cd63e5
* Mon Mar  10 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.3.0-1
cd63e5
- Relevant only for developers using createrepo_c library: New approach for
cd63e5
  metadata loading in case of internal high-level parser functions (see commit
cd63e5
  messages for more information: d6ed327595, 0b0e75203e, ad1e8450f5)
cd63e5
- Support for changelog limit value == -1 (include all changelogs)
cd63e5
- Update debug compilation flags
cd63e5
- Update man pages (Add synompsis with usage)
cd63e5
- Update usage examples in help
cd63e5
cd63e5
* Thu Feb  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.2-1
cd63e5
- Temporary remove deltarepo subpackages
cd63e5
- cmake: Do not install deltarepo stuff yet
cd63e5
- helper: Removed cr_remove_metadata() and cr_get_list_of_md_locations()
cd63e5
- Add module helpers
cd63e5
- Sanitize strings before writting them to XML or sqlitedb (ISSUE #3)
cd63e5
cd63e5
* Mon Jan  27 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.1-3
cd63e5
- New expert option: --ignore-lock
cd63e5
cd63e5
* Mon Jan  20 2014 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.1-2
cd63e5
- More effort to avoid residual .repodata/ directory on error
cd63e5
- Add deltarepo and python-deltarepo subpackages
cd63e5
- Add modifyrepo_c
cd63e5
- Add documentation for python bindings
cd63e5
- Refactored code & a lot of little bug fixes
cd63e5
cd63e5
* Wed Aug  14 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.1-1
cd63e5
- checksum: Set SHA to be the same as SHA1 (For compatibility with original
cd63e5
  Createrepo)
cd63e5
cd63e5
* Mon Aug   5 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.2.0-1
cd63e5
- Speedup (More parallelization)
cd63e5
- Changed C API
cd63e5
- Add python bindings
cd63e5
- A lot of bugfixes
cd63e5
- Add new make targets: tests (make tests - builds c tests) and test
cd63e5
  (make test - runs c and python test suits).
cd63e5
- Changed interface of most of C modules - Better error reporting
cd63e5
  (Add GError ** param).
cd63e5
- Experimental Python bindings (Beware: The interface is not final yet!).
cd63e5
- package: Add cr_package_copy method.
cd63e5
- sqlite: Do not recreate tables and triggers while opening existing db.
cd63e5
- mergerepo_c: Implicitly use --all with --koji.
cd63e5
- Man page update.
cd63e5
cd63e5
* Thu Apr  11 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.17-3
cd63e5
- mergerepo_c: Add --simple-md-filenames and --unique-md-filenames
cd63e5
options. (RhBug: 950994)
cd63e5
- mergerepo_c: Always include noarch while mimic koji
cd63e5
mergerepos. (RhBug: 950991)
cd63e5
- Rename cr_package_parser_shutdown to cr_package_parser_cleanup()
cd63e5
- cr_db_info_update is now safe from sqlinjection.
cd63e5
cd63e5
* Mon Mar  25 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.17-1
cd63e5
- Fix double free() when old metadata parsing failed. (related to RhBug: 920795)
cd63e5
- Convert all strings to UTF-8 while dumping XML. (related RhBug: 920795)
cd63e5
cd63e5
* Mon Mar  11 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.16-2
cd63e5
- Remove creation of own empty rpm keyring for a transaction set.
cd63e5
This is not necessary since rpm-4.8.0-28 (rpm commit
cd63e5
cad147070e5513312d851f44998012e8f0cdf1e3). Moreover, own rpm keyring
cd63e5
causes a race condition in threads (causing double free()) which use
cd63e5
rpmReadPackageFile() called from cr_package_from_rpm().
cd63e5
cd63e5
* Thu Mar  07 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.16-1
cd63e5
- Fix usage of rpm keyring (RhBug:918645)
cd63e5
- More generic interface of repomd module
cd63e5
- Code refactoring
cd63e5
- Add some usage examples into the doxygen documentation and .h files
cd63e5
- Rename version constants in version.h
cd63e5
- New function cr_package_nevra (returns package nevra string)
cd63e5
cd63e5
* Mon Feb  11 2013 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.15-1
cd63e5
- Fix bug in final move from .repodata/ -> repodata/
cd63e5
- Fix warnings from RPM library. RPM library is thread-unsafe. This
cd63e5
includes also reading headers. Use of empty keyring for rpm transaction
cd63e5
should work around the problem.
cd63e5
cd63e5
* Tue Nov  27 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.14-1
cd63e5
- Fix filelists database generation (use '.' instead of '' for current dir)
cd63e5
cd63e5
* Tue Nov  20 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.13-1
cd63e5
- Fix race-condition during task buffering in createrepo_c
cd63e5
cd63e5
* Tue Nov  20 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.12-2
cd63e5
- Fix removing old repomd.xml while --update
cd63e5
cd63e5
* Thu Nov  15 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.12-1
cd63e5
- Fix bug in sqlite filelists database
cd63e5
- Fix memory leak
cd63e5
cd63e5
* Fri Nov  09 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.11-1
cd63e5
- Deterministic output! Packages in output repodata are now sorted
cd63e5
by ASCII value
cd63e5
- Support for Koji mergerepos behaviour in mergerepo_c
cd63e5
(new --koji, --groupfile and --blocked params)
cd63e5
- Better atomicity while finall move .repodata/ -> repodata/
cd63e5
- Repomd module supports pkgorigins record
cd63e5
- Some new functions in misc module
cd63e5
- Small changes in library interface
cd63e5
cd63e5
* Wed Oct  03 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.10-1
cd63e5
- Another memory usage optimalization
cd63e5
cd63e5
* Mon Sep  03 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.9-1
cd63e5
- Some changes in library interface
cd63e5
- Memory usage optimalization
cd63e5
- Fix a segfault and a race condition
cd63e5
- New cmd options: --read-pkgs-list and --retain-old-md param
cd63e5
- Few other bugfixes
cd63e5
cd63e5
* Wed Aug  15 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.8-1
cd63e5
- New interface of repomd module
cd63e5
- New cmd options: --repo --revision --distro --content --basedir
cd63e5
- New createrepo_c specific cmd option --keep-all-metadata
cd63e5
- Few bugfixes
cd63e5
cd63e5
* Thu Jul  26 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.7-1
cd63e5
- SQLite support
cd63e5
- Bash completion
cd63e5
- createrepo_c support for --compress-type param
cd63e5
- Improved logging
cd63e5
- Subpackages -devel and -libsi
cd63e5
- Relicensed to GPLv2
cd63e5
- Doxygen documentation in devel package
cd63e5
- README update
cd63e5
cd63e5
* Mon Jun  11 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.5-1
cd63e5
- Support for .xz compression
cd63e5
- Unversioned .so excluded from installation
cd63e5
cd63e5
* Mon Jun   4 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.4-1
cd63e5
- New mergerepo params: --all, --noarch-repo and --method
cd63e5
- Fix segfault when more than one --excludes param used
cd63e5
cd63e5
* Mon May  28 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.3-1
cd63e5
- Set RelWithDebInfo as default cmake build type
cd63e5
cd63e5
* Wed May  23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.2-1
cd63e5
- Add version.h header file
cd63e5
cd63e5
* Wed May  23 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.1-1
cd63e5
- Add license
cd63e5
cd63e5
* Wed May  9 2012 Tomas Mlcoch <tmlcoch at redhat.com> - 0.1.0-1
cd63e5
- First public release