diff --git a/librepo-1.11.0.tar.gz b/librepo-1.11.0.tar.gz deleted file mode 100644 index 5aa000874503d6339a3b930f14ede9d9830c0ee7..0000000000000000000000000000000000000000 Binary files a/librepo-1.11.0.tar.gz and /dev/null differ diff --git a/librepo-1.12.0.tar.gz b/librepo-1.12.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8cb0323e3db29503c243ef88f73b5aae66a4e0a4 Binary files /dev/null and b/librepo-1.12.0.tar.gz differ diff --git a/librepo.spec b/librepo.spec index f6341a3ff31e2ba33b28c421def587e8a3f5f5f2..9a132dcdd71908bd3f667e8d80f3432ca5af180f 100644 --- a/librepo.spec +++ b/librepo.spec @@ -1,14 +1,12 @@ %global libcurl_version 7.28.0 %global dnf_conflict 2.8.8 -%bcond_without python3 %bcond_without pythontests -%bcond_with python2 %bcond_with zchunk Name: librepo -Version: 1.11.0 -Release: 2 +Version: 1.12.0 +Release: 1 Summary: Repodata downloading library License: LGPLv2+ URL: https://github.com/rpm-software-management/librepo @@ -29,19 +27,6 @@ Requires: %{name} = %{version}-%{release} %description devel Development files for librepo. -%if %{with python2} -%package -n python2-librepo -Summary: Python bindings for the librepo library -%{?python_provide:%python_provide python2-%{name}} -BuildRequires: python2-sphinx python2-devel python2-flask python2-nose -BuildRequires: python2-requests python2-pyxattr python2-gpg -Requires: %{name} = %{version}-%{release} -Conflicts: python2-dnf < %{dnf_conflict} - -%description -n python2-%{name} -Python 2 bindings for the librepo library. -%endif - %package -n python3-librepo Summary: Python 3 bindings for the librepo library %{?python_provide:%python_provide python3-%{name}} @@ -57,51 +42,24 @@ Python 3 bindings for the librepo library. %prep %autosetup -p1 -mkdir build-py2 mkdir build-py3 %build -%if %{with python2} -pushd build-py2 - %cmake -DPYTHON_DESIRED:FILEPATH=%{__python2} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} -DENABLE_PYTHON_TESTS=%{?with_pythontests:ON}%{!?with_pythontests:OFF} .. - %make_build -popd -%endif - -%if %{with python3} pushd build-py3 %cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} -DENABLE_PYTHON_TESTS=%{?with_pythontests:ON}%{!?with_pythontests:OFF} .. %make_build popd -%endif %check -%if %{with python2} -pushd build-py2 - #ctest -VV - make ARGS="-V" test -popd -%endif - -%if %{with python3} pushd build-py3 #ctest -VV make ARGS="-V" test popd -%endif %install -%if %{with python2} -pushd build-py2 - %make_install -popd -%endif - -%if %{with python3} pushd build-py3 %make_install popd -%endif %ldconfig_scriptlets @@ -115,16 +73,15 @@ popd %{_libdir}/pkgconfig/%{name}.pc %{_includedir}/%{name}/ -%if %{with python2} -%files -n python2-%{name} -%{python2_sitearch}/%{name}/ -%endif - -%if %{with python3} %files -n python3-%{name} %{python3_sitearch}/%{name}/ -%endif %changelog +* Tue Apr 28 2020 zhouyihang - 1.12.0-1 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:update librepo version to 1.12.0 + * Tue Jan 7 2020 openEuler Buildteam - 1.11.0-2 - Pakcage init