update to 0.132.2

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=83
This commit is contained in:
2011-06-09 15:34:49 +00:00
committed by Git OBS Bridge
parent 3879d5cdba
commit a2d2d85c0f
6 changed files with 24 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
Name: osc
Version: 0.132.1
Version: 0.132.2
Release: 1
Group: Development/Tools/Other
License: GPLv2+
@@ -81,6 +81,7 @@ 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.
@@ -92,10 +93,12 @@ 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
@@ -111,9 +114,11 @@ CFLAGS="%{optflags}" \
%__install -m 0755 dist/osc.complete %{buildroot}%{_prefix}/%{_lib}/osc/complete
%endif
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/osc*
@@ -131,4 +136,6 @@ CFLAGS="%{optflags}" \
%doc AUTHORS README TODO NEWS
%doc %_mandir/man1/osc.*
%changelog