[packages/php-pear-System_ProcWatch] - 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:17 CEST 2012


commit 8d3723fc65c1f7a5b8f1732c6ac1397f8e4c8f46
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Aug 7 17:12:15 2012 +0300

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

 php-pear-System_ProcWatch.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/php-pear-System_ProcWatch.spec b/php-pear-System_ProcWatch.spec
index f226898..74b075b 100644
--- a/php-pear-System_ProcWatch.spec
+++ b/php-pear-System_ProcWatch.spec
@@ -1,13 +1,13 @@
-%include	/usr/lib/rpm/macros.php
 %define		_class		System
 %define		_subclass	ProcWatch
 %define		_status		beta
-%define		_pearname	%{_class}_%{_subclass}
+%define		_pearname	System_ProcWatch
+%include	/usr/lib/rpm/macros.php
 Summary:	%{_pearname} - monitor processes
 Summary(pl.UTF-8):	%{_pearname} - monitorowanie procesów
 Name:		php-pear-%{_pearname}
 Version:	0.4.3
-Release:	1
+Release:	2
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -16,8 +16,8 @@ URL:		http://pear.php.net/package/System_ProcWatch/
 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.0.2
-Requires:	php-pcre
 Requires:	php-pear
 Requires:	php-pear-PEAR-core
 Suggests:	php-pear-Console_Getopt
@@ -68,8 +68,8 @@ 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}/System/*.php
+%{php_pear_dir}/System/ProcWatch
 %attr(755,root,root) %{_bindir}/procwatch
 %attr(755,root,root) %{_bindir}/procwatch-lint
 


More information about the pld-cvs-commit mailing list