Accepting request 629183 from devel:languages:python
- Use %license to install License file OBS-URL: https://build.opensuse.org/request/show/629183 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-mimeparse?expand=0&rev=7
This commit is contained in:
commit
7685f9ac95
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 14 07:24:10 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
- Use %license to install License file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-mimeparse
|
||||
#
|
||||
# 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
|
||||
@ -24,18 +24,16 @@ Release: 0
|
||||
Summary: Basic functions for parsing and matching mime-type names
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/dbtsai/python-mimeparse
|
||||
Source: https://pypi.io/packages/source/p/python-mimeparse/python-mimeparse-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
URL: https://github.com/dbtsai/python-mimeparse
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-mimeparse/python-mimeparse-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Obsoletes: %{oldpython}-mimeparse < 0.1.4
|
||||
Provides: %{oldpython}-mimeparse = %{version}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -57,8 +55,8 @@ the HTTP specification [RFC 2616] for a complete explanation.
|
||||
%python_exec mimeparse_test.py
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
%{python_sitelib}/mimeparse.py*
|
||||
%{python_sitelib}/python_mimeparse-%{version}-py%{python_version}.egg-info
|
||||
|
Loading…
Reference in New Issue
Block a user