Browse code

change cflags in sqlite-autoconf.spec and rebuild sqlite-autoconf and perl-DBD-SQLite. (Bug 2130575)

Change-Id: I1908df1f4cd33f8c1119ab568e6d2e5ca41bfbd4
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5218
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: gerrit-photon <photon-checkins@vmware.com>

Xiaolin Li authored on 2018/06/01 08:41:05
Showing 2 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        SQLite DBI Driver
3 3
 Name:           perl-DBD-SQLite
4 4
 Version:        1.50
5
-Release:        4%{?dist}
5
+Release:        5%{?dist}
6 6
 Group:          Development/Libraries
7 7
 License:        (GPL+ or Artistic) and Public Domain
8 8
 URL:            http://search.cpan.org/dist/DBD-SQLite/
... ...
@@ -11,11 +11,12 @@ Source0:        http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/DBD-SQLite-
11 11
 Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Patch0:         enable_sqlite_location.patch
14
-BuildRequires:  sqlite-autoconf >= 3.22.0
14
+BuildRequires:  sqlite-autoconf >= 3.22.0-3
15 15
 BuildRequires:  perl
16 16
 BuildRequires:  perl-DBI
17 17
 Requires:       perl-DBI
18 18
 Requires:       perl
19
+Requires:       sqlite-autoconf >= 3.22.0-3
19 20
 
20 21
 %description
21 22
 SQLite is a public domain RDBMS database engine that you can find at
... ...
@@ -47,6 +48,8 @@ make test
47 47
 %{_mandir}/man3/*
48 48
 
49 49
 %changelog
50
+*   Thu May 31 2018 Xiaolin Li <xiaolinl@vmware.com> 1.50-5
51
+-   Rebuild perl-DBD-SQLite after changed cflags in sqlite-autoconf.spec.
50 52
 *   Thu May 24 2018 Xiaolin Li <xiaolinl@vmware.com> 1.50-4
51 53
 -   Build perl-DBD-SQLite with system sqlite.
52 54
 *   Tue Feb 20 2018 Xiaolin Li <xiaolinl@vmware.com> 1.50-3
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        A portable, high level programming interface to various calling conventions
3 3
 Name:           sqlite-autoconf
4 4
 Version:        3.22.0
5
-Release:        2%{?dist}
5
+Release:        3%{?dist}
6 6
 License:        Public Domain
7 7
 URL:            http://www.sqlite.org
8 8
 Group:          System Environment/GeneralLibraries
... ...
@@ -23,7 +23,11 @@ C/C++ interface specs and other miscellaneous documentation.
23 23
 
24 24
 %build
25 25
 ./configure \
26
-    CFLAGS="%{optflags}"                \
26
+    CFLAGS="%{optflags}                 \
27
+    -DSQLITE_ENABLE_FTS3=1              \
28
+    -DSQLITE_ENABLE_COLUMN_METADATA     \
29
+    -DSQLITE_ENABLE_UNLOCK_NOTIFY=1     \
30
+    -DSQLITE_SECURE_DELETE=1"           \
27 31
     CXXFLAGS="%{optflags}               \
28 32
     -DSQLITE_ENABLE_FTS3=1              \
29 33
     -DSQLITE_ENABLE_COLUMN_METADATA=1   \
... ...
@@ -55,6 +59,8 @@ rm -rf %{buildroot}/*
55 55
 %{_libdir}/pkgconfig/*
56 56
 %{_mandir}/man1/*
57 57
 %changelog
58
+*   Thu May 31 2018 Xiaolin Li <xiaolinl@vmware.com> 3.22.0-3
59
+-   Change cflags.
58 60
 *   Tue Apr 17 2018 Xiaolin Li <xiaolinl@vmware.com> 3.22.0-2
59 61
 -   Apply patch for CVE-2018-8740
60 62
 *   Tue Feb 20 2018 Xiaolin Li <xiaolinl@vmware.com> 3.22.0-1