rpms/proftpd/devel proftpd.spec,1.45,1.46

Paul Howarth paul at city-fan.org
Tue Apr 14 15:52:15 UTC 2009


Matthias Saou wrote:
> @@ -25,9 +25,9 @@
>  BuildRequires: openssl-devel, krb5-devel, libacl-devel
>  BuildRequires: zlib-devel
>  # On RHEL (up to 5 included), the devel part was still in tcp_wrappers
> -%if 0%{?rhel} <= 5
> +# We'll need to find a better way to do this once RHEL6 comes out
>  BuildRequires: tcp_wrappers
> -%else
> +%if 0%{?fedora:1}
>  BuildRequires: tcp_wrappers-devel
>  %endif
>  BuildRequires: openldap-devel

A "better way" that I use is:

BuildRequires: /usr/include/tcpd.h

Works everywhere.

Cheers, Paul.




More information about the fedora-devel-list mailing list