[packages/php-pear-Services_Weather] - use virtual php extension deps (to be independant of php version) - release 2 (by relup.sh)
glen
glen at pld-linux.org
Tue Aug 7 16:12:03 CEST 2012
commit 65c62b49f73776aef50c85013a5c1647aa239ecd
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Aug 7 17:12:02 2012 +0300
- use virtual php extension deps (to be independant of php version)
- release 2 (by relup.sh)
php-pear-Services_Weather.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/php-pear-Services_Weather.spec b/php-pear-Services_Weather.spec
index ba30bea..5abcb07 100644
--- a/php-pear-Services_Weather.spec
+++ b/php-pear-Services_Weather.spec
@@ -1,13 +1,13 @@
-%include /usr/lib/rpm/macros.php
%define _class Services
%define _subclass Weather
%define _status stable
-%define _pearname %{_class}_%{_subclass}
+%define _pearname Services_Weather
+%include /usr/lib/rpm/macros.php
Summary: %{_pearname} - an interface to various online weather-services
Summary(pl.UTF-8): %{_pearname} - interfejs do różnych serwisów pogodowych
Name: php-pear-%{_pearname}
Version: 1.4.6
-Release: 1
+Release: 2
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,8 +16,8 @@ URL: http://pear.php.net/package/Services_Wheather/
BuildRequires: php-pear-PEAR >= 1:1.4.0
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
-Requires: php-ctype
-Requires: php-pcre
+Requires: php(ctype)
+Requires: php(pcre)
Requires: php-pear
Requires: php-pear-HTTP_Request >= 1.2.0
Suggests: php-pear-Cache
@@ -75,7 +75,7 @@ fi
%doc install.log
%doc docs/%{_pearname}/*
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
+%{php_pear_dir}/Services/*.php
+%{php_pear_dir}/Services/Weather
%{php_pear_dir}/data/%{_pearname}
More information about the pld-cvs-commit
mailing list