[packages/phpcs] rename package to phpcs
glen
glen at pld-linux.org
Tue Oct 4 13:09:41 CEST 2016
commit a9c35b2c2033ea1e81d37c7079591df4d86906a4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Oct 3 12:09:09 2016 +0300
rename package to phpcs
php-pear-PHP_CodeSniffer.spec => phpcs.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/php-pear-PHP_CodeSniffer.spec b/phpcs.spec
similarity index 93%
rename from php-pear-PHP_CodeSniffer.spec
rename to phpcs.spec
index 6ca9743..b9e6f88 100644
--- a/php-pear-PHP_CodeSniffer.spec
+++ b/phpcs.spec
@@ -8,14 +8,13 @@
%include /usr/lib/rpm/macros.php
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}
+Name: phpcs
Version: 2.3.4
-Release: 1
-Epoch: 1
+Release: 0.1
License: BSD License
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{pearname}-%{version}.tgz
-# Source0-md5: 024479013541e5423cda862c1901b74e
+# Source0-md5: 7484f6b440a3037aa267141fada2edbc
Patch0: case-sensitive.patch
Patch1: peardeps.patch
URL: http://pear.php.net/package/PHP_CodeSniffer/
@@ -28,6 +27,8 @@ Requires: php(tokenizer)
Requires: php-pear
Suggests: php(xmlwriter)
Suggests: php-phpunit-PHP_Timer
+Provides: php-pear-PHP_CodeSniffer = 1:%{version}-%{release}
+Obsoletes: php-pear-PHP_CodeSniffer
Obsoletes: php-pear-PHP_CodeSniffer-tests
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/phpcs.git/commitdiff/e1239feb66b31c65d0610098e57ae563925842c1
More information about the pld-cvs-commit
mailing list