%define ruleset PHPCompatibility
Summary: PHP Compatibility Coding Standard for PHP_CodeSniffer
Name: php-pear-PHP_CodeSniffer-%{ruleset}
-Version: 1.1.0
+Version: 5.5
Release: 1
License: LGPL
Group: Development/Languages/PHP
-Source0: https://github.com/wimg/PHPCompatibility/tarball/master/%{ruleset}-%{version}.tar.gz
-# Source0-md5: 03e220a1fa185a36faf3631478a15dbd
+Source0: https://github.com/wimg/PHPCompatibility/archive/%{version}/%{ruleset}-%{version}.tar.gz
+# Source0-md5: b53b75c4795aa3fbfbb2e5864e623f08
URL: http://techblog.wimgodden.be/tag/codesniffer/
Requires: php-pear
-Requires: php-pear-PHP_CodeSniffer >= 1.3
+Requires: php-pear-PHP_CodeSniffer >= 1:1.5.1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
version compatibility.
%prep
-%setup -qc
-mv *-%{ruleset}-*/* .
+%setup -q -n %{ruleset}-%{version}
%install
rm -rf $RPM_BUILD_ROOT