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

Changes of Revision 2

[-] Changed php5-pecl_http.spec
x
 
1
@@ -6,16 +6,16 @@
2
 %define        my_version 3.0.0
3
 %define        upstream 1
4
 BuildRequires: libevent-devel
5
-BuildRequires: php5-raphf
6
-BuildRequires: php5-propro
7
-Requires:  php5-raphf
8
-Requires:  php5-propro
9
+BuildRequires: php7-raphf
10
+BuildRequires: php7-propro
11
+Requires:  php7-raphf
12
+Requires:  php7-propro
13
 %else
14
 %define        my_version 1.7.6
15
 %define        upstream 0
16
 %endif
17
 #
18
-Name:      php5-pecl_http
19
+Name:      php7-pecl_http
20
 Version:   %{my_version}
21
 Release:   0
22
 #
23
@@ -27,7 +27,7 @@
24
 #yes, PHP modules are required for build, as configure tests it's precence, to enable
25
 #or disable features.
26
 BuildRequires: php-devel curl-devel file-devel libevent php-iconv php-hash
27
-Requires:  php5 = %{php_version} php-iconv php-hash
28
+Requires:  php7 = %{php_version} php-iconv php-hash
29
 #
30
 URL:       http://pecl.php.net/pecl_http
31
 Source:        http://pecl.php.net/package/pecl_http/%{pkg_name}-%{my_version}.tar.bz2
32
@@ -48,9 +48,9 @@
33
     Michael Wallner <mike@php.net>
34
 
35
 %package        devel
36
-Summary:        Include files of php5-pecl_http
37
+Summary:        Include files of php7-pecl_http
38
 Group:          Development/Libraries/C and C++
39
-Requires:       %{name} = %{my_version} php5-devel curl-devel file-devel libevent
40
+Requires:       %{name} = %{my_version} php7-devel curl-devel file-devel libevent
41
 
42
 %description   devel
43
 
44
@@ -72,8 +72,8 @@
45
 %build
46
 if [ -x /usr/bin/php ] ; then
47
 export PHP_EXECUTABLE="/usr/bin/php"
48
-elif [ -x /usr/bin/php5 ] ; then
49
-export PHP_EXECUTABLE="/usr/bin/php5"
50
+elif [ -x /usr/bin/php7 ] ; then
51
+export PHP_EXECUTABLE="/usr/bin/php7"
52
 else
53
 export PHP_EXECUTABLE="/usr/local/bin/php"
54
 fi
55
@@ -117,14 +117,14 @@
56
 %install
57
 
58
 %makeinstall INSTALL_ROOT=%{buildroot}
59
-%{__mkdir_p} %{buildroot}%{_sysconfdir}/php5/conf.d
60
-%{__install} -m 644 %{S:1} %{buildroot}%{_sysconfdir}/php5/conf.d/http.ini
61
+%{__mkdir_p} %{buildroot}%{_sysconfdir}/php7/conf.d
62
+%{__install} -m 644 %{S:1} %{buildroot}%{_sysconfdir}/php7/conf.d/http.ini
63
 
64
 %clean
65
 %{__rm} -rf %{buildroot}
66
 
67
 %post
68
-for file in /etc/php5/conf.d/propro.ini /etc/php5/conf.d/raphf.ini ; do
69
+for file in /etc/php7/conf.d/propro.ini /etc/php7/conf.d/raphf.ini ; do
70
  if [ -f ${file} ] ; then
71
   sed -i -r s@"^(extension\s?=.*)"@";\1"@ ${file}
72
  fi
73
@@ -132,46 +132,20 @@
74
 
75
 %files
76
 %defattr(-,root,root,-)
77
-%{_libdir}/php5/extensions/http.so
78
-%config(noreplace) %{_sysconfdir}/php5/conf.d/http.ini
79
+%{_libdir}/php7/extensions/http.so
80
+%config(noreplace) %{_sysconfdir}/php7/conf.d/http.ini
81
 
82
 %files devel
83
 %defattr(-,root,root,-)
84
-%dir %{_includedir}/php5/ext/http
85
+%dir %{_includedir}/php7/ext/http
86
 %if "%{upstream}" == "0"
87
-%dir %{_includedir}/php5/ext/http/phpstr
88
-%{_includedir}/php5/ext/http/*.h
89
-%{_includedir}/php5/ext/http/phpstr/*.h
90
+%dir %{_includedir}/php7/ext/http/phpstr
91
+%{_includedir}/php7/ext/http/*.h
92
+%{_includedir}/php7/ext/http/phpstr/*.h
93
 %doc lib
94
 %else
95
-%{_includedir}/php5/ext/http/php_*.h
96
+%{_includedir}/php7/ext/http/php_*.h
97
 %endif
98
 %doc LICENSE CREDITS KnownIssues.txt
99
 
100
-%changelog -n php5-pecl_http
101
-* Thu Dec 10 2009 Carsten Schoene <cs@linux-administrator.com> - 1.6.6-0
102
-- new release 1.6.6
103
-* Fri Aug 14 2009 Carsten Schoene <cs@linux-administrator.com> - 1.6.5-0
104
-- new release 1.6.5
105
-* Fri Jul 24 2009 Carsten Schoene <cs@linux-administrator.com> - 1.6.4-0
106
-- new release 1.6.4
107
-* Thu Feb 12 2009 Carsten Schoene <cs@linux-administrator.com>
108
-- new release 1.6.3
109
-* Fri Dec 05 2008 Carsten Schoene <cs@linux-administrator.com>
110
-- version bump to 1.6.2
111
-* Wed Jul 23 2008 Carsten Schoene <cs@linux-administrator.com>
112
-- version bump to 1.6.1
113
-* Sun Feb 25 2007 - judas_iscariote@shorewall.net
114
-- version bump to 1.5.2 
115
-* Wed Feb 21 2007 - judas_iscariote@shorewall.net
116
-- version 1.5.1 solves compile problems in older PHP versions.
117
-* Tue Feb 20 2007 - judas_iscariote@shorewall.net
118
-- update to version 1.5.0
119
-* Sun Jan 29 2007 - judas_iscariote@shorewall.net
120
-- update to 1.4.1
121
-* Tue Jan 23 2007 - judas_iscariote@shorewall.net
122
-- Update to 1.4.0 final.
123
-* Mon Dec 11 2006 - judas_iscariote@shorewall.net
124
-- we need to export php executable name and add php5-hash and php5-iconv to BuildRequires
125
-* Thu Nov 09 2006 - soporte@onfocus.cl
126
-- very first build
127
+%changelog
128