summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-20 07:21:16 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-20 07:21:16 +0100
commit68cf23d8ae388557b0e80b2cb12c2e51d9649e99 (patch)
treed3e75875c12e384573ef7b19b286ad0890bf7935 /Makefile
parent8642b6c0224456d288eed29c241016628dedb26b (diff)
php-tecnickcom-tc-lib-color: 1.6.8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8c6ffe1..6680ecf 100644
--- a/Makefile
+++ b/Makefile
@@ -121,3 +121,7 @@ src:
REFLECTION: $(NAME).spec
php --re $(shell pwd | sed -e 's/.*-//') >REFLECTION
+
+composer:
+ tar xf $(shell spectool -l $(NAME).spec | sed -e 's:.*/::') --strip-components=1 '*/composer.json' && \
+ mv composer.json composer-$(shell sed -n '/^Version:/{s/[^0-9]*//;p}' $(NAME).spec).json