Accepting request 610017 from devel:languages:python

- Format with spec-cleaner and reduce the license conditions

OBS-URL: https://build.opensuse.org/request/show/610017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-twine?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-05-17 16:05:14 +00:00 committed by Git OBS Bridge
commit 465ed3d9bd
2 changed files with 10 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 17 08:26:25 UTC 2018 - tchvatal@suse.com
- Format with spec-cleaner and reduce the license conditions
-------------------------------------------------------------------
Thu Jul 6 13:02:30 UTC 2017 - sebix+novell.com@sebix.at

View File

@ -1,7 +1,7 @@
#
# spec file for package python-twine
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -23,21 +23,19 @@ Release: 0
Summary: Collection of utilities for interacting with PyPI
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/pypa/twine
URL: https://github.com/pypa/twine
Source: https://files.pythonhosted.org/packages/source/t/twine/twine-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 0.7.0}
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires: python-pkginfo >= 1.0
Requires: python-requests-toolbelt >= 0.8.0
Requires: python-tqdm >= 4.11
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: python-keyring
%if 0%{suse_version} <= 1320
%if 0%{?suse_version} <= 1320
Recommends: python-pyblake2
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@ -63,13 +61,8 @@ sed -i '1s/^#!.*//' twine/__main__.py
%python_uninstall_alternative twine
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS README.rst
%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
%license LICENSE
%else
%doc LICENSE
%endif
%{python_sitelib}/*
%python_alternative %{_bindir}/twine