Accepting request 697466 from openSUSE:Tools

- osc-0.165.0.tar.gz now contains the correct version (tag 0.165.0) 

- simplify "BuildArch:" decission if statements. (Avoid double
  BuildArch lines)
- Fedora29: m2crypto for python3 is named python3-m2crypto now

OBS-URL: https://build.opensuse.org/request/show/697466
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osc?expand=0&rev=131
This commit is contained in:
Yuchen Lin 2019-04-25 14:20:25 +00:00 committed by Git OBS Bridge
commit 7222b01330
4 changed files with 22 additions and 7 deletions

View File

@ -1,4 +1,4 @@
osc (0.164.2) unstable; urgency=low
osc (0.165.0) unstable; urgency=low
- Update to 0.161.1
-- Marco Strigl <marco.strigl@suse.com> Thu, 26 Oct 2017 14:42:00 +0200

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21e4fbdc398b8e6fbd357be0fa53d770de6093802f03d3a21580769970cde90c
size 386326
oid sha256:2edce50346521d61f089597afb7cd483ba30908f960d20d1f40244272fdb90c3
size 357447

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Apr 24 11:20:12 UTC 2019 - Marco Strigl <marco.strigl@suse.com>
- osc-0.165.0.tar.gz now contains the correct version (tag 0.165.0)
-------------------------------------------------------------------
Wed Apr 24 09:55:14 UTC 2019 - Marco Strigl <marco.strigl@suse.com>
- simplify "BuildArch:" decission if statements. (Avoid double
BuildArch lines)
- Fedora29: m2crypto for python3 is named python3-m2crypto now
-------------------------------------------------------------------
Thu Apr 18 12:45:04 UTC 2019 - Marco Strigl <marco.strigl@suse.com>

View File

@ -55,10 +55,10 @@ BuildRequires: rpm-python
Requires: rpm-python
%endif
%endif
%if 0%{?suse_version}
%if 0%{?suse_version} >= 1120
%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%if 0%{?suse_version}
Requires: %{use_python}
Recommends: %{use_python}-progressbar
BuildRequires: %{use_python}-xml
@ -83,8 +83,6 @@ Recommends: obs-service-download_files
Recommends: obs-service-format_spec_file
Recommends: obs-service-source_validator
%endif
%else
BuildArch: noarch
%endif
# needed for storing credentials in kwallet/gnome-keyring
%if 0%{?suse_version} > 1000 || 0%{?mandriva_version} || 0%{?mdkversion}
@ -109,9 +107,14 @@ BuildRequires: python-m2crypto > 0.19
Requires: python-m2crypto > 0.19
%endif
%else
%if 0%{?fedora_version} >= 29
BuildRequires: python3-m2crypto
Requires: python3-m2crypto
%else
BuildRequires: m2crypto > 0.19
Requires: m2crypto > 0.19
%endif
%endif
%if %{with python3}
%define python_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%else