forked from pool/python-twine
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
6170b237d3 | |||
23951f5be6 | |||
752f8af662 | |||
49f1b53315 | |||
a885dbaefc | |||
1d17b698ae | |||
f1804fc0ea |
@@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 25 14:24:32 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives on SLE-16-based and newer systems
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 25 21:08:56 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-twine
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,11 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-twine
|
||||
Version: 6.1.0
|
||||
@@ -65,14 +60,9 @@ Requires: python-requests-toolbelt >= 0.8.0
|
||||
Requires: python-rfc3986 >= 1.4.0
|
||||
Requires: python-rich >= 12.0.0
|
||||
Requires: python-urllib3 >= 1.26
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -107,9 +97,6 @@ rm tests/test_integration.py
|
||||
%postun
|
||||
%python_uninstall_alternative twine
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative twine
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS README.rst
|
||||
%license LICENSE
|
||||
|
Reference in New Issue
Block a user