Skip to content

Commit 696146b

Browse files
committed
make-srpm.sh: update cmake macros and deps for cmake4
It seems that %cmake4 macros are no long provided in rawhide, nor is there a `Provides: cmake4`. https://fedoraproject.org/wiki/Changes/CMake4.0
1 parent 41af877 commit 696146b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

make-srpm.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ License: GPL-3.0-or-later
8989
URL: https://github.com/csutils/%{name}
9090
Source0: https://github.com/csutils/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.xz
9191
92-
BuildRequires: cmake3
92+
BuildRequires: cmake
9393
BuildRequires: help2man
9494
9595
%if 0%{?rhel} == 7
@@ -282,13 +282,13 @@ This package contains the unicontrol plug-in for csmock.
282282
%autosetup
283283
284284
%build
285-
%cmake3 \\
285+
%cmake \\
286286
-DVERSION='%{name}-%{version}-%{release}' \\
287287
-DPython3_EXECUTABLE='%{__python3}'
288-
%cmake3_build
288+
%cmake_build
289289
290290
%install
291-
%cmake3_install
291+
%cmake_install
292292
293293
# needed to create the csmock RPM
294294
%files

0 commit comments

Comments
 (0)