packages: php-pear-Calendar/php-pear-Calendar.spec - drop -tests

glen glen at pld-linux.org
Sat Jan 22 21:21:23 CET 2011


Author: glen                         Date: Sat Jan 22 20:21:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- drop -tests

---- Files affected:
packages/php-pear-Calendar:
   php-pear-Calendar.spec (1.28 -> 1.29) 

---- Diffs:

================================================================
Index: packages/php-pear-Calendar/php-pear-Calendar.spec
diff -u packages/php-pear-Calendar/php-pear-Calendar.spec:1.28 packages/php-pear-Calendar/php-pear-Calendar.spec:1.29
--- packages/php-pear-Calendar/php-pear-Calendar.spec:1.28	Sat Aug 21 21:07:37 2010
+++ packages/php-pear-Calendar/php-pear-Calendar.spec	Sat Jan 22 21:21:17 2011
@@ -2,12 +2,12 @@
 %include	/usr/lib/rpm/macros.php
 %define		_class		Calendar
 %define		_status		beta
-%define		_pearname	%{_class}
+%define		_pearname	Calendar
 Summary:	%{_pearname} - building calendar data structures (irrespective of output)
 Summary(pl.UTF-8):	%{_pearname} - tworzenie struktur danych kalendarza (niezależne od wyjścia)
 Name:		php-pear-%{_pearname}
 Version:	0.5.5
-Release:	2
+Release:	3
 License:	PHP
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -19,11 +19,12 @@
 Requires:	php-common >= 3:4.0.5
 Requires:	php-pear
 Suggests:	php-pear-Date
+Obsoletes:	php-pear-Calendar-tests
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # exclude optional dependencies
-%define		_noautoreq	'pear(Date/Calc.php)'
+%define		_noautoreq	pear(Date/Calc.php)
 
 %description
 Calendar provides an API for building calendar data structures. Using
@@ -55,20 +56,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} = %{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
 
@@ -91,11 +78,7 @@
 %doc install.log optional-packages.txt
 %doc docs/%{_pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}
-
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/Calendar
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -103,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.29  2011/01/22 20:21:17  glen
+- drop -tests
+
 Revision 1.28  2010/08/21 19:07:37  glen
 - updated deps with pearize.sh
 - release 2
================================================================

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



More information about the pld-cvs-commit mailing list