Compare commits
16 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
975ce78310 | ||
|
|
b308d33581 | ||
|
|
0191ba87b7 | ||
|
|
76925bf172 | ||
|
|
d59ff408ec | ||
|
|
b3e6fafe0f | ||
|
|
7ca55a48ca | ||
|
|
ba37de0b8b | ||
|
|
0f9fdde3a5 | ||
|
|
7a153bdcdd | ||
|
|
69e6b79aee | ||
|
|
388ae4f069 | ||
|
|
3169e31ac2 | ||
|
|
d78587d266 | ||
|
|
3fedd905d9 | ||
|
|
477dcec066 |
3 changed files with 36 additions and 36 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -14,3 +14,10 @@
|
||||||
/0.6.14.tar.gz
|
/0.6.14.tar.gz
|
||||||
/0.7.3.tar.gz
|
/0.7.3.tar.gz
|
||||||
/0.7.4.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
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (0.7.4.tar.gz) = c40614b724d580bca09b26abdb60c20d26878baee7f462ad0c53051e43071bd9eb953a07ec5c2501c7bc56914b17dc3a6f06b96d826cb5fe607fd4b5cde93081
|
SHA512 (0.10.3.tar.gz) = f1524456a1f1c663e2db9e89ba3750219eac66518051eec1e2ca575e072ef417d21dd00a2e1fa11de2a575c6ccf35d63f741c8da18dfd25625c77a18eaf29048
|
||||||
|
|
|
||||||
|
|
@ -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
|
Name: vertica-python
|
||||||
Version: 0.7.4
|
Version: 0.10.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A native Python adapter for the Vertica database
|
Summary: A native Python adapter for the Vertica database
|
||||||
|
|
||||||
|
|
@ -16,15 +7,12 @@ Group: Development/Languages
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/uber/vertica-python
|
URL: https://github.com/uber/vertica-python
|
||||||
Source0: https://github.com/uber/vertica-python/archive/%{version}.tar.gz
|
Source0: https://github.com/uber/vertica-python/archive/%{version}.tar.gz
|
||||||
# EPEL 6 patch
|
|
||||||
Patch0: vertica-python-0.7.3-dateutil15.patch
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%global _description\
|
%global _description\
|
||||||
vertica-python is a native Python adapter for the Vertica\
|
vertica-python is a native Python adapter for the Vertica\
|
||||||
(http://www.vertica.com) database.\
|
(http://www.vertica.com) database.\
|
||||||
|
|
@ -34,24 +22,15 @@ vertica-python is a native Python adapter for the Vertica\
|
||||||
|
|
||||||
%package -n python2-vertica
|
%package -n python2-vertica
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
||||||
Requires: python-dateutil15
|
|
||||||
Requires: python-setuptools
|
|
||||||
%else
|
|
||||||
Requires: python2-dateutil >= 1.5
|
Requires: python2-dateutil >= 1.5
|
||||||
%endif
|
|
||||||
Requires: python2-pytz
|
Requires: python2-pytz
|
||||||
Requires: python2-psycopg2
|
|
||||||
Requires: python2-future
|
Requires: python2-future
|
||||||
%{?python_provide:%python_provide python2-vertica}
|
%{?python_provide:%python_provide python2-vertica}
|
||||||
# Remove before F30
|
|
||||||
Provides: vertica-python = %{version}-%{release}
|
Provides: vertica-python = %{version}-%{release}
|
||||||
Obsoletes: vertica-python < %{version}-%{release}
|
Obsoletes: vertica-python < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python2-vertica %_description
|
%description -n python2-vertica %_description
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-vertica
|
%package -n python%{python3_pkgversion}-vertica
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
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}-dateutil >= 1.5
|
||||||
Requires: python%{python3_pkgversion}-setuptools
|
Requires: python%{python3_pkgversion}-setuptools
|
||||||
Requires: python%{python3_pkgversion}-pytz
|
Requires: python%{python3_pkgversion}-pytz
|
||||||
Requires: python%{python3_pkgversion}-psycopg2
|
|
||||||
Requires: python%{python3_pkgversion}-future
|
Requires: python%{python3_pkgversion}-future
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-vertica}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-vertica}
|
||||||
# Remove before F30
|
# Remove before F30
|
||||||
|
|
@ -68,29 +46,19 @@ Obsoletes: vertica-python%{python3_pkgversion} < %{version}-%{release}
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-vertica %_description
|
%description -n python%{python3_pkgversion}-vertica %_description
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n vertica-python-%{version}
|
%setup -q -n vertica-python-%{version}
|
||||||
|
|
||||||
%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
||||||
%patch0 -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
%py2_build
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
%py2_install
|
||||||
%if 0%{?with_python3}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python2-vertica
|
%files -n python2-vertica
|
||||||
|
|
@ -100,17 +68,42 @@ Obsoletes: vertica-python%{python3_pkgversion} < %{version}-%{release}
|
||||||
%dir %{python2_sitelib}/vertica_python
|
%dir %{python2_sitelib}/vertica_python
|
||||||
%{python2_sitelib}/vertica_python/*
|
%{python2_sitelib}/vertica_python/*
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
|
||||||
%files -n python%{python3_pkgversion}-vertica
|
%files -n python%{python3_pkgversion}-vertica
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python3_sitelib}/*.egg-info
|
%{python3_sitelib}/*.egg-info
|
||||||
%dir %{python3_sitelib}/vertica_python
|
%dir %{python3_sitelib}/vertica_python
|
||||||
%{python3_sitelib}/vertica_python/*
|
%{python3_sitelib}/vertica_python/*
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Sep 03 2018 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 0.7.4-1
|
||||||
- Upgrade to version 0.7.4
|
- Upgrade to version 0.7.4
|
||||||
- Build python 3 subpackage even on RHEL >= 7
|
- Build python 3 subpackage even on RHEL >= 7
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue