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

glen glen at pld-linux.org
Tue Aug 7 16:14:59 CEST 2012


commit 03b26c0974cb51c382d83b0f7721f24cc2ee6928
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 7 17:14:58 2012 +0300

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

 php-pear-HTTP_Download.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/php-pear-HTTP_Download.spec b/php-pear-HTTP_Download.spec
index d151712..a028a9d 100644
--- a/php-pear-HTTP_Download.spec
+++ b/php-pear-HTTP_Download.spec
@@ -1,13 +1,13 @@
-%include	/usr/lib/rpm/macros.php
 %define		_class		HTTP
 %define		_subclass	Download
 %define		_status		stable
-%define		_pearname	%{_class}_%{_subclass}
+%define		_pearname	HTTP_Download
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - send HTTP Downloads
 Summary(pl.UTF-8):	%{_pearname} - obsługa transferu plików przez HTTP
 Name:		php-pear-%{_pearname}
 Version:	1.1.4
-Release:	2
+Release:	3
 License:	PHP 3.0
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,8 +16,8 @@ URL:		http://pear.php.net/package/HTTP_Download/
 BuildRequires:	php-pear-PEAR >= 1:1.6.0
 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
 Requires:	php-pear-HTTP_Header
 Requires:	php-pear-PEAR-core


More information about the pld-cvs-commit mailing list