[perl-Crypt-Cracklib] All distributions have cracklib-devel

Petr Pisar ppisar at fedoraproject.org
Mon Jun 11 14:13:26 UTC 2012


commit 6762e93dd6f45baa6bf9df20328bff788f5fc862
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Jun 11 16:04:57 2012 +0200

    All distributions have cracklib-devel

 perl-Crypt-Cracklib.spec |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/perl-Crypt-Cracklib.spec b/perl-Crypt-Cracklib.spec
index de137ef..3ab07d4 100644
--- a/perl-Crypt-Cracklib.spec
+++ b/perl-Crypt-Cracklib.spec
@@ -27,6 +27,7 @@ URL:            http://search.cpan.org/dist/Crypt-Cracklib/
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Crypt-Cracklib-1.7.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+BuildRequires:  cracklib-devel
 BuildRequires:  perl(inc::Module::Install)
 # Run-time:
 BuildRequires:  perl(DynaLoader)
@@ -37,18 +38,6 @@ BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod) >= 1.00
 BuildRequires:  perl(Test::Pod::Coverage)
 
-%if 0%{?rhel} <= 5
-BuildRequires:  cracklib
-%endif
-
-%if 0%{?rhel} >= 6
-BuildRequires:  cracklib-devel
-%endif
-
-%if 0%{?fedora} >= 12
-BuildRequires:  cracklib-devel
-%endif
-
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Patch0: automake.patch
 


More information about the scm-commits mailing list