Difference Between Revision 9 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 +%{_includedir}/php7/ext/raphf/php_raphf_api.h 54 55 -%changelog -n php5-raphf 56 +%changelog -n php7-raphf 57 |
||
[+] | Added | project.diff ^ |
@@ -0,0 +1,57 @@ +--- php5-raphf.spec.orig ++++ php5-raphf.spec +@@ -9,7 +9,7 @@ + %define upstream 0 + %endif + # +-Name: php5-raphf ++Name: php7-raphf + Version: %{my_version} + Release: 0 + # +@@ -17,9 +17,9 @@ License: PHP + Group: Productivity/Networking/Web/Servers + # + BuildRoot: %{_tmppath}/%{pkg_name}-%{my_version}-build +-BuildRequires: php5-devel +-BuildRequires: -php5-raphf +-BuildRequires: -php5-propro ++BuildRequires: php7-devel ++BuildRequires: -php7-raphf ++BuildRequires: -php7-propro + # + URL: http://pecl.php.net/raphf + Source: http://pecl.php.net/package/raphf/%{pkg_name}-%{my_version}.tgz +@@ -62,9 +62,9 @@ popd + %install + + %makeinstall -C %{name} INSTALL_ROOT=%{buildroot} +-%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d +-echo "; comment out next line to disable raphf extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/raphf.ini +-echo 'extension = raphf.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/raphf.ini ++%{__mkdir_p} %{buildroot}%{_sysconfdir}/php7/conf.d ++echo "; comment out next line to disable raphf extension in php" > %{buildroot}%{_sysconfdir}/php7/conf.d/raphf.ini ++echo 'extension = raphf.so' >> %{buildroot}%{_sysconfdir}/php7/conf.d/raphf.ini + + + %clean +@@ -73,12 +73,12 @@ echo 'extension = raphf.so' >> %{buildro + + %files + %defattr(644,root,root,755) +-%{_libdir}/php5/extensions/raphf.so +-%config(noreplace) %{_sysconfdir}/php5/conf.d/raphf.ini ++%{_libdir}/php7/extensions/raphf.so ++%config(noreplace) %{_sysconfdir}/php7/conf.d/raphf.ini + %doc CREDITS +-%dir %{_includedir}/php5 +-%dir %{_includedir}/php5/ext +-%dir %{_includedir}/php5/ext/raphf +-%{_includedir}/php5/ext/raphf/php_raphf.h ++%dir %{_includedir}/php7 ++%dir %{_includedir}/php7/ext ++%dir %{_includedir}/php7/ext/raphf ++%{_includedir}/php7/ext/raphf/php_raphf.h + +-%changelog -n php5-raphf ++%changelog -n php7-raphf |