Skip to content

Commit

Permalink
Fix spec for centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-id committed Sep 16, 2024
1 parent c358bdc commit 419af4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yaz.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ BuildRequires: gnutls-devel
%endif

%if %is_redhat8
%define TCPWRAPPER 0
%undefine TCPWRAPPER
%endif

%if %is_redhat9
%define TCPWRAPPER 0
%undefine TCPWRAPPER
%endif

%if %TCPWRAPPER
%if 0%{?TCPWRAPPER:1}
%define TCPDFLAGS --enable-tcpd
BuildRequires: %{TCPWRAPPER}
%else
Expand Down

0 comments on commit 419af4f

Please sign in to comment.