fix packaging error

This commit is contained in:
rwx403335 2022-05-07 16:54:56 +08:00
parent c32900b114
commit c304e55014

View File

@ -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,7 @@ done
%doc AUTHORS NEWS README.rst
%dir %{python3_sitearch}/psycopg2
%{python3_sitearch}/psycopg2/*.py
%{python3_sitearch}/psycopg2/_psycopg.cpython-3?[!d]*.so
%{python3_sitearch}/psycopg2/_psycopg.cpython-3??[!d]*.so
%dir %{python3_sitearch}/psycopg2/__pycache__
%{python3_sitearch}/psycopg2/__pycache__/*.py{c,o}
%{python3_sitearch}/psycopg2-%{version}-py3*.egg-info
@ -128,13 +128,16 @@ done
%files -n python3-psycopg2-debug
%license LICENSE
%{python3_sitearch}/psycopg2/_psycopg.cpython-3?d*.so
%{python3_sitearch}/psycopg2/_psycopg.cpython-3??d*.so
%files doc
%license LICENSE
%doc doc
%changelog
* Sat May 07 2022 renxichen <renhongxun@h-partnsers.com> - 2.8.6-2
- fix packaging error on _psycopg.cpython-*.so
* Wed Jul 28 2021 liksh <liks11@chinaunicom.cn> -2.8.6-1
- update to 2.8.6