[packages/php-pear-Text_Password] - use virtual php extension deps (to be independant of php version) - release 3 (by relup.sh)
glen
glen at pld-linux.org
Wed May 14 18:50:01 CEST 2014
commit 46a162502b2c24bbfe4d8babb95ea594dbe28882
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 14 19:50:00 2014 +0300
- use virtual php extension deps (to be independant of php version)
- release 3 (by relup.sh)
php-pear-Text_Password.spec | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/php-pear-Text_Password.spec b/php-pear-Text_Password.spec
index 47d6221..752db57 100644
--- a/php-pear-Text_Password.spec
+++ b/php-pear-Text_Password.spec
@@ -1,14 +1,11 @@
-%include /usr/lib/rpm/macros.php
-%define _class Text
-%define _subclass Password
%define _status stable
-%define _pearname %{_class}_%{_subclass}
-
+%define _pearname Text_Password
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - creating passwords with PHP
Summary(pl.UTF-8): %{_pearname} - tworzenie haseł
Name: php-pear-%{_pearname}
Version: 1.1.1
-Release: 2
+Release: 3
Epoch: 0
License: PHP 2.02
Group: Development/Languages/PHP
@@ -18,7 +15,7 @@ URL: http://pear.php.net/package/Text_Password/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php-common >= 3:4.2.0
+Requires: php(core) >= 4.2.0
Requires: php-pear
Obsoletes: php-pear-Text_Password-tests
BuildArch: noarch
@@ -53,4 +50,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/Text/*.php
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Text_Password.git/commitdiff/46a162502b2c24bbfe4d8babb95ea594dbe28882
More information about the pld-cvs-commit
mailing list