diff --git a/osc.spec b/osc.spec index 3ccca49..b1cabf4 100644 --- a/osc.spec +++ b/osc.spec @@ -81,7 +81,6 @@ BuildRequires: rpm-python # %{!?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. @@ -93,12 +92,10 @@ 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 @@ -114,11 +111,9 @@ CFLAGS="%{optflags}" \ %__install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/%{_lib}/osc/complete %endif - %clean %{__rm} -rf %{buildroot} - %files %defattr(-,root,root) %{_bindir}/osc* @@ -136,6 +131,4 @@ CFLAGS="%{optflags}" \ %doc AUTHORS README TODO NEWS %doc %_mandir/man1/osc.* - - %changelog