diff --git a/librepo.spec b/librepo.spec index 859b0a9bb0159e656d001988fc0f5ef6b1511469..8ef05f3addde7ef70723793576d71f6fea41e08c 100644 --- a/librepo.spec +++ b/librepo.spec @@ -6,7 +6,7 @@ Name: librepo Version: 1.18.1 -Release: 1 +Release: 2 Summary: Repodata downloading library License: LGPL-2.0-or-later URL: https://github.com/rpm-software-management/librepo @@ -56,21 +56,14 @@ Python 3 bindings for the librepo library. %autosetup -p1 %build -mkdir build-py3 -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 +%cmake -DPYTHON_DESIRED:FILEPATH=%{__python3} %{!?with_zchunk:-DWITH_ZCHUNK=OFF} -DENABLE_PYTHON_TESTS=%{?with_pythontests:ON}%{!?with_pythontests:OFF} +%cmake_build %check -pushd build-py3 - ctest -VV -popd +%ctest %install -pushd build-py3 - %make_install -popd +%cmake_install %files %license COPYING @@ -86,6 +79,9 @@ popd %{python3_sitearch}/%{name}/ %changelog +* Thu Nov 07 2024 Funda Wang - 1.18.1-2 +- adopt to new cmake macro + * Sat Aug 17 2024 Funda Wang - 1.18.1-1 - update to 1.18.1 diff --git a/librepo.yaml b/librepo.yaml index 9f74edfff6f4010db75419cb36572ec369a05f70..19aec4487266845a496274964f835e1147df27fc 100644 --- a/librepo.yaml +++ b/librepo.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: rpm-software-management/librepo tag_prefix: -seperator: +separator: