From e6a0d86abc7264cf756e1fb8a7e74790a6abe8a2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 30 Jan 2018 16:16:34 +0100 Subject: v0.6.0 --- Makefile | 2 +- php-icewind-streams-autoload.php | 7 ------ php-icewind-streams.spec | 48 +++++++++++++++++----------------------- 3 files changed, 21 insertions(+), 36 deletions(-) delete mode 100644 php-icewind-streams-autoload.php diff --git a/Makefile b/Makefile index 91b0fd5..13af741 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ SRCDIR := $(shell pwd) NAME := $(shell basename $(SRCDIR)) -include ../../common/Makefile +include ../../../common/Makefile diff --git a/php-icewind-streams-autoload.php b/php-icewind-streams-autoload.php deleted file mode 100644 index ecbb3df..0000000 --- a/php-icewind-streams-autoload.php +++ /dev/null @@ -1,7 +0,0 @@ -= 5.3 @@ -55,14 +53,20 @@ Provides: php-composer(%{pk_vendor}/%{pk_name}) = %{version} %description Generic stream wrappers for php. -To use this library, you just have to add, in your project: - require-once '%{_datadir}/php/%{ns_vendor}/%{ns_name}/autoload.php'; +Autoloader: %{_datadir}/php/%{ns_vendor}/%{ns_name}/autoload.php %prep %setup -q -n %{gh_project}-%{gh_commit} -cp %{SOURCE1} src/autoload.php +cat << 'EOF' | tee src/autoload.php +> bootstrap.php : Run the test suite -# remirepo:11 -run=0 ret=0 -if which php56; then - php56 %{_bindir}/phpunit || ret=1 - run=1 -fi -if which php71; then - php71 %{_bindir}/phpunit || ret=1 - run=1 -fi -if [ $run -eq 0 ]; then -%{_bindir}/phpunit --verbose -# remirepo:2 -fi +for cmd in php php56 php70 php71 php72; do + if which $cmd; then + $cmd %{_bindir}/phpunit || ret=1 + fi +done exit $ret -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) %{!?_licensedir:%global license %%doc} %license LICENCE %doc composer.json @@ -117,6 +106,9 @@ rm -rf %{buildroot} %changelog +* Tue Jan 30 2018 Remi Collet - 0.6.0-1 +- Update to 0.6.0 + * Mon Dec 5 2016 Remi Collet - 0.5.2-1 - update to 0.5.2 -- cgit