|
@@ -0,0 +1,57 @@
+--- php5-propro.spec.orig
++++ php5-propro.spec
+@@ -10,7 +10,7 @@
+ %endif
+
+ #
+-Name: php5-propro
++Name: php7-propro
+ Version: %{my_version}
+ Release: 0
+ #
+@@ -18,9 +18,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/propro
+ Source: http://pecl.php.net/package/propro/%{pkg_name}-%{my_version}.tgz
+@@ -63,9 +63,9 @@ popd
+ %install
+
+ %makeinstall -C %{name} INSTALL_ROOT=%{buildroot}
+-%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d
+-echo "; comment out next line to disable propro extension in php" > %{buildroot}%{_sysconfdir}/php5/conf.d/propro.ini
+-echo 'extension = propro.so' >> %{buildroot}%{_sysconfdir}/php5/conf.d/propro.ini
++%{__mkdir_p} %{buildroot}%{_sysconfdir}/php7/conf.d
++echo "; comment out next line to disable propro extension in php" > %{buildroot}%{_sysconfdir}/php7/conf.d/propro.ini
++echo 'extension = propro.so' >> %{buildroot}%{_sysconfdir}/php7/conf.d/propro.ini
+
+
+ %clean
+@@ -74,12 +74,12 @@ echo 'extension = propro.so' >> %{buildr
+
+ %files
+ %defattr(644,root,root,755)
+-%{_libdir}/php5/extensions/propro.so
+-%config(noreplace) %{_sysconfdir}/php5/conf.d/propro.ini
++%{_libdir}/php7/extensions/propro.so
++%config(noreplace) %{_sysconfdir}/php7/conf.d/propro.ini
+ %doc CREDITS
+-%dir %{_includedir}/php5
+-%dir %{_includedir}/php5/ext
+-%dir %{_includedir}/php5/ext/propro
+-%{_includedir}/php5/ext/propro/php_propro.h
++%dir %{_includedir}/php7
++%dir %{_includedir}/php7/ext
++%dir %{_includedir}/php7/ext/propro
++%{_includedir}/php7/ext/propro/php_propro.h
+
+-%changelog -n php5-propro
++%changelog -n php7-propro
|