Changes of Revision 4
[-] | Changed | php5-rrd.spec |
x 1
2 3 %build 4 %{_bindir}/phpize 5 -pushd %{name} 6 +#pushd %{name} 7 8 CFLAGS="%{optflags} -fno-strict-aliasing" 9 CXXFLAGS="%{optflags} -fno-strict-aliasing" 10
11 --with-php-config=%{_bindir}/php-config || cat config.log 12 13 %{__make} %{?jobs:-j%jobs} 14 -popd 15 +#popd 16 17 %install 18 -%__make -C %{name} DESTDIR=%{buildroot} install 19 +%__make DESTDIR=%{buildroot} install 20 %{__mkdir} -p %{buildroot}%{_sysconfdir}/php5/conf.d 21 echo "; comment out next line to disable rrd extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/rrd.ini 22 echo 'extension = rrd.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/rrd.ini 23 |