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