Author: glen                         Date: Wed Oct  6 17:45:05 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Growl Agent optional; drop tests

---- Files affected:
packages/php-pear-Net_Monitor:
   php-pear-Net_Monitor.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: packages/php-pear-Net_Monitor/php-pear-Net_Monitor.spec
diff -u packages/php-pear-Net_Monitor/php-pear-Net_Monitor.spec:1.26 
packages/php-pear-Net_Monitor/php-pear-Net_Monitor.spec:1.27
--- packages/php-pear-Net_Monitor/php-pear-Net_Monitor.spec:1.26        Tue Sep 
21 10:55:04 2010
+++ packages/php-pear-Net_Monitor/php-pear-Net_Monitor.spec     Wed Oct  6 
19:44:59 2010
@@ -1,15 +1,12 @@
 # $Revision$, $Date$
 %include       /usr/lib/rpm/macros.php
-%define                _class          Net
-%define                _subclass       Monitor
 %define                _status         beta
 %define                _pearname       Net_Monitor
 Summary:       %{_pearname} - remote service monitor
 Summary(pl.UTF-8):     %{_pearname} - monitoring zdalnych usług
 Name:          php-pear-%{_pearname}
 Version:       0.2.5
-Release:       1
-Epoch:         0
+Release:       2
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -24,13 +21,15 @@
 Suggests:      php-pear-Mail >= 1.0.0
 Suggests:      php-pear-Net_DNS >= 0.0.3
 Suggests:      php-pear-Net_FTP >= 1.3.0-0.RC1
+Suggests:      php-pear-Net_Growl
 Suggests:      php-pear-Net_SMS >= 0.0.1
 Suggests:      php-pear-Net_SMTP >= 1.2.2
+Obsoletes:     php-pear-Net_Monitor-tests
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define                _noautoreq      pear(HTTP/Request.*) pear(Mail.*) 
pear(Net/DNS.*) pear(Net/FTP.*) pear(Net/SMS.*) pear(Net/SMTP.*)
+%define                _noautoreq      pear(HTTP/Request.*) pear(Mail.*) 
pear(Net/DNS.*) pear(Net/FTP.*) pear(Net/SMS.*) pear(Net/SMTP.*) 
pear(Net/Growl.php)
 
 %description
 A unified interface for checking the availability services on external
@@ -46,20 +45,6 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
-%package tests
-Summary:       Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8):     Testy dla PEAR::%{_pearname}
-Group:         Development/Languages/PHP
-Requires:      %{name} = %{epoch}:%{version}-%{release}
-AutoProv:      no
-AutoReq:       no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
 %prep
 %pear_package_setup
 
@@ -68,6 +53,9 @@
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+# tests should not be packaged
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %post
 if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
        cat %{_docdir}/%{name}-%{version}/optional-packages.txt
@@ -81,12 +69,8 @@
 %doc install.log optional-packages.txt
 %doc docs/%{_pearname}/*
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
-
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/Net/Monitor.php
+%{php_pear_dir}/Net/Monitor
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -94,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2010/10/06 17:44:59  glen
+- Growl Agent optional; drop tests
+
 Revision 1.26  2010/09/21 08:55:04  glen
 - updated to: 0.2.5
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Net_Monitor/php-pear-Net_Monitor.spec?r1=1.26&r2=1.27&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to