Compare commits

...
Sign in to create a new pull request.

16 commits

Author SHA1 Message Date
Jakub Jedelsky
975ce78310 Update to version 0.10.3
Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
2020-03-31 16:11:52 +02:00
Jakub Jedelsky
b308d33581 Update to version 0.10.1
Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
2019-12-29 17:56:34 +01:00
Jakub Jedelsky
0191ba87b7 Update to version 0.10.0
support python3 by default

Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
2019-11-29 23:33:10 +01:00
Jakub Jedelsky
76925bf172 Update to version 0.9.3
Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
2019-06-23 21:44:33 +02:00
Jakub Jedelsky
d59ff408ec Upgrade to version 0.9.2
Remove of unnecessary requirement (psycopg2)

Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
2019-05-10 15:29:03 +02:00
Jakub Jedelsky
b3e6fafe0f Upgrade to version 0.9.1
Fix bad EPEL dependencies of python2 package

Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
2019-04-02 21:45:34 +02:00
Troy Dawson
7ca55a48ca Rebuilt to change main python from 3.4 to 3.6 2019-04-02 06:33:46 -07:00
Jakub Jedelsky
ba37de0b8b Merge branch 'f29' into epel7 2019-02-19 22:26:40 +01:00
Jakub Jedelsky
0f9fdde3a5 Upgrade to version 0.8.2
Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
2019-02-19 22:15:52 +01:00
Jakub Jedelsky
7a153bdcdd Merge branch 'master' into epel7 2018-09-04 08:49:30 +02:00
Jakub Jedelsky
69e6b79aee Merge branch 'master' into epel7 2017-04-21 15:59:22 +02:00
Jakub Jedelsky
388ae4f069 Merge branch 'master' into epel7 2015-12-11 11:24:13 +01:00
Jakub Jedelsky
3169e31ac2 Merge branch 'master' into epel7 2015-12-01 17:52:29 +01:00
Jakub Jedelsky
d78587d266 Merge branch 'master' into epel7 2015-09-23 10:28:34 +02:00
Jakub Jedelsky
3fedd905d9 Merge branch 'el6' into epel7 2015-07-03 14:41:22 +02:00
Jakub Jedelsky
477dcec066 Merge branch 'f22' into epel7 2015-07-03 11:09:41 +02:00
3 changed files with 36 additions and 36 deletions

7
.gitignore vendored
View file

@ -14,3 +14,10 @@
/0.6.14.tar.gz
/0.7.3.tar.gz
/0.7.4.tar.gz
/0.8.2.tar.gz
/0.9.1.tar.gz
/0.9.2.tar.gz
/0.9.3.tar.gz
/0.10.0.tar.gz
/0.10.1.tar.gz
/0.10.3.tar.gz

View file

@ -1 +1 @@
SHA512 (0.7.4.tar.gz) = c40614b724d580bca09b26abdb60c20d26878baee7f462ad0c53051e43071bd9eb953a07ec5c2501c7bc56914b17dc3a6f06b96d826cb5fe607fd4b5cde93081
SHA512 (0.10.3.tar.gz) = f1524456a1f1c663e2db9e89ba3750219eac66518051eec1e2ca575e072ef417d21dd00a2e1fa11de2a575c6ccf35d63f741c8da18dfd25625c77a18eaf29048

View file

@ -1,14 +1,5 @@
%if 0%{?fedora} || 0%{?rhel} >= 7
%global with_python3 1
%endif
%{!?__python2: %global __python2 /usr/bin/python2}
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py2_build: %global py2_build %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} build --executable="%{__python2} -s"}}
%{!?py2_install: %global py2_install %{expand: CFLAGS="%{optflags}" %{__python2} setup.py %{?py_setup_args} install -O1 --skip-build --root $RPM_BUILD_ROOT}}
Name: vertica-python
Version: 0.7.4
Version: 0.10.3
Release: 1%{?dist}
Summary: A native Python adapter for the Vertica database
@ -16,15 +7,12 @@ Group: Development/Languages
License: MIT
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.7.3-dateutil15.patch
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python2-setuptools
%global _description\
vertica-python is a native Python adapter for the Vertica\
(http://www.vertica.com) database.\
@ -34,24 +22,15 @@ vertica-python is a native Python adapter for the Vertica\
%package -n python2-vertica
Summary: %summary
%if 0%{?rhel} && 0%{?rhel} <= 6
Requires: python-dateutil15
Requires: python-setuptools
%else
Requires: python2-dateutil >= 1.5
%endif
Requires: python2-pytz
Requires: python2-psycopg2
Requires: python2-future
%{?python_provide:%python_provide python2-vertica}
# Remove before F30
Provides: vertica-python = %{version}-%{release}
Obsoletes: vertica-python < %{version}-%{release}
%description -n python2-vertica %_description
%if 0%{?with_python3}
%package -n python%{python3_pkgversion}-vertica
Summary: %summary
BuildRequires: python%{python3_pkgversion}-devel
@ -59,7 +38,6 @@ BuildRequires: python%{python3_pkgversion}-setuptools
Requires: python%{python3_pkgversion}-dateutil >= 1.5
Requires: python%{python3_pkgversion}-setuptools
Requires: python%{python3_pkgversion}-pytz
Requires: python%{python3_pkgversion}-psycopg2
Requires: python%{python3_pkgversion}-future
%{?python_provide:%python_provide python%{python3_pkgversion}-vertica}
# Remove before F30
@ -68,29 +46,19 @@ Obsoletes: vertica-python%{python3_pkgversion} < %{version}-%{release}
%description -n python%{python3_pkgversion}-vertica %_description
%endif
%prep
%setup -q -n vertica-python-%{version}
%if 0%{?rhel} && 0%{?rhel} <= 6
%patch0 -p1
%endif
%build
%py2_build
%if 0%{?with_python3}
%py3_build
%endif
%install
%py2_install
%if 0%{?with_python3}
%py3_install
%endif
%files -n python2-vertica
@ -100,17 +68,42 @@ Obsoletes: vertica-python%{python3_pkgversion} < %{version}-%{release}
%dir %{python2_sitelib}/vertica_python
%{python2_sitelib}/vertica_python/*
%if 0%{?with_python3}
%files -n python%{python3_pkgversion}-vertica
%license LICENSE
%doc README.md
%{python3_sitelib}/*.egg-info
%dir %{python3_sitelib}/vertica_python
%{python3_sitelib}/vertica_python/*
%endif
%changelog
* Tue Mar 31 2020 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.10.3-1
- Update to version 0.10.3
* Sun Dec 29 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.10.1-1
- Update to version 0.10.1
* Fri Nov 29 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.10.0-1
- Update to version 0.10.0
- support python3 by default
* Sun Jun 23 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.9.3-1
- Update to version 0.9.3
* Fri May 10 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.9.2-1
- Upgrade to version 0.9.2
- Remove of unnecessary requirement (psycopg2)
* Tue Apr 02 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.9.1-1
- Upgrade to version 0.9.1
- Fix bad EPEL dependencies of python2 package
* Tue Apr 02 2019 Troy Dawson <tdawson@redhat.com> - 0.8.2-2
- Rebuilt to change main python from 3.4 to 3.6
* Tue Feb 19 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.8.2-1
- Upgrade to version 0.8.2
* Mon Sep 03 2018 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.7.4-1
- Upgrade to version 0.7.4
- Build python 3 subpackage even on RHEL >= 7