From f12e85e3f85d7e9cd406cf9aa6dd907bb23300aa Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Wed, 29 Dec 2010 20:18:49 -0500 Subject: [PATCH] rework python3 DSO name for PEP 3149, and rebuild for newer python3 --- python-smbc.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-smbc.spec b/python-smbc.spec index 5e36c01..c19b52d 100644 --- a/python-smbc.spec +++ b/python-smbc.spec @@ -6,7 +6,7 @@ Summary: Python bindings for libsmbclient API from Samba Name: python-smbc Version: 1.0.10 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://cyberelk.net/tim/software/pysmbc/ Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 License: GPLv2+ @@ -59,7 +59,7 @@ popd %install pushd %{py3dir} %{__python3} setup.py install -O1 --skip-build --root %{buildroot} -chmod 755 %{buildroot}%{python3_sitearch}/smbc.so +chmod 755 %{buildroot}%{python3_sitearch}/smbc*.so popd %{__python} setup.py install -O1 --skip-build --root %{buildroot} @@ -79,11 +79,14 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so %files -n python3-smbc %defattr(-,root,root,-) %doc COPYING README NEWS -%{python3_sitearch}/smbc.so +%{python3_sitearch}/smbc.cpython-3?mu.so %{python3_sitearch}/pysmbc*.egg-info %changelog +* Wed Dec 29 2010 David Malcolm - 1.0.10-3 +- rework python3 DSO name for PEP 3149, and rebuild for newer python3 + * Wed Nov 17 2010 Jiri Popelka - 1.0.10-2 - Fixed rpmlint errors/warnings (#648987) - doc subpackage