diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-10-28 15:32:02 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-10-28 15:32:02 +0100 |
commit | 5e7331a198aa2f4ff5b18a3e69af77258417449a (patch) | |
tree | 603f027b3e896d7ac6cef5b3f72cd7127cdd5f7f /Makefile | |
parent | 5b5b57a8754552d642c3d7a8b0cab10d0c5dac96 (diff) |
php-ast: 0.1.0-dev (php 7) - New package
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |