|
|
@ -48,7 +48,7 @@ cp -a . %{py3dir}
|
|
|
|
%py2_build
|
|
|
|
%py2_build
|
|
|
|
|
|
|
|
|
|
|
|
rm -rf html
|
|
|
|
rm -rf html
|
|
|
|
epydoc -o html --html build/lib*/smbc.so
|
|
|
|
epydoc -o html --html build/lib*/_smbc.so
|
|
|
|
|
|
|
|
|
|
|
|
pushd %{py3dir}
|
|
|
|
pushd %{py3dir}
|
|
|
|
%py3_build
|
|
|
|
%py3_build
|
|
|
@ -58,11 +58,9 @@ popd
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
pushd %{py3dir}
|
|
|
|
pushd %{py3dir}
|
|
|
|
%py3_install
|
|
|
|
%py3_install
|
|
|
|
chmod 755 %{buildroot}%{python3_sitearch}/smbc*.so
|
|
|
|
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%py2_install
|
|
|
|
%py2_install
|
|
|
|
chmod 755 %{buildroot}%{python_sitearch}/smbc.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|