From 45f33a30180175d2888a7721e5a492dc0b25425c Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 6 Mar 2009 04:16:48 +0000 Subject: [PATCH] Belatedly update to 1.1.0 final. --- .cvsignore | 2 +- php-pear-PHP-CodeSniffer.spec | 20 +++++++++++--------- sources | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.cvsignore b/.cvsignore index 5ecb5ed..c2f22a0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -PHP_CodeSniffer-1.1.0RC2.tgz +PHP_CodeSniffer-1.1.0.tgz diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec index 4fc077d..56d6ade 100644 --- a/php-pear-PHP-CodeSniffer.spec +++ b/php-pear-PHP-CodeSniffer.spec @@ -1,16 +1,15 @@ %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} %define pear_name PHP_CodeSniffer -%define rctag RC2 Name: php-pear-PHP-CodeSniffer Version: 1.1.0 -Release: 0.2.%{rctag}%{?dist} +Release: 1%{?dist} Summary: PHP coding standards enforcement tool Group: Development/Tools License: BSD URL: http://pear.php.net/package/PHP_CodeSniffer -Source0: http://pear.php.net/get/PHP_CodeSniffer-%{version}%{rctag}.tgz +Source0: http://pear.php.net/get/PHP_CodeSniffer-%{version}.tgz Source1: PHP_CodeSniffer-licence.txt BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -39,7 +38,7 @@ This package includes a utility to run PHP_CodeSniffer from command line. %prep %setup -q -c [ -f package2.xml ] || mv package.xml package2.xml -mv package2.xml %{pear_name}-%{version}%{rctag}/%{pear_name}.xml +mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml %build @@ -47,7 +46,7 @@ mv package2.xml %{pear_name}-%{version}%{rctag}/%{pear_name}.xml %install -cd %{pear_name}-%{version}%{rctag} +cd %{pear_name}-%{version} rm -rf $RPM_BUILD_ROOT docdir %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml @@ -87,8 +86,8 @@ fi %files %defattr(-,root,root,-) -%doc %{pear_name}-%{version}%{rctag}/PHP_CodeSniffer-licence.txt -%doc %{pear_name}-%{version}%{rctag}/docdir/* +%doc %{pear_name}-%{version}/PHP_CodeSniffer-licence.txt +%doc %{pear_name}-%{version}/docdir/* %{pear_xmldir}/%{pear_name}.xml %{pear_testdir}/%{pear_name} %dir %{pear_phpdir}/PHP @@ -97,12 +96,15 @@ fi %files -n phpcs %defattr(-,root,root,-) -%doc %{pear_name}-%{version}%{rctag}/PHP_CodeSniffer-licence.txt -%doc %{pear_name}-%{version}%{rctag}/phpcs-svn-pre-commit +%doc %{pear_name}-%{version}/PHP_CodeSniffer-licence.txt +%doc %{pear_name}-%{version}/phpcs-svn-pre-commit %{_bindir}/phpcs %changelog +* Thu Mar 05 2009 Konstantin Ryabitsev - 1.1.0-1 +- Belatedly update to 1.1.0 final. + * Thu Feb 26 2009 Fedora Release Engineering - 1.1.0-0.2.RC2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/sources b/sources index 97c78c1..6a93018 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c7b10489c21b73e56b67cfa967eb1672 PHP_CodeSniffer-1.1.0RC2.tgz +b5f727311b091ee6b6edf8ffcc411e71 PHP_CodeSniffer-1.1.0.tgz