diff --git a/libmfx.changes b/libmfx.changes index 412391a..6c5dcd5 100644 --- a/libmfx.changes +++ b/libmfx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 5 09:07:36 UTC 2024 - Stefan Dirsch + +- disabled compiling samples, tools and tutorials, which are no + longer packaged anyway + ------------------------------------------------------------------- Sat Feb 3 18:29:23 UTC 2024 - Stefan Dirsch diff --git a/libmfx.spec b/libmfx.spec index ea2086c..8df854a 100644 --- a/libmfx.spec +++ b/libmfx.spec @@ -91,9 +91,11 @@ cmake \ -DENABLE_TEXTLOG:BOOL=ON \ -DENABLE_STAT:BOOL=ON \ -DBUILD_TESTS:BOOL=OFF \ --DBUILD_TOOLS:BOOL=ON \ +-DBUILD_TOOLS:BOOL=OFF \ -DENABLE_ITT:BOOL=OFF \ -DBUILD_KERNELS:BOOL=OFF \ +-DBUILD_TUTORIALS:BOOL=OFF \ +-DBUILD_SAMPLES:BOOL=OFF \ .. make %{?_smp_mflags} popd @@ -102,10 +104,10 @@ popd pushd build %make_install popd -mkdir -p %{buildroot}/%{_libdir}/mfx/samples -mv %{buildroot}/%{_datadir}/mfx/samples/* \ - %{buildroot}/%{_libdir}/mfx/samples -rmdir %{buildroot}/%{_datadir}/mfx/samples +#mkdir -p %{buildroot}/%{_libdir}/mfx/samples +#mv %{buildroot}/%{_datadir}/mfx/samples/* \ +# %{buildroot}/%{_libdir}/mfx/samples +#rmdir %{buildroot}/%{_datadir}/mfx/samples %post -n %lname -p /sbin/ldconfig