Skip to content

Commit 4d5dd83

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

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

make-srpm.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ BuildRequires: boost1.78-devel
126126
BuildRequires: boost-devel
127127
%endif
128128
129-
BuildRequires: cmake3
130129
BuildRequires: gcc-c++
130+
BuildRequires: cmake
131131
BuildRequires: help2man
132132
BuildRequires: make
133133
@@ -194,15 +194,15 @@ export BOOST_LIBRARYDIR=/usr/lib64/boost169
194194
%endif
195195
196196
make version.cc
197-
%cmake3 \\
197+
%cmake \\
198198
-DCSGREP_STATIC=%{?with_static:ON} \\
199199
-DPYCSDIFF_PYTHON2=%{?with_python2:ON} \\
200200
-DPYCSDIFF_PYTHON3=%{?with_python3:ON} \\
201201
-DVERSION='%{name}-%{version}-%{release}'
202-
%cmake3_build
202+
%cmake_build
203203
204204
%install
205-
%cmake3_install
205+
%cmake_install
206206
207207
%check
208208
%ctest3

0 commit comments

Comments
 (0)