|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-parallax
|
|
|
|
# spec file for package python-parallax
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -16,7 +16,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
%define oldpython python
|
|
|
|
Name: python-parallax
|
|
|
|
Name: python-parallax
|
|
|
|
Version: 1.0.8
|
|
|
|
Version: 1.0.8
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
@@ -26,17 +26,17 @@ Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/krig/parallax/
|
|
|
|
URL: https://github.com/krig/parallax/
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz
|
|
|
|
Patch1: 0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch
|
|
|
|
Patch1: 0001-Fix-manager-writer-thread-can-only-be-started-once-b.patch
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
%define oldpython python
|
|
|
|
|
|
|
|
Obsoletes: %{oldpython}-parallax < %{version}
|
|
|
|
|
|
|
|
Requires: openssh
|
|
|
|
Requires: openssh
|
|
|
|
|
|
|
|
Obsoletes: %{oldpython}-parallax < %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
Requires(post): update-alternatives
|
|
|
|
Requires(post): alts
|
|
|
|
Requires(postun): update-alternatives
|
|
|
|
Requires(postun): alts
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
@@ -52,10 +52,10 @@ multiple nodes using SCP.
|
|
|
|
%autosetup -p1 -n parallax-%{version}
|
|
|
|
%autosetup -p1 -n parallax-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/parallax-askpass
|
|
|
|
%python_clone -a %{buildroot}%{_bindir}/parallax-askpass
|
|
|
|
|
|
|
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
@@ -70,7 +70,7 @@ multiple nodes using SCP.
|
|
|
|
%doc AUTHORS README.md
|
|
|
|
%doc AUTHORS README.md
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%{python_sitelib}/parallax
|
|
|
|
%{python_sitelib}/parallax
|
|
|
|
%{python_sitelib}/parallax-%{version}*.egg-info
|
|
|
|
%{python_sitelib}/parallax-%{version}*-info
|
|
|
|
%python_alternative %{_bindir}/parallax-askpass
|
|
|
|
%python_alternative %{_bindir}/parallax-askpass
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|