diff --git a/fipscheck.spec b/fipscheck.spec index ed19aa7..a3536db 100644 --- a/fipscheck.spec +++ b/fipscheck.spec @@ -58,7 +58,9 @@ This package contains development files for %{name}. %prep %setup -q -%patch0 -p1 +if pkg-config --atleast-version=1.1 openssl; then +%patch0 -p1 +fi %build %configure --disable-static --libdir=/%{_lib}