summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-10-28 15:32:02 +0100
committerRemi Collet <fedora@famillecollet.com>2015-10-28 15:32:02 +0100
commit5e7331a198aa2f4ff5b18a3e69af77258417449a (patch)
tree603f027b3e896d7ac6cef5b3f72cd7127cdd5f7f
parent5b5b57a8754552d642c3d7a8b0cab10d0c5dac96 (diff)
php-ast: 0.1.0-dev (php 7) - New package
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2e8d44e..0406eaf 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,11 @@ php7src:
spectool -g -S $(NAME)-php7.spec
php7build:
- time rpmbuild $(RPMDEFINES) --define "scl php70" --without zts -bb $(NAME)-php7.spec
+ @if test -f $(NAME)-php7.spec ; then \
+ time rpmbuild $(RPMDEFINES) --define "scl php70" --without zts -bb $(NAME)-php7.spec ; \
+ else \
+ time rpmbuild $(RPMDEFINES) --define "scl php70" --without zts -bb $(NAME).spec ; \
+ fi
php7srpm:
rpmbuild $(RPMDEFINES) $(SRCDEFINES) -bs $(NAME)-php7.spec