Autobuild autoformatter for 72933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=57
This commit is contained in:
parent
21cb3e8dfc
commit
62ac7c8496
7
osc.spec
7
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
|
||||
|
Loading…
Reference in New Issue
Block a user