From db54420a964fa65a327dda81bd5d76d828cfbc4f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 7 Apr 2016 11:35:06 +0200 Subject: php-phpunit-PHPUnit: 5.3.1 --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fa6e877..6ec9d89 100644 --- a/Makefile +++ b/Makefile @@ -127,8 +127,11 @@ REFLECTION: $(NAME).spec composer: tar xf $(shell spectool -l $(NAME).spec | head -n 1 | sed -e 's:.* ::' | sed -e 's:.*/::') --strip-components=1 '*/composer.json' && \ - mv composer.json composer-$(shell sed -n '/^Version:/{s/[^0-9]*//;p}' $(NAME).spec).json + cp composer.json composer-$(shell sed -n '/^Version:/{s/[^0-9]*//;p}' $(NAME).spec).json devcomposer: + mv composer.json old.json && \ tar xf $(shell spectool -l $(NAME)-dev.spec | head -n 1 | sed -e 's:.*/::') --strip-components=1 '*/composer.json' && \ - mv composer.json composer-$(shell sed -n '/^Version:/{s/[^0-9]*//;p}' $(NAME)-dev.spec).json + mv composer.json composer-dev.json && \ + mv old.json composer.json && \ + cp composer-dev.json composer-$(shell sed -n '/^Version:/{s/[^0-9]*//;p}' $(NAME)-dev.spec).json -- cgit