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

index 792f01b32a4d9637387de9789389957520cfce8d..57e144829415c7a2d54b3e8cebe291bb06e1a94c 100644 (file)
@@ -1,8 +1,9 @@
+%define                php_name        php%{?php_suffix}
 %define                modname rar
 %define                status          stable
 Summary:       %{modname} - read rar archives
 Summary(pl.UTF-8):     %{modname} - odczyt archiwów rar
-Name:          php-pecl-%{modname}
+Name:          %{php_name}-pecl-%{modname}
 Version:       3.0.0
 Release:       3
 License:       PHP 3.01
@@ -11,8 +12,8 @@ Source0:      http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: f4f9edbf8dd1f00bf0d44ea30a32bd5a
 URL:           http://pecl.php.net/package/rar/
 BuildRequires: libstdc++-devel
-BuildRequires: php-devel >= 3:5.0.0
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: %{php_name}-devel >= 3:5.0.0
+BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
 Requires:      php(core) >= 5.0.4
 Obsoletes:     php-pear-%{modname}
This page took 0.25813 seconds and 4 git commands to generate.