diff --git a/libjxl.spec b/libjxl.spec index c3c2fe3..bc278c1 100644 --- a/libjxl.spec +++ b/libjxl.spec @@ -74,11 +74,11 @@ Command-line utilities to convert from/to JPEG XL. %if %{pkg_vcmp liblcms2-2 < 2.13} # libjxl 0.7.0 requires lcms2 >= 2.13, so if we have an older version # (as in SLE15/Leap) just reverse the patch that adds that dependency -%patch0 -p1 -R +%patch0 -p1 %else # Make sure patch at least applies -%patch0 -p1 -R %patch0 -p1 +%patch0 -p1 -R %endif %build