]> git.pld-linux.org Git - packages/php-pear-PHP_CodeSniffer.git/commitdiff
keep xmlwriter optional auto/th/php-pear-PHP_CodeSniffer-1.5.2-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 24 Mar 2014 09:10:58 +0000 (11:10 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 24 Mar 2014 09:10:58 +0000 (11:10 +0200)
php-pear-PHP_CodeSniffer.spec

index 2c1921d8b9d8022b300f0a8095120bf8b51d5db2..c7b20091eb16142a135dc42e3c483737100dfa5f 100644 (file)
@@ -32,6 +32,12 @@ Obsoletes:   php-pear-PHP_CodeSniffer-tests
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# exclude optional php dependencies
+%define                _noautophp      php-xmlwriter
+
+# put it together for rpmbuild
+%define                _noautoreq      %{?_noautophp}
+
 %description
 PHP_CodeSniffer is a PHP5 script that tokenises and "sniffs" PHP code
 to detect violations of a defined set of coding standards. It is an
This page took 0.044275 seconds and 5 git commands to generate.