diff --git a/libcamera.changes b/libcamera.changes index 4ecebd1..40cf7fb 100644 --- a/libcamera.changes +++ b/libcamera.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 19 07:41:24 UTC 2024 - Richard Biener + +- Avoid %if %{pkg_vcmp gcc < 8}, instead replicate the condition + from the BuildRequires section. + ------------------------------------------------------------------- Sat Jan 13 08:48:16 UTC 2024 - Jan Engelhardt diff --git a/libcamera.spec b/libcamera.spec index 4670510..6a0bc91 100644 --- a/libcamera.spec +++ b/libcamera.spec @@ -120,7 +120,7 @@ This is its integration plugin for gstreamer. %autosetup -p1 %build -%if %{pkg_vcmp gcc < 8} +%if 0%{?suse_version} <= 1500 export CC=gcc-9 export CXX=g++-9 %endif