diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-04-07 11:35:06 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-04-07 11:35:06 +0200 |
commit | db54420a964fa65a327dda81bd5d76d828cfbc4f (patch) | |
tree | 7efaebec05c4f56fc36857b3da39255bec450399 /Makefile | |
parent | 3108aabf76830b110bb23866483eac1d1d218c74 (diff) |
php-phpunit-PHPUnit: 5.3.1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |