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