Difference Between Revision 3 and internetx:php5:extensions / php5-raphf
[-] | Changed | php5-raphf.spec |
x 1
2 %define upstream 0 3 %endif 4 # 5 -Name: php5-raphf 6 +Name: php7-raphf 7 Version: %{my_version} 8 Release: 0 9 # 10
11 Group: Productivity/Networking/Web/Servers 12 # 13 BuildRoot: %{_tmppath}/%{pkg_name}-%{my_version}-build 14 -BuildRequires: php5-devel 15 -BuildRequires: -php5-raphf 16 -BuildRequires: -php5-propro 17 +BuildRequires: php7-devel 18 +BuildRequires: -php7-raphf 19 +BuildRequires: -php7-propro 20 # 21 URL: http://pecl.php.net/raphf 22 Source: http://pecl.php.net/package/raphf/%{pkg_name}-%{my_version}.tgz 23
24 %install 25 26 %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} 27 -%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d 28 -echo "; comment out next line to disable raphf extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/raphf.ini 29 -echo 'extension = raphf.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/raphf.ini 30 +%{__mkdir_p} %{buildroot}%{_sysconfdir}/php7/conf.d 31 +echo "; comment out next line to disable raphf extension in php" > %{buildroot}%{_sysconfdir}/php7/conf.d/raphf.ini 32 +echo 'extension = raphf.so' >> %{buildroot}%{_sysconfdir}/php7/conf.d/raphf.ini 33 34 35 %clean 36
37 38 %files 39 %defattr(644,root,root,755) 40 -%{_libdir}/php5/extensions/raphf.so 41 -%config(noreplace) %{_sysconfdir}/php5/conf.d/raphf.ini 42 +%{_libdir}/php7/extensions/raphf.so 43 +%config(noreplace) %{_sysconfdir}/php7/conf.d/raphf.ini 44 %doc CREDITS 45 -%dir %{_includedir}/php5 46 -%dir %{_includedir}/php5/ext 47 -%dir %{_includedir}/php5/ext/raphf 48 -%{_includedir}/php5/ext/raphf/php_raphf.h 49 +%dir %{_includedir}/php7 50 +%dir %{_includedir}/php7/ext 51 +%dir %{_includedir}/php7/ext/raphf 52 +%{_includedir}/php7/ext/raphf/php_raphf.h 53 54 -%changelog -n php5-raphf 55 +%changelog -n php7-raphf 56 |