]> git.pld-linux.org Git - packages/php-pecl-crack.git/commitdiff
support building for multiple php versions AC-branch auto/ac/php-pecl-crack-0.4-6
authorElan Ruusamäe <glen@delfi.ee>
Fri, 21 Jun 2013 17:18:35 +0000 (20:18 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 21 Jun 2013 17:18:35 +0000 (20:18 +0300)
php-pecl-crack.spec

index 04e78ca537910a20c3c3cce478f25b88a07b1af9..1fcb605a7978d59398cf30679771f9ba7506ca78 100644 (file)
@@ -1,22 +1,23 @@
 # TODO
 # - use system cracklib
+%define                php_name        php%{?php_suffix}
 %define                modname crack
 %define                status          beta
 Summary:       %{modname} - checks if password is vulnerable to dictionary attacks
 Summary(pl.UTF-8):     %{modname} - sprawdzanie czy hasło jest podatne na ataki słownikowe
-Name:          php-pecl-%{modname}
+Name:          %{php_name}-pecl-%{modname}
 Version:       0.4
 Release:       6
 License:       PHP
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 7cfe9df99f546cf6bd55b535d71e3b1f
-Patch0:                %{name}-m4_fixes.patch
+Patch0:                php-pecl-%{modname}-m4_fixes.patch
 Patch1:                fix-pecl-bug-5765.patch
 URL:           http://pecl.php.net/package/crack/
+BuildRequires: %{php_name}-devel >= 3:5.0.0
 #BuildRequires:        cracklib-devel
-BuildRequires: php-devel >= 3:5.0.0
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
 Requires:      php(core) >= 5.0.4
 Obsoletes:     php-crack
This page took 0.114885 seconds and 4 git commands to generate.