1
0
forked from pool/osc

Accepting request 958420 from openSUSE:Tools

OBS-URL: https://build.opensuse.org/request/show/958420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=159
This commit is contained in:
Dominique Leuenberger 2022-03-02 17:20:31 +00:00 committed by Git OBS Bridge
commit 198ccae331
8 changed files with 49 additions and 22 deletions

View File

@ -1,5 +1,5 @@
pkgname=osc
pkgver=0.175.0
pkgver=0.176.0
pkgrel=0
pkgdesc="Open Build Service client"
arch=('x86_64')

View File

@ -1,8 +1,8 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">0.175.0</param>
<param name="revision">0.175.0</param>
<param name="url">git://github.com/openSUSE/osc.git</param>
<param name="version">0.176.0</param>
<param name="revision">0.176.0</param>
<param name="url">https://github.com/openSUSE/osc.git</param>
<param name="scm">git</param>
</service>
<service name="recompress" mode="disabled">

View File

@ -1,4 +1,4 @@
osc (0.175.0-0) unstable; urgency=low
osc (0.176.0-0) unstable; urgency=low
- Update to 0.174.0:
- fix password deletion via "osc config -d <apiurl> pass"
- support changing the password store via "osc config <apiurl>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:03547ab9b16806373b4f7030959c923d1449a4f14bfe067419a6bbe29867112d
size 373432

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

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

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon Feb 28 17:34:00 UTC 2022 - Daniel Mach <daniel.mach@suse.com>
- 0.176.0
* add -F option to osc submitreq
* add --verbose option to build command
* fix getbinaries command to fetch also multibuild packages
* fix getbinaries -M/--multibuild-package option usage
* skip fetching metadata and logs in the getbinaries command
* do not download a bdep with a hdrmd5 from the api by default
* re-download file from API when hdrmd5 doesn't match
* honor --download-api-only option
* remove Windows from the supported operating systems
* fix license in setup.py
* add py3.10 and py3.11 to the classifiers in setup.py
* use the latest version of COPYING file from gnu.org
* fix crash on terminal resize during download
* do not fail with a traceback in case of a config error
* preserve oscrc symlink when writing conf file
* escape % character in binary download URLs
* fix printing paths to built debian packages
-------------------------------------------------------------------
Tue Feb 22 01:21:11 UTC 2022 - Matthew Davis <opensuse@virtual.drop.net>
- 0.175.1:
* Modified SPEC file to be more compatible with KOJI and COPR.
** Modified SPEC file to use python3 for CentOS/RHEL 7
** Modified SPEC file use fedora/rhel version macros.
** Changed perl to sed in %install section of SPEC file.
-------------------------------------------------------------------
Thu Dec 2 08:18:20 UTC 2021 - Marco Strigl <marco.strigl@suse.com>

View File

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

View File

@ -1,7 +1,7 @@
#
# spec file for package osc
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,7 @@
#
%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} >= 29 || 0%{?centos_version} >= 800 || 0%{?mageia} >= 8
%if 0%{?suse_version} >= 1500 || 0%{?fedora} >= 29 || 0%{?rhel} >= 7 || 0%{?mageia} >= 8
%bcond_without python3
%else
%bcond_with python3
@ -27,7 +27,7 @@
%define use_python python
%endif
%define version_unconverted 0.175.0
%define version_unconverted 0.176.0
%define osc_plugin_dir %{_prefix}/lib/osc-plugins
%define macros_file macros.osc
%if ! %{defined _rpmmacrodir}
@ -35,7 +35,7 @@
%endif
Name: osc
Version: 0.175.0
Version: 0.176.0
Release: 0
Summary: Open Build Service Commander
License: GPL-2.0-or-later
@ -53,7 +53,7 @@ BuildRequires: diffstat
BuildRequires: python-rpm
Requires: python-rpm
%else
%if 0%{?suse_version} >= 1500 || 0%{?fedora_version} >= 32 || 0%{?centos_version} >= 800
%if 0%{?suse_version} >= 1500 || 0%{?fedora} >= 32 || 0%{?rhel} >= 7
BuildRequires: %{use_python}-rpm
Requires: %{use_python}-rpm
%else
@ -95,18 +95,14 @@ Conflicts: build < 20200106
%endif
%endif
# needed for storing credentials in kwallet/gnome-keyring
%if 0%{?suse_version} > 1000 || 0%{?mandriva_version} || 0%{?mdkversion}
%if 0%{?suse_version} > 1000 || 0%{?mandriva_version} || 0%{?mdkversion} || 0%{?fedora} >= 29 || 0%{?rhel} >= 8
%if %{with python3}
Recommends: python3-keyring
%else
Recommends: python-keyring
%endif
%endif
%if 0%{?rhel_version} && 0%{?rhel_version} < 600
BuildRequires: python-elementtree
Requires: python-elementtree
%endif
%if 0%{?centos_version} && 0%{?centos_version} < 600
%if 0%{?rhel} && 0%{?rhel} < 6
BuildRequires: python-elementtree
Requires: python-elementtree
%endif
@ -121,7 +117,7 @@ BuildRequires: python-m2crypto > 0.19
Requires: python-m2crypto > 0.19
%endif
%else
%if 0%{?fedora_version} >= 29 || 0%{?centos_version} >= 800
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 7
BuildRequires: python3-m2crypto
Requires: python3-m2crypto
%else
@ -162,7 +158,7 @@ echo >> %{macros_file}
%install
%{use_python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
perl -p -i -e 's{#!.*python}{#!%{_bindir}/%{use_python}}' osc-wrapper.py
sed -i -E 's|#!.*python|#!%{_bindir}/%{use_python}|' osc-wrapper.py
ln -s osc-wrapper.py %{buildroot}/%{_bindir}/osc
mkdir -p %{buildroot}%{osc_plugin_dir}
mkdir -p %{buildroot}%{_localstatedir}/lib/osc-plugins