diff --git a/python-twine.changes b/python-twine.changes index eab7313..92c6576 100644 --- a/python-twine.changes +++ b/python-twine.changes @@ -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 diff --git a/python-twine.spec b/python-twine.spec index 93f5328..6dd6dab 100644 --- a/python-twine.spec +++ b/python-twine.spec @@ -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