Update to 0.12.0

This commit is contained in:
Jaroslav Mracek 2018-12-12 13:07:21 +01:00
parent e57547991a
commit 0386f991f6
3 changed files with 20 additions and 5 deletions

1
.gitignore vendored
View File

@ -41,3 +41,4 @@
/createrepo_c-0.10.0.tar.gz
/createrepo_c-0.11.0.tar.gz
/createrepo_c-0.11.1.tar.gz
/createrepo_c-0.12.0.tar.gz

View File

@ -19,10 +19,16 @@
%bcond_without python2
%endif
%if 0%{?rhel} || 0%{?fedora} <= 29
%bcond_with zchunk
%else
%bcond_without zchunk
%endif
Summary: Creates a common metadata repository
Name: createrepo_c
Version: 0.11.1
Release: 2%{?dist}
Version: 0.12.0
Release: 1%{?dist}
License: GPLv2+
URL: https://github.com/rpm-software-management/createrepo_c
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
@ -41,6 +47,10 @@ BuildRequires: rpm-devel >= 4.8.0-28
BuildRequires: sqlite-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel
%if %{with zchunk}
BuildRequires: pkgconfig(zck) >= 0.9.11
BuildRequires: zchunk
%endif
Requires: %{name}-libs = %{version}-%{release}
%if 0%{?rhel} == 6
Requires: rpm >= 4.8.0-28
@ -115,7 +125,7 @@ mkdir build-py3
# Build createrepo_c with Python 2
%if %{with python2}
pushd build-py2
%cmake .. -DPYTHON_DESIRED:str=2
%cmake .. -DPYTHON_DESIRED:str=2 %{!?with_zchunk:-DWITH_ZCHUNK=OFF}
make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}"
%if %{without python3}
# Build C documentation
@ -127,7 +137,7 @@ popd
# Build createrepo_c with Pyhon 3
%if %{with python3}
pushd build-py3
%cmake .. -DPYTHON_DESIRED:str=3
%cmake .. -DPYTHON_DESIRED:str=3 %{!?with_zchunk:-DWITH_ZCHUNK=OFF}
make %{?_smp_mflags} RPM_OPT_FLAGS="%{optflags}"
# Build C documentation
make doc-c
@ -224,6 +234,10 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
%endif
%changelog
* Wed Dec 12 2018 Jaroslav Mracek <jmracek@redhat.com> - 0.12.0-1
- Update to 0.12.0
- Support of zchunk
* Mon Nov 26 2018 Miro Hrončok <mhroncok@redhat.com> - 0.11.1-2
- Drop Python 2 subpackage on Fedora 30 (#1651182)

View File

@ -1 +1 @@
SHA512 (createrepo_c-0.11.1.tar.gz) = b07b656a625c4637f521b6bcff1d4eb22df930b9033824dd7ccbd6e7eea66aa4df4c52cc84bc32391d20013bb3c06c02afcb8801c676af5ad860992197681e7a
SHA512 (createrepo_c-0.12.0.tar.gz) = ac8a8b289092b9fd882e0f8f7885d5ed18289d2b2c1886918f81e85e63db7116a4b0e28492928445d5da8ac7834cbb769f72cfcc64f5635e71868de9ca030b08