Autobuild autoformatter for 72909

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=55
This commit is contained in:
Sascha Peilicke 2011-06-08 08:36:13 +00:00 committed by Git OBS Bridge
parent 3a9a2e1013
commit 2f6d2f4e33

View File

@ -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