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

glen glen at pld-linux.org
Wed May 14 18:49:07 CEST 2014


commit d4b969cf6f2a7a175bd8bda7d3cd70311c1a45ef
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed May 14 19:49:06 2014 +0300

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

 php-pear-Services_DynDNS.spec | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/php-pear-Services_DynDNS.spec b/php-pear-Services_DynDNS.spec
index ec8a5ac..a3006fe 100644
--- a/php-pear-Services_DynDNS.spec
+++ b/php-pear-Services_DynDNS.spec
@@ -1,13 +1,11 @@
-%include	/usr/lib/rpm/macros.php
-%define		_class		Services
-%define		_subclass	DynDNS
 %define		_status		alpha
-%define		_pearname	%{_class}_%{_subclass}
+%define		_pearname	Services_DynDNS
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - provides access to the DynDNS web service
 Summary(pl.UTF-8):	%{_pearname} - dostęp do usługi WWW DynDNS
 Name:		php-pear-%{_pearname}
 Version:	0.3.1
-Release:	3
+Release:	4
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,8 +14,8 @@ URL:		http://pear.php.net/package/Services_DynDNS/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.300
+Requires:	php(core) >= 4.1.0
 Requires:	php-pear
-Requires:	php-common >= 3:4.1.0
 Requires:	php-pear-HTTP_Request
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -49,5 +47,5 @@ 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}/%{_class}/%{_subclass}
+%{php_pear_dir}/Services/*.php
+%{php_pear_dir}/Services/DynDNS
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pear-Services_DynDNS.git/commitdiff/d4b969cf6f2a7a175bd8bda7d3cd70311c1a45ef



More information about the pld-cvs-commit mailing list