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