summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-07 11:10:28 +0200
committerRemi Collet <fedora@famillecollet.com>2012-10-07 11:10:28 +0200
commit18b8496bf99d60976399c92bc123aca1ba5384b8 (patch)
tree47348622494c329a363be5b5607acb05a6abf71b
parentc223d24608947d4d3e0af26331abd21fdd42c8f9 (diff)
php-pear-PHP-CodeSniffer-1.4.0
-rw-r--r--php-pear-PHP-CodeSniffer.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/php-pear-PHP-CodeSniffer.spec b/php-pear-PHP-CodeSniffer.spec
index 02883d5..c4ddfe8 100644
--- a/php-pear-PHP-CodeSniffer.spec
+++ b/php-pear-PHP-CodeSniffer.spec
@@ -1,9 +1,10 @@
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%global pear_name PHP_CodeSniffer
Name: php-pear-PHP-CodeSniffer
-Version: 1.3.6
-Release: 1%{?dist}.2
+Version: 1.4.0
+Release: 1%{?dist}
Summary: PHP coding standards enforcement tool
Group: Development/Tools
@@ -48,7 +49,7 @@ rm -rf $RPM_BUILD_ROOT
# Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??*
# Install XML package description
mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
@@ -61,6 +62,7 @@ cd %{pear_name}-%{version}/tests
# Version 1.3.4 : Tests: 210, Assertions: 150, Skipped: 3.
%{_bindir}/phpunit \
-d date.timezone=UTC \
+ --verbose \
AllTests.php
@@ -89,6 +91,9 @@ fi
%changelog
+* Sun Oct 7 2012 Remi Collet <RPMS@FamilleCollet.com> - 1.4.0-1
+- upstream 1.4.0
+
* Sun Aug 19 2012 Remi Collet <remi@fedoraproject.org> - 1.3.6-1.2
- rebuilt for new pear_datadir