# # spec file for package python-MultipartPostHandler # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python3 1 Name: python2-MultipartPostHandler Version: 0.1.0 Release: 1.1 Summary: A handler for urllib2 to enable multipart form uploading License: MIT Group: Development/Languages/Python Url: http://pipe.scs.fsu.edu/PostHandler/MultipartPostHandler.py Source: https://files.pythonhosted.org/packages/18/48/ba7c00a469cc0a0a7c19deebff844f15779256c209a4992e06e0f511ae36/MultipartPostHandler-0.1.0.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: fdupes BuildArch: noarch %python_subpackages %description Enables the use of multipart/form-data for posting forms %prep %setup -q -n MultipartPostHandler-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %files %{python_files} %{python_sitearch}/* %changelog * Mon May 25 2020 Holger Bruenjes - initial package for version 0.1.0