From c1d99ab65a1054dd951a4f62ee68efc21ec89c07 Mon Sep 17 00:00:00 2001 From: Jakub Jedelsky Date: Fri, 3 Jul 2015 10:40:41 +0200 Subject: [PATCH] update to version 0.5.0 --- .gitignore | 1 + sources | 2 +- vertica-python-0.5.0-crypt_windows.patch | 12 ++++++++++++ vertica-python.spec | 8 +++++++- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 vertica-python-0.5.0-crypt_windows.patch diff --git a/.gitignore b/.gitignore index f2e5534..a0c8506 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /0.3.6.tar.gz /0.4.5.tar.gz /0.4.6.tar.gz +/0.5.0.tar.gz diff --git a/sources b/sources index f3a6a18..f223b0d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0777837dd30b2a150669b8e8dbb319b4 0.4.6.tar.gz +5d77b293c32407a55bb3dd221ca5c048 0.5.0.tar.gz diff --git a/vertica-python-0.5.0-crypt_windows.patch b/vertica-python-0.5.0-crypt_windows.patch new file mode 100644 index 0000000..7b2e096 --- /dev/null +++ b/vertica-python-0.5.0-crypt_windows.patch @@ -0,0 +1,12 @@ +diff --git a/vertica_python/vertica/messages/frontend_messages/crypt_windows.py b/vertica_python/vertica/messages/frontend_messages/crypt_windows.py +index 3a8276d..faa558f 100755 +--- a/vertica_python/vertica/messages/frontend_messages/crypt_windows.py ++++ b/vertica_python/vertica/messages/frontend_messages/crypt_windows.py +@@ -1,5 +1,3 @@ +-#!/usr/bin/env python +- + # Initial permutation + IP = ( + 58, 50, 42, 34, 26, 18, 10, 2, +-- +2.4.3 diff --git a/vertica-python.spec b/vertica-python.spec index bf5d39c..cc5c9d1 100644 --- a/vertica-python.spec +++ b/vertica-python.spec @@ -2,7 +2,7 @@ %{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: vertica-python -Version: 0.4.6 +Version: 0.5.0 Release: 1%{?dist} Summary: A native Python adapter for the Vertica database @@ -12,6 +12,7 @@ URL: https://github.com/uber/vertica-python Source0: https://github.com/uber/vertica-python/archive/%{version}.tar.gz # EPEL 6 patch Patch0: vertica-python-0.2.0-dateutil15.patch +Patch1: vertica-python-0.5.0-crypt_windows.patch BuildArch: noarch BuildRequires: python2-devel @@ -40,6 +41,8 @@ vertica-python is a native Python adapter for the Vertica %patch0 -p1 %endif +%patch1 -p1 + %build %{__python2} setup.py build @@ -57,6 +60,9 @@ vertica-python is a native Python adapter for the Vertica %changelog +* Fri Jul 03 2015 Jakub Jedelsky - 0.5.0-1 +- update to version 0.5.0 + * Mon Jun 22 2015 Jakub Jedelsky - 0.4.6-1 - update to version 0.4.6