Update to 1.9.4

This commit is contained in:
Pavla Kratochvilova 2019-02-13 13:38:25 +01:00
parent 4889a0860c
commit 2c9b241239
3 changed files with 19 additions and 6 deletions

1
.gitignore vendored
View File

@ -46,3 +46,4 @@
/librepo-1.9.0.tar.gz /librepo-1.9.0.tar.gz
/librepo-1.9.1.tar.gz /librepo-1.9.1.tar.gz
/librepo-1.9.2.tar.gz /librepo-1.9.2.tar.gz
/librepo-1.9.4.tar.gz

View File

@ -9,18 +9,23 @@
%endif %endif
%if 0%{?rhel} > 7 || 0%{?fedora} > 29 %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 %bcond_with python2
%else %else
%bcond_without python2 %bcond_without python2
%endif %endif
%if 0%{?rhel}
%bcond_with zchunk
%else
%bcond_without zchunk
%endif
%global dnf_conflict 2.8.8 %global dnf_conflict 2.8.8
Name: librepo Name: librepo
Version: 1.9.2 Version: 1.9.4
Release: 3%{?dist} Release: 1%{?dist}
Summary: Repodata downloading library Summary: Repodata downloading library
License: LGPLv2+ License: LGPLv2+
@ -38,6 +43,9 @@ BuildRequires: libcurl-devel >= 7.19.0
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
%if %{with zchunk}
BuildRequires: pkgconfig(zck) >= 0.9.11
%endif
%description %description
A library providing C and Python (libcURL like) API to downloading repository A library providing C and Python (libcURL like) API to downloading repository
@ -108,14 +116,14 @@ mkdir build-py3
%build %build
%if %{with python2} %if %{with python2}
pushd build-py2 pushd build-py2
%cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} .. %cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} ..
%make_build %make_build
popd popd
%endif %endif
%if %{with python3} %if %{with python3}
pushd build-py3 pushd build-py3
%cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} .. %cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} ..
%make_build %make_build
popd popd
%endif %endif
@ -178,6 +186,10 @@ popd
%endif %endif
%changelog %changelog
* Wed Feb 13 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 1.9.4-1
- Update to 1.9.4-1
- Add zchunk support
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-3 * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (librepo-1.9.2.tar.gz) = 3694d99b1600ce0bc4f14e11cc80dd37147ba9cf7221873fb938f9475bd5448e8593f8a142bb22e4f2eba274fbc3702856bb06b2889ab96912a53b631092c318 SHA512 (librepo-1.9.4.tar.gz) = 88f061bf4a298292083a0d57dd80a5aac21795bcc2238ac41b5e605308c2161d1ccd0cfa2fec5b92fde22b2838f3a90eeb38cec08afb382fa2f902cae0ac177d