Skip to content

Commit 812eada

Browse files
committed
Fixed RPM spec for out of source builds
1 parent 8a4e689 commit 812eada

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packaging/fedora/clang-uml.spec

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ generated in PlantUML format.
3535
%setup -q -n clang-uml-%{version}
3636

3737
%build
38-
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
39-
-DCMAKE_CXX_FLAGS="-Wno-nonnull -Wno-stringop-overflow" \
40-
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON \
41-
-DCMAKE_INSTALL_PREFIX=%{_exec_prefix} \
42-
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
43-
-DGIT_VERSION=%{version} \
44-
-DBUILD_TESTS=OFF
38+
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
39+
-DCMAKE_CXX_FLAGS="-Wno-nonnull -Wno-stringop-overflow" \
40+
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON \
41+
-DCMAKE_INSTALL_PREFIX=%{_exec_prefix} \
42+
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
43+
-DGIT_VERSION=%{version} \
44+
-DBUILD_TESTS=OFF
4545

46-
make %{_smp_mflags} clang-uml
46+
%cmake_build
4747

4848
%install
49-
%make_install
49+
%cmake_install
5050
rm -f %{buildroot}/%{_infodir}/dir
5151

5252
%post

0 commit comments

Comments
 (0)