Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package osc for openSUSE:Factory checked in 
at 2022-08-11 18:32:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osc (Old)
 and      /work/SRC/openSUSE:Factory/.osc.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "osc"

Thu Aug 11 18:32:53 2022 rev:165 rq:994530 version:0.181.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/osc/osc.changes  2022-07-29 16:48:25.962741777 
+0200
+++ /work/SRC/openSUSE:Factory/.osc.new.1521/osc.changes        2022-08-11 
18:33:12.382208107 +0200
@@ -1,0 +2,10 @@
+Thu Aug 11 11:38:19 UTC 2022 - Daniel Mach <daniel.m...@suse.com>
+
+- fix building on distros that are not openSUSE or SLE
+
+-------------------------------------------------------------------
+Thu Aug  4 08:31:49 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- build against python3.6 for SLE12 and older
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ osc.spec ++++++
--- /var/tmp/diff_new_pack.eZ6bbL/_old  2022-08-11 18:33:13.006207149 +0200
+++ /var/tmp/diff_new_pack.eZ6bbL/_new  2022-08-11 18:33:13.010207143 +0200
@@ -16,15 +16,25 @@
 #
 
 
-%if 0%{?suse_version} >= 1500 || 0%{?fedora} >= 29 || 0%{?rhel} >= 7 || 
0%{?mageia} >= 8
+%if 0%{?suse_version} >= 1315 || 0%{?fedora} >= 29 || 0%{?rhel} >= 7 || 
0%{?mageia} >= 8
 %bcond_without python3
 %else
 %bcond_with    python3
 %endif
+
 %if %{with python3}
+
 %define use_python python3
+%define use_pythonpkg python3
+%if 0%{?suse_version} && 0%{?suse_version} < 1500
+%define use_python python3.6
+%define use_pythonpkg python36
+%endif
+
+# else if with python3
 %else
 %define use_python python
+%define use_pythonpkg python
 %endif
 
 %define version_unconverted 0.181.0
@@ -46,16 +56,16 @@
 Source2:        debian.docs
 Source3:        debian.osc.links
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{use_python}-devel
-BuildRequires:  %{use_python}-setuptools
+BuildRequires:  %{use_pythonpkg}-devel
+BuildRequires:  %{use_pythonpkg}-setuptools
 BuildRequires:  diffstat
 %if 0%{?mandriva_version} || 0%{?mageia}
 BuildRequires:  python-rpm
 Requires:       python-rpm
 %else
 %if 0%{?suse_version} >= 1500 || 0%{?fedora} >= 32 || 0%{?rhel} >= 7
-BuildRequires:  %{use_python}-rpm
-Requires:       %{use_python}-rpm
+BuildRequires:  %{use_pythonpkg}-rpm
+Requires:       %{use_pythonpkg}-rpm
 %else
 BuildRequires:  rpm-python
 Requires:       rpm-python
@@ -65,10 +75,10 @@
 BuildArch:      noarch
 %endif
 %if 0%{?suse_version}
-Requires:       %{use_python}
-Recommends:     %{use_python}-progressbar
-BuildRequires:  %{use_python}-xml
-Requires:       %{use_python}-xml
+Requires:       %{use_pythonpkg}
+Recommends:     %{use_pythonpkg}-progressbar
+BuildRequires:  %{use_pythonpkg}-xml
+Requires:       %{use_pythonpkg}-xml
 %if !%{with python3} && 0%{?suse_version} < 1020
 BuildRequires:  python-elementtree
 Requires:       python-elementtree

Reply via email to