forked from pool/python-twine
Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
8c8b27291f | |||
2af8c3baf5 | |||
6eaf9db6c6 | |||
8d1684f74e | |||
3b9eafeb08 | |||
52d5be49a8 | |||
a7a3a79468 | |||
e1cf4d8d38 | |||
c8bd917d6c |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,6 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-twine
|
||||
Version: 6.1.0
|
||||
@@ -60,9 +65,14 @@ 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
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -97,6 +107,9 @@ 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