update for out of tree build

This commit is contained in:
Dan Horák 2020-08-03 23:11:57 +02:00
parent 7b10fde3d2
commit 1f1c225321
1 changed files with 3 additions and 3 deletions

View File

@ -32,11 +32,11 @@ libraries under the hood.
%autosetup -p1
%build
%cmake -DCMAKE_BUILD_TYPE=Release -DDISABLE_WERROR=True .
make %{?_smp_mflags}
%cmake -DCMAKE_BUILD_TYPE=Release -DDISABLE_WERROR=True
%cmake_build
%install
%make_install
%cmake_install
# Why you install appdata in bad location, you sigrok upstream?
mv %{buildroot}/%{_datadir}/metainfo %{buildroot}/%{_datadir}/appdata