Logoj0ke.net Open Build Service > Projects > internetx:php7:extensions > php7-raphf > Changes
Sign Up | Log In

Difference Between Revision 6 and internetx:php5:extensions / php5-raphf

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