Browse code

upgrade python-cffi and postpresql

Change-Id: Ie5eb625a91644fd2031543be35add0a6a5836fbc
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2267
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

rongrongqiu authored on 2017/04/05 03:05:26
Showing 2 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        PostgreSQL database engine
2 2
 Name:           postgresql
3
-Version:        9.5.3
4
-Release:        6%{?dist}
3
+Version:        9.6.2
4
+Release:        1%{?dist}
5 5
 License:        PostgreSQL
6 6
 URL:            www.postgresql.org
7 7
 Group:          Applications/Databases
... ...
@@ -9,9 +9,8 @@ Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Provides:       %{name}
11 11
 
12
-Source0:        http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2
13
-%define sha1    postgresql=bd8dcbc8c4882468675dcc93263182a27d4ff201
14
-Patch0:         CVE-2016-5423.patch
12
+Source0:        http://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.gz
13
+%define sha1    postgresql=3159151f2fc74ec3e684ec0dc8949494b608fb3c
15 14
 # Common libraries needed
16 15
 BuildRequires:  krb5-devel
17 16
 BuildRequires:  libxml2-devel
... ...
@@ -47,7 +46,6 @@ PostgreSQL server.
47 47
 
48 48
 %prep
49 49
 %setup -q
50
-%patch0 -p1
51 50
 %build
52 51
 sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h &&
53 52
 ./configure \
... ...
@@ -102,6 +100,7 @@ rm -rf %{buildroot}/*
102 102
 %{_bindir}/vacuumlo
103 103
 %{_datadir}/postgresql/*
104 104
 %{_libdir}/libpgcommon.a
105
+%{_libdir}/libpgfeutils.a
105 106
 %{_libdir}/libpgport.a
106 107
 %{_libdir}/libpq.a
107 108
 %{_libdir}/postgresql/*
... ...
@@ -163,6 +162,8 @@ rm -rf %{buildroot}/*
163 163
 %{_datadir}/postgresql/psqlrc.sample
164 164
 
165 165
 %changelog
166
+*   Mon Apr 03 2017 Rongrong Qiu <rqiu@vmware.com> 9.6.2-1
167
+-   Upgrade to 9.6.2 for Photon upgrade bump 
166 168
 *   Thu Dec 15 2016 Xiaolin Li <xiaolinl@vmware.com> 9.5.3-6
167 169
 -   Applied CVE-2016-5423.patch
168 170
 *   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 9.5.3-5
... ...
@@ -185,5 +186,5 @@ rm -rf %{buildroot}/*
185 185
 -   Update to version 9.4.4.
186 186
 *   Mon Jul 13 2015 Alexey Makhalov <amakhalov@vmware.com> 9.4.1-2
187 187
 -   Exclude /usr/lib/debug
188
-*   Tue May 15 2015 Sharath George <sharathg@vmware.com> 9.4.1-1
188
+*   Fri May 15 2015 Sharath George <sharathg@vmware.com> 9.4.1-1
189 189
 -   Initial build. First version
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Summary:        Interface for Python to call C code
5 5
 Name:           python-cffi
6
-Version:        1.9.1
6
+Version:        1.10.0
7 7
 Release:        1%{?dist}
8 8
 Url:            https://pypi.python.org/pypi/cffi
9 9
 License:        MIT
... ...
@@ -11,7 +11,7 @@ Group:          Development/Languages/Python
11 11
 Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Source0:        https://pypi.python.org/packages/source/c/cffi/cffi-%{version}.tar.gz
14
-%define sha1    cffi=16265a4b305d433fb9089b19278502e904b0cb43
14
+%define sha1    cffi=8484aba03d1e64367d3110c0e36c1ed052b43f12
15 15
 
16 16
 BuildRequires:  python2
17 17
 BuildRequires:  python2-libs
... ...
@@ -71,6 +71,8 @@ popd
71 71
 %{python3_sitelib}/*
72 72
 
73 73
 %changelog
74
+*   Mon Apr 03 2017 Rongrong Qiu <rqiu@vmware.com> 1.10.0-1
75
+-   Update to 1.10.0
74 76
 *   Thu Mar 23 2017 Xiaolin Li <xiaolinl@vmware.com> 1.9.1-1
75 77
 -   Updated to version 1.9.1.
76 78
 *   Thu Feb 02 2017 Xiaolin Li <xiaolinl@vmware.com> 1.5.2-4