From 5e7331a198aa2f4ff5b18a3e69af77258417449a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Oct 2015 15:32:02 +0100 Subject: php-ast: 0.1.0-dev (php 7) - New package --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit