public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/urdfdom] f45: Improve compatibility with new CMake macro
@ 2026-10-20 21:58 Igor Raits
  0 siblings, 0 replies; only message in thread
From: Igor Raits @ 2026-10-20 21:58 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/urdfdom
            Branch : f45
            Commit : 1cfb15a95331004bec820d1819d278f2e332deb6
            Author : Igor Raits <ignatenkobrain@fedoraproject.org>
            Date   : 2020-07-08T16:31:31+02:00
            Stats  : +3/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/urdfdom/c/1cfb15a95331004bec820d1819d278f2e332deb6?branch=f45

            Log:
            Improve compatibility with new CMake macro

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>

---
diff --git a/urdfdom.spec b/urdfdom.spec
index c010afa..3560499 100644
--- a/urdfdom.spec
+++ b/urdfdom.spec
@@ -34,12 +34,12 @@ developing applications that use %{name}.
 sed -i 's/add_subdirectory(urdf_parser_py)//' CMakeLists.txt
 
 %build
-%cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_LIBDIR=%{_lib }
-make %{?_smp_mflags}
+%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_LIBDIR=%{_lib}
+%cmake_build
 
 
 %install
-make install DESTDIR=%{buildroot}
+%cmake_install
 rm -rf %{buildroot}%{_bindir}/urdf_mem_test
 
 %ldconfig_scriptlets

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-20 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 21:58 [rpms/urdfdom] f45: Improve compatibility with new CMake macro Igor Raits

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox