commit 4f2e127713d15e6d7a43f9754689c29fa68d66e8 Author: Elan Ruusamäe <g...@delfi.ee> Date: Mon Mar 24 11:10:58 2014 +0200
keep xmlwriter optional php-pear-PHP_CodeSniffer.spec | 6 ++++++ 1 file changed, 6 insertions(+) --- diff --git a/php-pear-PHP_CodeSniffer.spec b/php-pear-PHP_CodeSniffer.spec index 2c1921d..c7b2009 100644 --- a/php-pear-PHP_CodeSniffer.spec +++ b/php-pear-PHP_CodeSniffer.spec @@ -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 ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/php-pear-PHP_CodeSniffer.git/commitdiff/4f2e127713d15e6d7a43f9754689c29fa68d66e8 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit