Hello community, here is the log from the commit of package clustershell for openSUSE:Factory checked in at 2020-09-09 18:02:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/clustershell (Old) and /work/SRC/openSUSE:Factory/.clustershell.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clustershell" Wed Sep 9 18:02:35 2020 rev:6 rq:833066 version:1.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/clustershell/clustershell.changes 2020-08-03 14:16:30.260566374 +0200 +++ /work/SRC/openSUSE:Factory/.clustershell.new.3399/clustershell.changes 2020-09-09 18:08:51.263575713 +0200 @@ -1,0 +2,5 @@ +Tue Sep 8 17:37:17 UTC 2020 - Egbert Eich <[email protected]> + +- Grab updated spec file from upstream to fix Python2 handling. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ clustershell.spec ++++++ --- /var/tmp/diff_new_pack.CY2uoW/_old 2020-09-09 18:08:54.395578567 +0200 +++ /var/tmp/diff_new_pack.CY2uoW/_new 2020-09-09 18:08:54.399578570 +0200 @@ -21,9 +21,6 @@ %{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} %{!?__python: %global __python python} %{!?__python2: %global __python2 %{__python}} -%if ! 0%{?rhel} >= 8 && ! 0%{?suse_version} > 1550 -%define py2 1 -%endif %if 0%{?fedora} >= 22 %{!?python2_pkgversion: %global python2_pkgversion 2} @@ -43,6 +40,10 @@ %{!?__python3: %global __python3 python3} %{!?python3_shortver: %global python3_shortver %(%{__python3} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')} +%if 0%{?rhel} < 8 && 0%{?suse_version} <= 1500 +%define py2 1 +%endif + %global srcname ClusterShell Name: clustershell @@ -50,17 +51,15 @@ Release: 1%{?dist} Summary: Python framework for efficient cluster administration License: LGPL-2.1-or-later -Group: System Environment/Base -%if 0%{?suse_version} -%else -%endif +Group: Productivity/Clustering/Computing + URL: http://cea-hpc.github.io/clustershell/ Source0: https://files.pythonhosted.org/packages/source/C/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch -%if 0%{!?py2:1} -Requires: python3-%{name} = %{version}-%{release} -%else +%if 0%{?py2} Requires: python2-%{name} = %{version}-%{release} +%else +Requires: python3-%{name} = %{version}-%{release} %endif %if 0%{?rhel} >= 7 || 0%{?fedora} Requires: vim-filesystem @@ -166,7 +165,6 @@ install -p -m 0644 doc/extras/vim/ftdetect/clustershell.vim %{buildroot}/%{vimdatadir}/ftdetect/ install -p -m 0644 doc/extras/vim/syntax/clushconf.vim %{buildroot}/%{vimdatadir}/syntax/ install -p -m 0644 doc/extras/vim/syntax/groupsconf.vim %{buildroot}/%{vimdatadir}/syntax/ - %{?suse_version:%fdupes %{buildroot}} %if 0%{?rhel} @@ -216,7 +214,7 @@ %defattr(-,root,root,-) %endif %doc ChangeLog README.md -%if %{suse_version} >= 1500 +%if 0%{?suse_version} >= 1500 %license COPYING.LGPLv2.1 %else %doc COPYING.LGPLv2.1
