SPECS: php-pear-Date.spec - pear(Numbers/Words.php) optional; rel 2

glen glen at pld-linux.org
Fri Apr 4 19:19:46 CEST 2008


Author: glen                         Date: Fri Apr  4 17:19:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pear(Numbers/Words.php) optional; rel 2

---- Files affected:
SPECS:
   php-pear-Date.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/php-pear-Date.spec
diff -u SPECS/php-pear-Date.spec:1.48 SPECS/php-pear-Date.spec:1.49
--- SPECS/php-pear-Date.spec:1.48	Fri Apr  4 19:06:10 2008
+++ SPECS/php-pear-Date.spec	Fri Apr  4 19:19:41 2008
@@ -8,7 +8,7 @@
 Summary(pl.UTF-8):	%{_pearname} - klasy daty i stref czasowych
 Name:		php-pear-%{_pearname}
 Version:	1.5.0a1
-Release:	1
+Release:	2
 Epoch:		0
 License:	PHP 2.02
 Group:		Development/Languages/PHP
@@ -23,6 +23,9 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# exclude optional dependencies
+%define		_noautoreq	'pear(Numbers/Words.*)'
+
 %description
 Generic classes for representation and manipulation of dates, times
 and time zones without the need of timestamps, which is a huge
@@ -72,9 +75,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
+	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
+fi
+
 %files
 %defattr(644,root,root,755)
-%doc install.log
+%doc install.log optional-packages.txt
 %doc docs/Date/docs/TODO
 %dir %{php_pear_dir}/%{_class}
 %{php_pear_dir}/.registry/*.reg
@@ -91,6 +99,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2008-04-04 17:19:41  glen
+- pear(Numbers/Words.php) optional; rel 2
+
 Revision 1.48  2008-04-04 17:06:10  glen
 - release 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/php-pear-Date.spec?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list