diff --git a/osc.spec b/osc.spec index 4ad666f..f18ffe7 100644 --- a/osc.spec +++ b/osc.spec @@ -84,7 +84,6 @@ Requires: rpm-python %endif %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} - %description Commandline client for the openSUSE Build Service. @@ -95,11 +94,9 @@ introduction. %prep %setup -q - %build CFLAGS="%{optflags}" python setup.py build - %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} ln -s osc-wrapper.py %{buildroot}/%{_bindir}/osc @@ -112,11 +109,9 @@ install -Dm0755 dist/osc.complete %{buildroot}%{_prefix}/lib/osc/complete install -Dm0755 dist/osc.complete %{buildroot}%{_libdir}/osc/complete %endif - %clean rm -rf %{buildroot} - %files %defattr(-,root,root,-) %doc AUTHORS README TODO NEWS @@ -132,6 +127,4 @@ rm -rf %{buildroot} %{_libdir}/osc %endif - - %changelog