Blame SPECS/createrepo_c.spec

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