From: Andrzej Zawadzki Date: Sun, 12 Feb 2017 20:39:24 +0000 (+0100) Subject: - up to 9.6.2 X-Git-Tag: auto/th/postgresql-9.6.2-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpostgresql.git;a=commitdiff_plain;h=2d84fb92974f69f0c8dcafcc018407ef494dd09a - up to 9.6.2 - switch to uuid=e2fs --- diff --git a/postgresql-ossp_uuid.patch b/postgresql-ossp_uuid.patch deleted file mode 100644 index b5b2dfa..0000000 --- a/postgresql-ossp_uuid.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- postgresql-9.4.0/configure.in.orig 2015-01-05 23:55:32.000000000 +0100 -+++ postgresql-9.4.0/configure.in 2015-01-06 00:03:58.433386714 +0100 -@@ -1166,13 +1166,13 @@ - [AC_MSG_ERROR([header file does not match E2FS UUID library])])], - [AC_MSG_ERROR([header file or is required for E2FS UUID])])]) - elif test "$with_uuid" = ossp ; then -- AC_CHECK_HEADERS(ossp/uuid.h, -- [AC_EGREP_HEADER([uuid_export], ossp/uuid.h, [], -- [AC_MSG_ERROR([header file does not match OSSP UUID library])])], -+ AC_CHECK_HEADERS(ossp-uuid/uuid.h, -+ [AC_EGREP_HEADER([uuid_export], ossp-uuid/uuid.h, [], -+ [AC_MSG_ERROR([header file does not match OSSP UUID library])])], - [AC_CHECK_HEADERS(uuid.h, - [AC_EGREP_HEADER([uuid_export], uuid.h, [], - [AC_MSG_ERROR([header file does not match OSSP UUID library])])], -- [AC_MSG_ERROR([header file or is required for OSSP UUID])])]) -+ [AC_MSG_ERROR([header file or is required for OSSP UUID])])]) - fi - - if test "$PORTNAME" = "win32" ; then ---- postgresql-9.4.1/contrib/uuid-ossp/uuid-ossp.c.org 2015-03-23 10:41:24.000000000 +0100 -+++ postgresql-9.4.1/contrib/uuid-ossp/uuid-ossp.c 2015-03-23 10:54:29.403373571 +0100 -@@ -29,8 +29,8 @@ - #ifdef HAVE_UUID_H - #include - #endif --#ifdef HAVE_OSSP_UUID_H --#include -+#ifdef HAVE_OSSP_UUID_UUID_H -+#include - #endif - #ifdef HAVE_UUID_UUID_H - #include - diff --git a/postgresql.spec b/postgresql.spec index ec30403..504ea2e 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -34,12 +34,12 @@ Summary(tr.UTF-8): Veri Tabanı Yönetim Sistemi Summary(uk.UTF-8): PostgreSQL - система керування базами даних Summary(zh_CN.UTF-8): PostgreSQL 客户端程序和库文件 Name: postgresql -Version: %{mver}.1 +Version: %{mver}.2 Release: 1 License: BSD Group: Applications/Databases Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/%{name}-%{version}.tar.bz2 -# Source0-md5: 92ae6d7cdf18e648b3c22d0aa015565d +# Source0-md5: ee9cd5dfa24f691275cc65c92b6ff8f7 Source1: %{name}.init Source2: pgsql-Database-HOWTO-html.tar.gz # Source2-md5: 5b656ddf1db41965761f85204a14398e @@ -53,8 +53,7 @@ Patch2: %{name}-ecpg-includedir.patch Patch4: %{name}-disable_horology_test.patch Patch5: %{name}-heimdal.patch -Patch6: %{name}-ossp_uuid.patch -Patch7: %{name}-link.patch +Patch6: %{name}-link.patch URL: http://www.postgresql.org/ BuildRequires: autoconf >= 2.69 BuildRequires: automake @@ -775,7 +774,6 @@ Różne moduły dołączone do PostgreSQL-a. %patch4 -p1 %patch5 -p1 %patch6 -p1 -%patch7 -p1 # force rebuild of bison/flex files find src -name \*.l -o -name \*.y | xargs touch @@ -808,7 +806,7 @@ find src -name \*.l -o -name \*.y | xargs touch --with-system-tzdata=%{_datadir}/zoneinfo \ %{?with_systemd:--with-systemd} \ %{?with_tcl:--with-tcl --with-tclconfig=%{_ulibdir}} \ - --with-uuid=ossp + --with-uuid=e2fs %{__make}