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
|
%endif
|
||||||
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Commandline client for the openSUSE Build Service.
|
Commandline client for the openSUSE Build Service.
|
||||||
|
|
||||||
@ -95,11 +94,9 @@ introduction.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" python setup.py build
|
CFLAGS="%{optflags}" python setup.py build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
ln -s osc-wrapper.py %{buildroot}/%{_bindir}/osc
|
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
|
install -Dm0755 dist/osc.complete %{buildroot}%{_libdir}/osc/complete
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS README TODO NEWS
|
%doc AUTHORS README TODO NEWS
|
||||||
@ -132,6 +127,4 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/osc
|
%{_libdir}/osc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user