From fa2b024e0c27a2c394071c1434e0a236c3f18a2f Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Tue, 11 Aug 2020 15:47:23 -0500 Subject: [PATCH] CMake fixups for mass change. --- pugixml.spec | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pugixml.spec b/pugixml.spec index 8e1479b..9b330ff 100644 --- a/pugixml.spec +++ b/pugixml.spec @@ -41,21 +41,18 @@ Documentation for %{name} %prep %setup -q -n %{name}-%{version}%{?prerel:%{prerel}} +# Removed upstream but should make it back next release. +cp %{SOURCE1} . + %build -rm -rf build && mkdir build && pushd build export CXXFLAGS='%{optflags} -std=c++11' -%cmake ../ -make %{?_smp_mflags} +%cmake +%cmake_build %install -pushd build -%make_install -popd - -# Removed upstream but should make it back next release. -cp %{SOURCE1} . +%cmake_install %ldconfig_scriptlets