Update to 1.9.5
This commit is contained in:
parent
2c9b241239
commit
f2cd372b0f
1
.gitignore
vendored
1
.gitignore
vendored
@ -47,3 +47,4 @@
|
|||||||
/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
|
/librepo-1.9.4.tar.gz
|
||||||
|
/librepo-1.9.5.tar.gz
|
||||||
|
38
librepo.spec
38
librepo.spec
@ -2,10 +2,10 @@
|
|||||||
# Do not build bindings for python3 for RHEL <= 7
|
# Do not build bindings for python3 for RHEL <= 7
|
||||||
%bcond_with python3
|
%bcond_with python3
|
||||||
# python-flask is not in RHEL7
|
# python-flask is not in RHEL7
|
||||||
%bcond_with tests
|
%bcond_with pythontests
|
||||||
%else
|
%else
|
||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
%bcond_without tests
|
%bcond_without pythontests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?rhel} > 7 || 0%{?fedora} > 29
|
%if 0%{?rhel} > 7 || 0%{?fedora} > 29
|
||||||
@ -24,7 +24,7 @@
|
|||||||
%global dnf_conflict 2.8.8
|
%global dnf_conflict 2.8.8
|
||||||
|
|
||||||
Name: librepo
|
Name: librepo
|
||||||
Version: 1.9.4
|
Version: 1.9.5
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Repodata downloading library
|
Summary: Repodata downloading library
|
||||||
|
|
||||||
@ -64,21 +64,21 @@ Summary: Python bindings for the librepo library
|
|||||||
%{?python_provide:%python_provide python2-%{name}}
|
%{?python_provide:%python_provide python2-%{name}}
|
||||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
BuildRequires: python-sphinx
|
BuildRequires: python-sphinx
|
||||||
BuildRequires: pygpgme
|
|
||||||
%else
|
%else
|
||||||
BuildRequires: python2-sphinx
|
BuildRequires: python2-sphinx
|
||||||
BuildRequires: python2-gpg
|
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
%if (0%{?rhel} && 0%{?rhel} <= 7) || (0%{?fedora} && 0%{?fedora} <= 27)
|
%if %{with pythontests}
|
||||||
BuildRequires: pyxattr
|
|
||||||
%else
|
|
||||||
BuildRequires: python2-pyxattr
|
|
||||||
%endif
|
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: python2-flask
|
BuildRequires: python2-flask
|
||||||
BuildRequires: python2-nose
|
BuildRequires: python2-nose
|
||||||
|
%if (0%{?rhel} && 0%{?rhel} <= 7)
|
||||||
|
BuildRequires: pyxattr
|
||||||
|
BuildRequires: pygpgme
|
||||||
|
%else
|
||||||
|
BuildRequires: python2-pyxattr
|
||||||
|
BuildRequires: python2-gpg
|
||||||
%endif
|
%endif
|
||||||
|
%endif # with pythontests
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Conflicts: python2-dnf < %{dnf_conflict}
|
Conflicts: python2-dnf < %{dnf_conflict}
|
||||||
|
|
||||||
@ -90,14 +90,14 @@ Python 2 bindings for the librepo library.
|
|||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: Python 3 bindings for the librepo library
|
Summary: Python 3 bindings for the librepo library
|
||||||
%{?python_provide:%python_provide python3-%{name}}
|
%{?python_provide:%python_provide python3-%{name}}
|
||||||
BuildRequires: python3-gpg
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%if %{with tests}
|
%if %{with pythontests}
|
||||||
|
BuildRequires: python3-gpg
|
||||||
BuildRequires: python3-flask
|
BuildRequires: python3-flask
|
||||||
BuildRequires: python3-nose
|
BuildRequires: python3-nose
|
||||||
|
BuildRequires: python3-pyxattr
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
BuildRequires: python3-pyxattr
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
# Obsoletes Fedora 27 package
|
# Obsoletes Fedora 27 package
|
||||||
Obsoletes: platform-python-%{name} < %{version}-%{release}
|
Obsoletes: platform-python-%{name} < %{version}-%{release}
|
||||||
@ -116,19 +116,18 @@ mkdir build-py3
|
|||||||
%build
|
%build
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
pushd build-py2
|
pushd build-py2
|
||||||
%cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} ..
|
%cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} -DENABLE_PYTHON_TESTS=%{?with_pythontests:ON}%{!?with_pythontests: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} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} ..
|
%cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} -DENABLE_PYTHON_TESTS=%{?with_pythontests:ON}%{!?with_pythontests:OFF} ..
|
||||||
%make_build
|
%make_build
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
%check
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
pushd build-py2
|
pushd build-py2
|
||||||
@ -143,7 +142,6 @@ pushd build-py3
|
|||||||
make ARGS="-V" test
|
make ARGS="-V" test
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
@ -186,6 +184,10 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 11 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 1.9.5-1
|
||||||
|
- Update to 1.9.5
|
||||||
|
- Reduce download delays
|
||||||
|
|
||||||
* Wed Feb 13 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 1.9.4-1
|
* Wed Feb 13 2019 Pavla Kratochvilova <pkratoch@redhat.com> - 1.9.4-1
|
||||||
- Update to 1.9.4-1
|
- Update to 1.9.4-1
|
||||||
- Add zchunk support
|
- Add zchunk support
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (librepo-1.9.4.tar.gz) = 88f061bf4a298292083a0d57dd80a5aac21795bcc2238ac41b5e605308c2161d1ccd0cfa2fec5b92fde22b2838f3a90eeb38cec08afb382fa2f902cae0ac177d
|
SHA512 (librepo-1.9.5.tar.gz) = f38f931d3cd3731aa7bbb591daebff28b90527b8133fa9fa647bafde60f67507299ed38be23b833c7ac34694e154cfaf7e22b244aa4d24db5a88ddce5b19a43f
|
||||||
|
Loading…
Reference in New Issue
Block a user