Adrian Schröter 2011-07-07 04:52:49 +00:00 committed by Git OBS Bridge
parent c6756088b1
commit 8c73638221
7 changed files with 17 additions and 135 deletions

View File

@ -1,130 +0,0 @@
#
# spec file for package osc
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: osc
Version: 0.132.4
Release: 1
License: GPLv2+
Summary: openSUSE Build Service Commander
Url: http://www.gitorious.org/opensuse/osc
Group: Development/Tools/Other
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?mandriva_version} < 02010
BuildRequires: python-urlgrabber
Requires: python-urlgrabber
%endif
BuildRequires: python-devel
%if 0%{?mandriva_version}
BuildRequires: python-rpm
Requires: python-rpm
%else
BuildRequires: rpm-python
Requires: rpm-python
%endif
#
%if 0%{?suse_version}
%if 0%{?suse_version} < 1020
BuildRequires: python-elementtree
Requires: python-elementtree
%else
BuildRequires: python-xml
Requires: python-xml
%endif
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%if 0%{?suse_version} > 1000
Recommends: build >= 2010.05.04
# These packages are needed for "osc add $URL"
Recommends: obs-service-recompress
Recommends: obs-service-set_version
Recommends: obs-service-tar_scm
Recommends: obs-service-verify_file
Recommends: obs-service-download_files
Recommends: obs-service-format_spec_file
Recommends: obs-service-source_validator
%endif
%endif
%if 0%{?rhel_version} || 0%{?centos_version}
%if 0%{?rhel_version} < 600
BuildRequires: python-elementtree
Requires: python-elementtree
%endif
%endif
%if 0%{?suse_version}%{?mandriva_version}
BuildRequires: python-m2crypto
Requires: python-m2crypto > 0.19
%else
BuildRequires: m2crypto
Requires: m2crypto > 0.19
%endif
%if 0%{?mandriva_version}
BuildRequires: python-rpm
Requires: python-rpm
%else
BuildRequires: rpm-python
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.
See http://en.opensuse.org/openSUSE:OSC , as well as
http://en.opensuse.org/openSUSE:Build_Service_Tutorial for a general
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
mkdir -p %{buildroot}%{_localstatedir}/lib/osc-plugins
install -Dm0644 dist/complete.csh %{buildroot}%{_sysconfdir}/profile.d/osc.csh
install -Dm0644 dist/complete.sh %{buildroot}%{_sysconfdir}/profile.d/osc.sh
%if 0%{?suse_version} > 1110
install -Dm0755 dist/osc.complete %{buildroot}%{_prefix}/lib/osc/complete
%else
install -Dm0755 dist/osc.complete %{buildroot}%{_libdir}/osc/complete
%endif
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS README TODO NEWS
%{_bindir}/osc*
%{python_sitelib}/*
%config %{_sysconfdir}/profile.d/osc.csh
%config %{_sysconfdir}/profile.d/osc.sh
%dir %{_localstatedir}/lib/osc-plugins
%{_mandir}/man1/osc.*
%if 0%{?suse_version} > 1110
%{_prefix}/lib/osc
%else
%{_libdir}/osc
%endif
%changelog

View File

@ -1,3 +1,8 @@
osc (0.132.5-1) unstable; urgency=low
- Update to 0.132.5
-- Adrian Schroeter <adrian@suse.de> Wed, 07 Jul 2011 10:00:00 +0200
osc (0.132.4-1) unstable; urgency=low osc (0.132.4-1) unstable; urgency=low
- Update to 0.132.4 - Update to 0.132.4

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8c2d9445a5b1d735710d71fa507dead4866514e0bb12836527ee48f452d3e42e
size 269202

3
osc-0.132.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:463f9f4ac96fc744ec0fe4dc6a1816dd159eb1f864692935f95cba081107ed27
size 269264

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 7 04:51:09 UTC 2011 - adrian@suse.de
- update to 0.132.5
* fix detection of project wide source service only
* crash fix on incident creation
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 16 09:50:55 UTC 2011 - saschpe@suse.de Thu Jun 16 09:50:55 UTC 2011 - saschpe@suse.de

View File

@ -1,6 +1,6 @@
Format: 1.0 Format: 1.0
Source: osc Source: osc
Version: 0.132.4 Version: 0.132.5
Binary: osc Binary: osc
Maintainer: Adrian Schroeter <adrian@suse.de> Maintainer: Adrian Schroeter <adrian@suse.de>
Architecture: any Architecture: any

View File

@ -18,7 +18,7 @@
Name: osc Name: osc
Version: 0.132.4 Version: 0.132.5
Release: 1 Release: 1
License: GPLv2+ License: GPLv2+
Summary: openSUSE Build Service Commander Summary: openSUSE Build Service Commander