diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 293a6a5b82ea82a3586b537a391cd1a579d9fcbc..fcdb6b565ad6d073e7c37d3aea008e20c470c431 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -9,7 +9,7 @@ %endif Name: python-psycopg2 Version: 2.8.6 -Release: 1 +Release: 2 Summary: PostgreSQL database adapter for the Python programming language License: GPL-3.0-only and LGPL-3.0-only URL: http://www.psycopg.org/psycopg/ @@ -117,7 +117,11 @@ done %doc AUTHORS NEWS README.rst %dir %{python3_sitearch}/psycopg2 %{python3_sitearch}/psycopg2/*.py +%ifarch loongarch64 +%{python3_sitearch}/psycopg2/_psycopg.cpython-39.so +%else %{python3_sitearch}/psycopg2/_psycopg.cpython-3?[!d]*.so +%endif %dir %{python3_sitearch}/psycopg2/__pycache__ %{python3_sitearch}/psycopg2/__pycache__/*.py{c,o} %{python3_sitearch}/psycopg2-%{version}-py3*.egg-info @@ -135,6 +139,9 @@ done %doc doc %changelog +* Tue Dec 13 2022 xu_ping -2.8.6-2 +- Adaptation Loongarch64 + * Wed Jul 28 2021 liksh -2.8.6-1 - update to 2.8.6