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
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DCMAKE_BUILD_TYPE=Release -DDISABLE_WERROR=True .
|
%cmake -DCMAKE_BUILD_TYPE=Release -DDISABLE_WERROR=True
|
||||||
make %{?_smp_mflags}
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%cmake_install
|
||||||
|
|
||||||
# Why you install appdata in bad location, you sigrok upstream?
|
# Why you install appdata in bad location, you sigrok upstream?
|
||||||
mv %{buildroot}/%{_datadir}/metainfo %{buildroot}/%{_datadir}/appdata
|
mv %{buildroot}/%{_datadir}/metainfo %{buildroot}/%{_datadir}/appdata
|
||||||
|
|
Loading…
Reference in New Issue