summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6680ecf..3c24bbe 100644
--- a/Makefile
+++ b/Makefile
@@ -123,5 +123,5 @@ 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' && \
+ tar xf $(shell spectool -l $(NAME).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).spec).json