generalize python 3 fileglobbing to work with both Python 3.2 and 3.3

This commit is contained in:
David Malcolm 2012-08-03 15:50:16 -04:00
parent cf38e36a0f
commit 041192a3b4

View File

@ -28,7 +28,7 @@
Summary: A PostgreSQL database adapter for Python Summary: A PostgreSQL database adapter for Python
Name: python-psycopg2 Name: python-psycopg2
Version: 2.4.5 Version: 2.4.5
Release: 4%{?dist} Release: 5%{?dist}
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq # The exceptions allow linking to OpenSSL and PostgreSQL's libpq
License: LGPLv3+ with exceptions License: LGPLv3+ with exceptions
Group: Applications/Databases Group: Applications/Databases
@ -164,7 +164,7 @@ rm -rf %{buildroot}
%doc AUTHORS ChangeLog LICENSE NEWS README %doc AUTHORS ChangeLog LICENSE NEWS README
%dir %{python3_sitearch}/psycopg2 %dir %{python3_sitearch}/psycopg2
%{python3_sitearch}/psycopg2/*.py %{python3_sitearch}/psycopg2/*.py
%{python3_sitearch}/psycopg2/_psycopg.cpython-3?mu.so %{python3_sitearch}/psycopg2/_psycopg.cpython-3?m*.so
%dir %{python3_sitearch}/psycopg2/__pycache__ %dir %{python3_sitearch}/psycopg2/__pycache__
%{python3_sitearch}/psycopg2/__pycache__/*.pyc %{python3_sitearch}/psycopg2/__pycache__/*.pyc
%{python3_sitearch}/psycopg2/__pycache__/*.pyo %{python3_sitearch}/psycopg2/__pycache__/*.pyo
@ -173,7 +173,7 @@ rm -rf %{buildroot}
%files -n python3-psycopg2-debug %files -n python3-psycopg2-debug
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE %doc LICENSE
%{python3_sitearch}/psycopg2/_psycopg.cpython-3?dmu.so %{python3_sitearch}/psycopg2/_psycopg.cpython-3?dm*.so
%endif # with_python3 %endif # with_python3
@ -193,6 +193,9 @@ rm -rf %{buildroot}
%endif %endif
%changelog %changelog
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-5
- generalize python 3 fileglobbing to work with both Python 3.2 and 3.3
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-4 * Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 2.4.5-4
- replace "python3.2dmu" with "python3-debug"; with_python3 fixes - replace "python3.2dmu" with "python3-debug"; with_python3 fixes