update for out of tree build
This commit is contained in:
parent
7b10fde3d2
commit
1f1c225321
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue