|
@@ -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
|