CMake fixups for mass change.

epel9
Richard Shaw 4 years ago
parent 65c2b51e69
commit fa2b024e0c

@ -41,21 +41,18 @@ Documentation for %{name}
%prep %prep
%setup -q -n %{name}-%{version}%{?prerel:%{prerel}} %setup -q -n %{name}-%{version}%{?prerel:%{prerel}}
# Removed upstream but should make it back next release.
cp %{SOURCE1} .
%build %build
rm -rf build && mkdir build && pushd build
export CXXFLAGS='%{optflags} -std=c++11' export CXXFLAGS='%{optflags} -std=c++11'
%cmake ../ %cmake
make %{?_smp_mflags} %cmake_build
%install %install
pushd build %cmake_install
%make_install
popd
# Removed upstream but should make it back next release.
cp %{SOURCE1} .
%ldconfig_scriptlets %ldconfig_scriptlets

Loading…
Cancel
Save