rework python3 DSO name for PEP 3149, and rebuild for newer python3

f38
David Malcolm 14 years ago
parent 4af8359180
commit f12e85e3f8

@ -6,7 +6,7 @@
Summary: Python bindings for libsmbclient API from Samba Summary: Python bindings for libsmbclient API from Samba
Name: python-smbc Name: python-smbc
Version: 1.0.10 Version: 1.0.10
Release: 2%{?dist} Release: 3%{?dist}
URL: http://cyberelk.net/tim/software/pysmbc/ URL: http://cyberelk.net/tim/software/pysmbc/
Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2 Source: http://pypi.python.org/packages/source/p/pysmbc/pysmbc-%{version}.tar.bz2
License: GPLv2+ License: GPLv2+
@ -59,7 +59,7 @@ popd
%install %install
pushd %{py3dir} pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root %{buildroot} %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
chmod 755 %{buildroot}%{python3_sitearch}/smbc.so chmod 755 %{buildroot}%{python3_sitearch}/smbc*.so
popd popd
%{__python} setup.py install -O1 --skip-build --root %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot}
@ -79,11 +79,14 @@ chmod 755 %{buildroot}%{python_sitearch}/smbc.so
%files -n python3-smbc %files -n python3-smbc
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING README NEWS %doc COPYING README NEWS
%{python3_sitearch}/smbc.so %{python3_sitearch}/smbc.cpython-3?mu.so
%{python3_sitearch}/pysmbc*.egg-info %{python3_sitearch}/pysmbc*.egg-info
%changelog %changelog
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.10-3
- rework python3 DSO name for PEP 3149, and rebuild for newer python3
* Wed Nov 17 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.10-2 * Wed Nov 17 2010 Jiri Popelka <jpopelka@redhat.com> - 1.0.10-2
- Fixed rpmlint errors/warnings (#648987) - Fixed rpmlint errors/warnings (#648987)
- doc subpackage - doc subpackage

Loading…
Cancel
Save