diff --git a/proftpd.spec b/proftpd.spec
index b8ffe2b..91fa78f 100644
--- a/proftpd.spec
+++ b/proftpd.spec
@@ -3,7 +3,7 @@
Summary: Flexible, stable and highly-configurable FTP server
Name: proftpd
Version: 1.3.2
-Release: 1%{?prever:.%{prever}}%{?dist}
+Release: 2%{?prever:.%{prever}}%{?dist}
License: GPLv2+
Group: System Environment/Daemons
URL: http://www.proftpd.org/
@@ -25,9 +25,9 @@ BuildRequires: pam-devel, ncurses-devel, pkgconfig
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
@@ -207,6 +207,9 @@ fi
%changelog
+* Thu Apr 9 2009 Matthias Saou 1.3.2-2
+- Fix tcp_wrappers-devel BR conditional.
+
* Mon Apr 6 2009 Matthias Saou 1.3.2-1
- Update to 1.3.2.
- Include mod_wrap (#479813).