15
0

- Update to 0.12.2:

* no upstream changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-03-05 14:56:37 +00:00
committed by Git OBS Bridge
parent e5be582b24
commit a43303a2fc
4 changed files with 17 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-EditorConfig
#
# 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
@@ -18,18 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-EditorConfig
Version: 0.12.1
Version: 0.12.2
Release: 0
Summary: File Locator and Interpreter for Python
License: Python-2.0
License: Python-2.0 AND BSD-2-Clause
Group: Development/Languages/Python
Url: http://editorconfig.org
Source0: https://pypi.io/packages/source/E/EditorConfig/EditorConfig-%{version}.tar.gz
URL: http://editorconfig.org
Source0: https://files.pythonhosted.org/packages/source/E/EditorConfig/EditorConfig-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@@ -47,11 +46,11 @@ command line program or as an importable library.
%python_install
# remove executable that is already supplied by the editorconfig package
rm -rf %{buildroot}%{_bindir}
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%license LICENSE.* COPYING
%doc README.rst
%{python_sitelib}/editorconfig
%{python_sitelib}/EditorConfig-%{version}-py%{py_ver}.egg-info