X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=pyplnet.spec;h=8b0965d883fb5eaadea89e55c544594ae47da88c;hb=f67a8f5428257fee80ac7314adf3662f7e3b8c1a;hp=e55950fb9bc8affdb751cbafad4c997be298f9e5;hpb=6dfc5d88351673c67a3b51fe07b15942d7e60f3d;p=pyplnet.git diff --git a/pyplnet.spec b/pyplnet.spec index e55950f..8b0965d 100644 --- a/pyplnet.spec +++ b/pyplnet.spec @@ -41,12 +41,15 @@ python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --skip-build --root "$RPM_BUILD_ROOT" +chmod +x %{python_sitearch}/plnet.py +ln -s %{python_sitearch}/plnet.py %{_bindir}/plnet %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) +%{_bindir}/plnet %{python_sitearch}/* %changelog