- Drop devel dependency
- Install license file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=8
This commit is contained in:
parent
8ebadf3d6a
commit
1525dc36a9
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 6 10:10:27 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Drop devel dependency
|
||||
- Install license file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 14:32:58 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-wcwidth
|
||||
#
|
||||
# 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,15 +23,12 @@ Release: 0
|
||||
Summary: Number of Terminal column cells of wide-character codes
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/jquast/wcwidth
|
||||
URL: https://github.com/jquast/wcwidth
|
||||
Source: https://files.pythonhosted.org/packages/source/w/wcwidth/wcwidth-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -62,14 +59,11 @@ release files, which this project aims to track.
|
||||
|
||||
%check
|
||||
pushd wcwidth/tests
|
||||
%{python_expand
|
||||
export PYTHONPATH=%{buildroot}%{python_sitelib}
|
||||
nosetests-%{python_bin_suffix}
|
||||
}
|
||||
%python_expand PYTHONPATH=%{buildroot}%{python_sitelib} nosetests-%{python_bin_suffix}
|
||||
popd
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user