From d4b969cf6f2a7a175bd8bda7d3cd70311c1a45ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 14 May 2014 19:49:06 +0300 Subject: [PATCH] - 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 -- 2.44.0