packages: php-pear-Net_DNSBL/php-pear-Net_DNSBL.spec - up to 1.3.4

glen glen at pld-linux.org
Mon Nov 15 16:44:22 CET 2010


Author: glen                         Date: Mon Nov 15 15:44:22 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.3.4

---- Files affected:
packages/php-pear-Net_DNSBL:
   php-pear-Net_DNSBL.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: packages/php-pear-Net_DNSBL/php-pear-Net_DNSBL.spec
diff -u packages/php-pear-Net_DNSBL/php-pear-Net_DNSBL.spec:1.23 packages/php-pear-Net_DNSBL/php-pear-Net_DNSBL.spec:1.24
--- packages/php-pear-Net_DNSBL/php-pear-Net_DNSBL.spec:1.23	Sun Aug 22 10:38:57 2010
+++ packages/php-pear-Net_DNSBL/php-pear-Net_DNSBL.spec	Mon Nov 15 16:44:17 2010
@@ -5,12 +5,12 @@
 Summary:	%{_pearname} - DNSBL Checker
 Summary(pl.UTF-8):	%{_pearname} - Odpytywanie DNSBL
 Name:		php-pear-%{_pearname}
-Version:	1.3.3
-Release:	2
+Version:	1.3.4
+Release:	1
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	0d9faf8feeaf4f8528d88a4a32f3ca44
+# Source0-md5:	7b5ba371c60dc4f97fec669d8e98c2da
 URL:		http://pear.php.net/package/Net_DNSBL/
 BuildRequires:	php-pear-PEAR >= 1:1.4.0-0.b1
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -23,11 +23,12 @@
 # should be suggests, not requires: http://pear.php.net/bugs/bug.php?id=17789
 Suggests:	php-pear-Cache_Lite >= 1.4.1
 Suggests:	php-pear-HTTP_Request >= 1.2.3
+Obsoletes:	php-pear-Net_DNSBL-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	'pear(Cache/Lite.php)' 'pear(HTTP/Request.php)'
+%define		_noautoreq	pear(Cache/Lite.php) pear(HTTP/Request.php)
 
 %description
 Checks if a given Host or URL is listed on an DNSBL or SURBL.
@@ -40,31 +41,20 @@
 
 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} = %{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
-mv ./%{php_pear_dir}/tests/%{_pearname}/{tests/*,}
-rmdir ./%{php_pear_dir}/tests/%{_pearname}/tests
-rm -rf .%{php_pear_dir}/tests/Net_DNSBL/Tests
+
+# phing build file
+rm .%{php_pear_dir}/data/Net_DNSBL/build.xml
 
 %install
 rm -rf $RPM_BUILD_ROOT
 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}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -75,16 +65,15 @@
 %{php_pear_dir}/Net/DNSBL.php
 %{php_pear_dir}/Net/DNSBL
 
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
-
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2010/11/15 15:44:17  glen
+- up to 1.3.4
+
 Revision 1.23  2010/08/22 08:38:57  glen
 - reported bug regarding suggests vs requires
 
================================================================

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



More information about the pld-cvs-commit mailing list