#4 Fix %if statements to build on RHEL9
Merged 2 years ago by nmav. Opened 2 years ago by tdawson.
rpms/ tdawson/openconnect rawhide  into  rawhide

file modified
+2 -2
@@ -69,7 +69,7 @@ 

  Requires:	vpnc

  %endif

  

- %if 0%{?fedora} >= 30

+ %if 0%{?fedora} >= 30 || 0%{?rhel} >= 9

  BuildRequires: glibc-langpack-cs

  %endif

  %if %{use_gnutls}
@@ -140,7 +140,7 @@ 

  %find_lang %{name}

  

  %check

- %if 0%{?fedora} || 0%{?fedora} >= 34

+ %if 0%{?fedora} >= 34 || 0%{?rhel} >= 9

  # auth-pkcs11 fails in Fedora34 for unknown reasons

  make VERBOSE=1 check XFAIL_TESTS=auth-pkcs11

  %else

I have gotten all the build and runtime dependencies into epel9 for openconnect.
But there are two %if statements that need to be updated so openconnect will pass the %check tests on epel9.

Signed-off-by: Troy Dawson tdawson@redhat.com

Pull-Request has been merged by nmav

2 years ago
Metadata