forked from pool/sshuttle
Accepting request 1093841 from security
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1093841 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sshuttle?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 22:28:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- switch to pep517 build for better shebangs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 3 20:54:03 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
+5
-4
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package sshuttle
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -34,9 +34,10 @@ Source2: sysconfig.%{name}
|
||||
Patch0: fix-pytest.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-setuptools_scm
|
||||
BuildRequires: python3-wheel
|
||||
Requires(post): %fillup_prereq
|
||||
BuildArch: noarch
|
||||
%if (0%{?suse_version} >= 1320 || 0%{?suse_version} == 1310)
|
||||
@@ -70,10 +71,10 @@ sed -ri 's/(version = )get_version.*/\1 "%{version}"/g' conf.py
|
||||
%make_build man
|
||||
)
|
||||
%endif
|
||||
%python3_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python3_install
|
||||
%pyproject_install
|
||||
|
||||
%if (0%{?suse_version} >= 1320 || 0%{?suse_version} == 1310)
|
||||
install -d -m 755 %{buildroot}%{_mandir}/man1
|
||||
|
||||
Reference in New Issue
Block a user