!12 fix packaging error

From: @renxichen 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-05-10 06:37:21 +00:00 committed by Gitee
commit 0ade58084a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -9,7 +9,7 @@
%endif %endif
Name: python-psycopg2 Name: python-psycopg2
Version: 2.8.6 Version: 2.8.6
Release: 1 Release: 2
Summary: PostgreSQL database adapter for the Python programming language Summary: PostgreSQL database adapter for the Python programming language
License: GPL-3.0-only and LGPL-3.0-only License: GPL-3.0-only and LGPL-3.0-only
URL: http://www.psycopg.org/psycopg/ URL: http://www.psycopg.org/psycopg/
@ -117,7 +117,7 @@ done
%doc AUTHORS NEWS README.rst %doc AUTHORS NEWS README.rst
%dir %{python3_sitearch}/psycopg2 %dir %{python3_sitearch}/psycopg2
%{python3_sitearch}/psycopg2/*.py %{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__ %dir %{python3_sitearch}/psycopg2/__pycache__
%{python3_sitearch}/psycopg2/__pycache__/*.py{c,o} %{python3_sitearch}/psycopg2/__pycache__/*.py{c,o}
%{python3_sitearch}/psycopg2-%{version}-py3*.egg-info %{python3_sitearch}/psycopg2-%{version}-py3*.egg-info
@ -128,13 +128,16 @@ done
%files -n python3-psycopg2-debug %files -n python3-psycopg2-debug
%license LICENSE %license LICENSE
%{python3_sitearch}/psycopg2/_psycopg.cpython-3?d*.so %{python3_sitearch}/psycopg2/_psycopg.cpython-3??d*.so
%files doc %files doc
%license LICENSE %license LICENSE
%doc doc %doc doc
%changelog %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 * Wed Jul 28 2021 liksh <liks11@chinaunicom.cn> -2.8.6-1
- update to 2.8.6 - update to 2.8.6