]> git.pld-linux.org Git - packages/composer.git/commitdiff
always run self-test auto/th/composer-1.9.0-1
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 11 Aug 2019 18:52:41 +0000 (21:52 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 11 Aug 2019 18:53:44 +0000 (21:53 +0300)
composer.spec

index b10795a5d84ab73c636e36cc042edba41150bc7c..923e74bd62337a06087ccf39b67b7d3f1c30cc80 100644 (file)
@@ -22,10 +22,10 @@ URL:                https://getcomposer.org/
 BuildRequires: php-devel
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.673
-%if %{with tests}
 # instead of filling duplicate deps for running tests,
 # update composer version that have neccessary runtime dependencies
 BuildRequires: composer >= 1.7.0
+%if %{with tests}
 BuildRequires: git-core
 BuildRequires: phpab
 BuildRequires: phpunit >= 4.8
@@ -108,6 +108,9 @@ ln -s src/Composer/res
 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
 
 %build
+# always run self-test
+%{__php} ./bin/composer diagnose
+
 %if %{with tests}
 phpab -n -o src/bootstrap.php -e '*/Fixtures/*' src/ tests/
 echo "require 'src/Composer/autoload.php';" >> src/bootstrap.php
This page took 0.091393 seconds and 4 git commands to generate.