From 2c9b241239bbe972e5448e18791a2eff6b490e96 Mon Sep 17 00:00:00 2001 From: Pavla Kratochvilova Date: Wed, 13 Feb 2019 13:38:25 +0100 Subject: [PATCH] Update to 1.9.4 --- .gitignore | 1 + librepo.spec | 22 +++++++++++++++++----- sources | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 6b73967..e33177e 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,4 @@ /librepo-1.9.0.tar.gz /librepo-1.9.1.tar.gz /librepo-1.9.2.tar.gz +/librepo-1.9.4.tar.gz diff --git a/librepo.spec b/librepo.spec index 85d33c5..61b3d2a 100644 --- a/librepo.spec +++ b/librepo.spec @@ -9,18 +9,23 @@ %endif %if 0%{?rhel} > 7 || 0%{?fedora} > 29 -# Do not build bindings for python2 for RHEL > 7 or Fedora > 29 +# Do not build bindings for python2 for RHEL > 7 and Fedora > 29 %bcond_with python2 %else %bcond_without python2 %endif +%if 0%{?rhel} +%bcond_with zchunk +%else +%bcond_without zchunk +%endif %global dnf_conflict 2.8.8 Name: librepo -Version: 1.9.2 -Release: 3%{?dist} +Version: 1.9.4 +Release: 1%{?dist} Summary: Repodata downloading library License: LGPLv2+ @@ -38,6 +43,9 @@ BuildRequires: libcurl-devel >= 7.19.0 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(openssl) +%if %{with zchunk} +BuildRequires: pkgconfig(zck) >= 0.9.11 +%endif %description A library providing C and Python (libcURL like) API to downloading repository @@ -108,14 +116,14 @@ mkdir build-py3 %build %if %{with python2} pushd build-py2 - %cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} .. + %cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} .. %make_build popd %endif %if %{with python3} pushd build-py3 - %cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} .. + %cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} .. %make_build popd %endif @@ -178,6 +186,10 @@ popd %endif %changelog +* Wed Feb 13 2019 Pavla Kratochvilova - 1.9.4-1 +- Update to 1.9.4-1 +- Add zchunk support + * Fri Feb 01 2019 Fedora Release Engineering - 1.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 51cff3b..b993339 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (librepo-1.9.2.tar.gz) = 3694d99b1600ce0bc4f14e11cc80dd37147ba9cf7221873fb938f9475bd5448e8593f8a142bb22e4f2eba274fbc3702856bb06b2889ab96912a53b631092c318 +SHA512 (librepo-1.9.4.tar.gz) = 88f061bf4a298292083a0d57dd80a5aac21795bcc2238ac41b5e605308c2161d1ccd0cfa2fec5b92fde22b2838f3a90eeb38cec08afb382fa2f902cae0ac177d