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()")}
|
%{!?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.
|
||||||
|
|
||||||
@ -93,12 +92,10 @@ introduction.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" \
|
CFLAGS="%{optflags}" \
|
||||||
%{__python} setup.py build
|
%{__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
|
||||||
@ -114,11 +111,9 @@ CFLAGS="%{optflags}" \
|
|||||||
%__install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/%{_lib}/osc/complete
|
%__install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/%{_lib}/osc/complete
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/osc*
|
%{_bindir}/osc*
|
||||||
@ -136,6 +131,4 @@ CFLAGS="%{optflags}" \
|
|||||||
%doc AUTHORS README TODO NEWS
|
%doc AUTHORS README TODO NEWS
|
||||||
%doc %_mandir/man1/osc.*
|
%doc %_mandir/man1/osc.*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user