[packages/php-pear-Validate_Finance_CreditCard] - use virtual php extension deps (to be independant of php version) - release 4 (by relup.sh)

glen glen at pld-linux.org
Tue Aug 7 16:18:07 CEST 2012


commit d86235569e75b950f03e1badc92b6e75038720cb
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 7 17:18:05 2012 +0300

    - use virtual php extension deps (to be independant of php version)
    - release 4 (by relup.sh)

 php-pear-Validate_Finance_CreditCard.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/php-pear-Validate_Finance_CreditCard.spec b/php-pear-Validate_Finance_CreditCard.spec
index fbc80a1..01179c3 100644
--- a/php-pear-Validate_Finance_CreditCard.spec
+++ b/php-pear-Validate_Finance_CreditCard.spec
@@ -1,13 +1,13 @@
-%include	/usr/lib/rpm/macros.php
 %define		_class		Validate
 %define		_subclass	Finance
 %define		_status		alpha
-%define		_pearname	%{_class}_%{_subclass}_CreditCard
+%define		_pearname	Validate_Finance_CreditCard
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - Validation class for Credit Cards
 Summary(pl.UTF-8):	%{_pearname} - Klasa sprawdzająca poprawność dla kart kredytowych
 Name:		php-pear-%{_pearname}
 Version:	0.5.3
-Release:	3
+Release:	4
 Epoch:		0
 License:	PHP
 Group:		Development/Languages/PHP
@@ -17,8 +17,8 @@ URL:		http://pear.php.net/package/Validate_Finance_CreditCard/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
+Requires:	php(pcre)
 Requires:	php-common >= 3:4.2.0
-Requires:	php-pcre
 Requires:	php-pear >= 4:1.0-4
 Obsoletes:	php-pear-Validate_Finance_CreditCard-tests
 BuildArch:	noarch
@@ -55,4 +55,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc install.log
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/%{_subclass}/*
+%{php_pear_dir}/Validate/Finance/*


More information about the pld-cvs-commit mailing list