#3 Minor conditional tweak for ELN
Merged 3 years ago by rjones. Opened 3 years ago by tdawson.
rpms/ tdawson/nbdkit master  into  master

file modified
+3 -3
@@ -93,10 +93,10 @@ 

  BuildRequires:  bash-completion

  BuildRequires:  perl-devel

  BuildRequires:  perl(ExtUtils::Embed)

- %if !0%{?rhel}

- BuildRequires:  python3-devel

- %else

+ %if 0%{?rhel} == 8

  BuildRequires:  platform-python-devel

+ %else

+ BuildRequires:  python3-devel

  %endif

  %if !0%{?rhel}

  %if 0%{?have_ocaml}

platform-python-devel is only for RHEL 8, not RHEL 9 or above.

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

Pull-Request has been merged by rjones

3 years ago
Metadata