Changes of Revision 2
[-] | Changed | php5-cego.spec |
x 1
2 Summary: Cego PHP extension 3 URL: http://pecl.php.net/package/Paradox 4 Source0: PHP-cego-%{version}.tar.gz 5 +Patch0: cego-includedir.patch 6 BuildRoot: %{_tmppath}/%{name}-%{version}-build 7 -BuildRequires: cego-devel autoconf automake php5-devel glibc-devel libgcc gcc gcc-c++ 8 -Requires: php5 cego 9 +BuildRequires: cego-devel autoconf automake glibc-devel libgcc gcc gcc-c++ 10 +Requires: cego 11 +%if 0%{?suse_version} 12 +BuildRequires: php5-devel 13 +Requires: php5 14 +%endif 15 +%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?redhat_version} || 0%{?fedora_version} 16 +BuildRequires: php-devel 17 +Requires: php 18 +%endif 19 20 %description 21 22
23 24 %prep 25 %setup -q -n cego 26 +%patch0 27 28 export PHP_PREFIX=%{_prefix} 29 $PHP_PREFIX/bin/phpize 30 |
||
[+] | Added | cego-includedir.patch ^ |
@@ -0,0 +1,22 @@ +--- config.m4.orig 2011-06-19 13:38:47.918701812 +0200 ++++ config.m4 2011-06-19 13:39:08.866748922 +0200 +@@ -17,7 +17,7 @@ + + dnl # --with-cego -> check with-path + SEARCH_PATH="/usr/local /usr" # you might want to change this +- SEARCH_FOR="/include/cgwrap.h" # you most likely want to change this ++ SEARCH_FOR="/include/cego/cgwrap.h" # you most likely want to change this + if test -r $PHP_CEGO/$SEARCH_FOR + then # path given as parameter + CEGO_DIR=$PHP_CEGO +--- cego.c.orig 2011-06-19 13:39:43.095281500 +0200 ++++ cego.c 2011-06-19 13:40:05.920368955 +0200 +@@ -27,7 +27,7 @@ + #include "ext/standard/info.h" + #include "php_cego.h" + +-#include "cgwrap.h" ++#include "cego/cgwrap.h" + + #define PHPCEGOVERSION "1.0.1" + |