forked from pool/python-twine
		
	Accepting request 673000 from home:mcepl:branches:devel:languages:python
- Deduplicate installed files OBS-URL: https://build.opensuse.org/request/show/673000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=16
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Sat Feb  9 13:45:55 UTC 2019 - Matej Cepl <mcepl@suse.com> | ||||
|  | ||||
| - Deduplicate installed files | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Mon May 21 09:30:29 UTC 2018 - tchvatal@suse.com | ||||
|  | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| # | ||||
| # spec file for package python-twine | ||||
| # | ||||
| # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. | ||||
| # Copyright (c) 2019 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 | ||||
| @@ -12,7 +12,7 @@ | ||||
| # license that conforms to the Open Source Definition (Version 1.9) | ||||
| # published by the Open Source Initiative. | ||||
|  | ||||
| # Please submit bugfixes or comments via http://bugs.opensuse.org/ | ||||
| # Please submit bugfixes or comments via https://bugs.opensuse.org/ | ||||
| # | ||||
|  | ||||
|  | ||||
| @@ -32,6 +32,7 @@ BuildRequires:  %{python_module requests >= 2.17.0} | ||||
| BuildRequires:  %{python_module requests-toolbelt >= 0.8.0} | ||||
| BuildRequires:  %{python_module setuptools >= 0.7.0} | ||||
| BuildRequires:  %{python_module tqdm >= 4.14} | ||||
| BuildRequires:  fdupes | ||||
| BuildRequires:  python-rpm-macros | ||||
| Requires:       python-pkginfo >= 1.4.2 | ||||
| Requires:       python-requests >= 2.17.0 | ||||
| @@ -61,6 +62,7 @@ sed -i '1s/^#!.*//' twine/__main__.py | ||||
| %install | ||||
| %python_install | ||||
| %python_clone -a %{buildroot}%{_bindir}/twine | ||||
| %python_expand %fdupes %{buildroot}%{$python_sitelib} | ||||
|  | ||||
| %check | ||||
| %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user