From 81b0d6113ef114a6676e2e0e3fc60ac24aad011f Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Thu, 7 Nov 2024 14:59:27 +0800 Subject: [PATCH] adopt to new cmake macro --- librepo.spec | 20 ++++++++------------ librepo.yaml | 2 +- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/librepo.spec b/librepo.spec index 859b0a9..8ef05f3 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 9f74edf..19aec44 100644 --- a/librepo.yaml +++ b/librepo.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: rpm-software-management/librepo tag_prefix: -seperator: +separator: -- Gitee