From 39b53ebbbee0cd53e8d4e4d552622df11905064bb70c118f018dceaf4b5ef00d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 11:44:34 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-colorlog?expand=0&rev=11 --- python-colorlog.changes | 5 +++++ python-colorlog.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/python-colorlog.changes b/python-colorlog.changes index b7aa348..19015e7 100644 --- a/python-colorlog.changes +++ b/python-colorlog.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 11:44:22 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Thu Feb 28 09:43:47 UTC 2019 - Tomáš Chvátal diff --git a/python-colorlog.spec b/python-colorlog.spec index 71fe5b5..1049da7 100644 --- a/python-colorlog.spec +++ b/python-colorlog.spec @@ -22,10 +22,9 @@ Version: 4.0.2 Release: 0 Summary: Log formatting with colors License: MIT -Group: Development/Languages/Python URL: https://github.com/borntyping/python-colorlog -Source: https://pypi.io/packages/source/c/colorlog/colorlog-%{version}.tar.gz -BuildRequires: %{python_module pytest} +Source: https://files.pythonhosted.org/packages/source/c/colorlog/colorlog-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -46,10 +45,10 @@ before it is used to format the string. %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} colorlog/tests/ +%pytest colorlog/tests/ %files %{python_files} %doc README.md