From e8f4f6c57e164e9de16b846a5f95290e21089bcb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 8 Jun 2016 16:42:03 +0200 Subject: php-pecl-http: add upstream patch for php 7.1 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile b/Makefile index 5d52b6e..fb7e252 100644 --- a/Makefile +++ b/Makefile @@ -106,6 +106,15 @@ php7build: time rpmbuild $(RPMDEFINES) --define "scl php70" --without zts -bb $(NAME).spec ; \ fi +php71build: + @if test -f $(NAME)-php7.spec ; then \ + time rpmbuild $(RPMDEFINES) --define "scl php71" --without zts -bb $(NAME)-php7.spec ; \ + elif test -f $(NAME)-dev.spec ; then \ + time rpmbuild $(RPMDEFINES) --define "scl php71" --without zts -bb $(NAME)-dev.spec ; \ + else \ + time rpmbuild $(RPMDEFINES) --define "scl php71" --without zts -bb $(NAME).spec ; \ + fi + php7test: @if test -f $(NAME)-php7.spec ; then \ time rpmbuild $(RPMDEFINES) --define "scl php70" --without zts -bb --with tests $(NAME)-php7.spec ; \ -- cgit