summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb7e252..82713c1 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,13 @@ devsrc:
php7src:
spectool -g -S $(NAME)-php7.spec
+php5build:
+ @if test -f $(NAME)-dev.spec ; then \
+ time rpmbuild $(RPMDEFINES) --define "scl php56" --without zts -bb $(NAME)-dev.spec ; \
+ else \
+ time rpmbuild $(RPMDEFINES) --define "scl php56" --without zts -bb $(NAME).spec ; \
+ fi
+
php7build:
@if test -f $(NAME)-php7.spec ; then \
time rpmbuild $(RPMDEFINES) --define "scl php70" --without zts -bb $(NAME)-php7.spec ; \