From 1525dc36a99e48034a5aad7f51e46dc86a3a9fbfad7ed94b38e36a73c6a85947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Sep 2018 10:10:42 +0000 Subject: [PATCH] - Drop devel dependency - Install license file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wcwidth?expand=0&rev=8 --- python-wcwidth.changes | 6 ++++++ python-wcwidth.spec | 16 +++++----------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/python-wcwidth.changes b/python-wcwidth.changes index deec17b..bb4b507 100644 --- a/python-wcwidth.changes +++ b/python-wcwidth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 6 10:10:27 UTC 2018 - Tomáš Chvátal + +- Drop devel dependency +- Install license file + ------------------------------------------------------------------- Mon Apr 3 14:32:58 UTC 2017 - toddrme2178@gmail.com diff --git a/python-wcwidth.spec b/python-wcwidth.spec index 929cc13..b0d88d4 100644 --- a/python-wcwidth.spec +++ b/python-wcwidth.spec @@ -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}/*