packages: php-pear-Net_IPv6/php-pear-Net_IPv6.spec - up to 1.1.0-stable

glen glen at pld-linux.org
Tue Nov 16 15:56:16 CET 2010


Author: glen                         Date: Tue Nov 16 14:56:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.1.0-stable

---- Files affected:
packages/php-pear-Net_IPv6:
   php-pear-Net_IPv6.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/php-pear-Net_IPv6/php-pear-Net_IPv6.spec
diff -u packages/php-pear-Net_IPv6/php-pear-Net_IPv6.spec:1.20 packages/php-pear-Net_IPv6/php-pear-Net_IPv6.spec:1.21
--- packages/php-pear-Net_IPv6/php-pear-Net_IPv6.spec:1.20	Thu Aug 19 21:50:57 2010
+++ packages/php-pear-Net_IPv6/php-pear-Net_IPv6.spec	Tue Nov 16 15:56:11 2010
@@ -1,20 +1,16 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.php
-%define		_class		Net
-%define		_subclass	IPv6
-%define		_status		beta
-%define		_pearname	%{_class}_%{_subclass}
-%define		subver	b2
-%define		rel	1
+%define		_status		stable
+%define		_pearname	Net_IPv6
 Summary:	%{_pearname} - check and validate IPv6 addresses
 Summary(pl.UTF-8):	%{_pearname} - sprawdzanie poprawności adresów IPv6
 Name:		php-pear-%{_pearname}
 Version:	1.1.0
-Release:	1.%{subver}.%{rel}
+Release:	2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
-# Source0-md5:	663d7d645319c0417b59bcefcedad74d
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
+# Source0-md5:	796c03b891d1e16c5129efbd314a9c5f
 URL:		http://pear.php.net/package/Net_IPv6/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -42,11 +38,16 @@
 %prep
 %pear_package_setup
 
+mv .%{php_pear_dir}/Net/Net/IPv6.php .%{php_pear_dir}/Net/IPv6.php
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+# tests should not be packaged
+%{__rm} -r $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -54,7 +55,7 @@
 %defattr(644,root,root,755)
 %doc install.log
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/Net/IPv6.php
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -62,6 +63,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2010/11/16 14:56:11  glen
+- up to 1.1.0-stable
+
 Revision 1.20  2010/08/19 19:50:57  glen
 - up to 1.1.0 b2
 
================================================================

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



More information about the pld-cvs-commit mailing list