From ba0e829cf42e5cc220a16afec087a8c4c599cd57 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Jul 28 2016 13:25:12 +0000 Subject: cleanup --- diff --git a/.gitignore b/.gitignore index e69de29..b69a047 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/mongo-php-adapter-1.0.5-db7ef24.tar.gz diff --git a/php-alcaeus-mongo-php-adapter.spec b/php-alcaeus-mongo-php-adapter.spec index 3c09a51..823d00d 100644 --- a/php-alcaeus-mongo-php-adapter.spec +++ b/php-alcaeus-mongo-php-adapter.spec @@ -13,10 +13,6 @@ # Upstream only support 64bits, see https://jira.mongodb.org/browse/CDRIVER-1186 # Server only available on LE arch (ExcludeArch: ppc ppc64 %{sparc} s390 s390x) %global with_tests 0%{?_with_tests:1} -# remirepo:3 -%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7 -%global with_tests 0%{!?_without_tests:1} -%endif %global ns_vendor Alcaeus @@ -30,7 +26,6 @@ License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{?gh_short}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-composer(theseer/autoload) %if %{with_tests} @@ -98,7 +93,6 @@ EOF %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/php cp -pr lib/%{ns_vendor} %{buildroot}%{_datadir}/php/%{ns_vendor} @@ -133,20 +127,7 @@ fi : Run the test suite ret=0 -# remirepo:10 -run=0 -if which php56; then - php56 %{_bindir}/phpunit --bootstrap bs.php || ret=1 - run=1 -fi -if which php71; then - php71 %{_bindir}/phpunit --bootstrap bs.php || ret=1 - run=1 -fi -if [ $run -eq 0 ]; then %{_bindir}/phpunit --bootstrap bs.php || ret=1 -# remirepo:1 -fi : Cleanup kill $(cat server.pid) @@ -157,12 +138,7 @@ exit $ret %endif -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENSE %doc composer.json diff --git a/sources b/sources index e69de29..faceda4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +df917ee51d3b7d26e6bcd6ee16028e19 mongo-php-adapter-1.0.5-db7ef24.tar.gz