packages: php-pear-PHP_CodeSniffer/php-pear-PHP_CodeSniffer.spec - up to 1....

glen glen at pld-linux.org
Thu Aug 19 16:21:27 CEST 2010


Author: glen                         Date: Thu Aug 19 14:21:27 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.3.0a1

---- Files affected:
packages/php-pear-PHP_CodeSniffer:
   php-pear-PHP_CodeSniffer.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: packages/php-pear-PHP_CodeSniffer/php-pear-PHP_CodeSniffer.spec
diff -u packages/php-pear-PHP_CodeSniffer/php-pear-PHP_CodeSniffer.spec:1.9 packages/php-pear-PHP_CodeSniffer/php-pear-PHP_CodeSniffer.spec:1.10
--- packages/php-pear-PHP_CodeSniffer/php-pear-PHP_CodeSniffer.spec:1.9	Thu May 20 21:45:52 2010
+++ packages/php-pear-PHP_CodeSniffer/php-pear-PHP_CodeSniffer.spec	Thu Aug 19 16:21:22 2010
@@ -6,18 +6,20 @@
 %include	/usr/lib/rpm/macros.php
 %define		_class		PHP
 %define		_subclass	CodeSniffer
-%define		_status		stable
+%define		_status		alpha
 %define		_pearname	PHP_CodeSniffer
 %define		php_min_version 5.1.2
+%define		subver	a1
+%define		rel		1
 Summary:	PHP_CodeSniffer tokenises PHP code and detects violations of a defined set of coding standards
 Summary(pl.UTF-8):	PHP_CodeSniffer analizuje kod PHP pod kątem naruszeń zdefiniowanych standardów kodowania
 Name:		php-pear-%{_pearname}
-Version:	1.2.2
-Release:	1
+Version:	1.3.0
+Release:	0.%{subver}.%{rel}
 License:	BSD License
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	b734e066105d052fde564ab5e6be7091
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
+# Source0-md5:	e1b19d7b793d01bce9241ce5e2254395
 URL:		http://pear.php.net/package/PHP_CodeSniffer/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -26,7 +28,7 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq pear(PHP/CodeSniffer/../CodeSniffer.php) pear($dir/{$standard}CodingStandard.php)
+%define		_noautoreq pear(PHP/CodeSniffer/../CodeSniffer.php) pear($dir/{$standard}CodingStandard.php) pear(PHP/Timer.*)
 
 %description
 PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP code
@@ -73,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
 %{php_pear_dir}/.registry/*.reg
 %attr(755,root,root) %{_bindir}/phpcs
 %{php_pear_dir}/PHP/CodeSniffer
@@ -92,6 +99,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2010/08/19 14:21:22  glen
+- up to 1.3.0a1
+
 Revision 1.9  2010/05/20 19:45:52  glen
 - config path todo
 
================================================================

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



More information about the pld-cvs-commit mailing list