diff --git a/pg8000-1.12.4.tar.gz b/pg8000-1.12.4.tar.gz deleted file mode 100644 index 1fc535636bbe91d03f39e83a010b0cb7467bfcbb..0000000000000000000000000000000000000000 Binary files a/pg8000-1.12.4.tar.gz and /dev/null differ diff --git a/pg8000-1.29.4.tar.gz b/pg8000-1.29.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..44b4485fd4bcfa4c3f9e6e97be686561855e34cb Binary files /dev/null and b/pg8000-1.29.4.tar.gz differ diff --git a/python-pg8000.spec b/python-pg8000.spec index 78074c7baf95f1d8b94a0a9dc64758ca6be5b89f..c77c7c93d529bcfa2c487ce1f4b1c618f7970ebe 100644 --- a/python-pg8000.spec +++ b/python-pg8000.spec @@ -1,18 +1,20 @@ %global _empty_manifest_terminate_build 0 Name: python-pg8000 -Version: 1.12.4 +Version: 1.29.4 Release: 1 Summary: PostgreSQL interface library License: BSD-3-Clause URL: https://github.com/tlocke/pg8000 -Source0: https://files.pythonhosted.org/packages/61/e2/3fe355285531c917e21665545ba24f2372dc8597ea3f455df2d7637dc629/pg8000-1.12.4.tar.gz +Source0: https://files.pythonhosted.org/packages/c6/7e/001e2d2570dddeefda50e96726ed66ea0aeb2cf55e20fe7441b6a0e5a8a6/pg8000-1.29.4.tar.gz +Source1: setup.py BuildArch: noarch + %description pg8000 is a Pure-Python interface to the PostgreSQL database engine. %package -n python3-pg8000 Summary: PostgreSQL interface library -Provides: python-pg8000 +Provides: python-pg8000 = %{version}-%{release} # Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -20,6 +22,10 @@ BuildRequires: python3-six BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel +# Test requires +BuildRequires: python3-pytest +BuildRequires: python3-dateutil +BuildRequires: python3-scramp %description -n python3-pg8000 pg8000 is a Pure-Python interface to the PostgreSQL database engine. @@ -31,13 +37,13 @@ pg8000 is a Pure-Python interface to the PostgreSQL database engine. %prep %autosetup -n pg8000-%{version} +cp %{SOURCE1} ./ %build %py3_build %install %py3_install - install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -74,6 +80,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Tue Feb 07 2023 jiangxinyu - 1.29.4-1 +- Update package to version 1.29.4 + * Mon Jul 18 2022 OpenStack_SIG - 1.12.4-1 - Init package python3-pg8000 of version 1.12.4 - diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000000000000000000000000000000000..bac24a43d994dcbc87a3336adbb1540bfc5c7b62 --- /dev/null +++ b/setup.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python + +import setuptools + +if __name__ == "__main__": + setuptools.setup()