From d318b55f9d64b1d698f0c839897254062cc6bdac4b1b1467ee72f3a1cbbea9c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 24 Feb 2020 11:03:04 +0000 Subject: [PATCH] - Fix fdupes call - Do not pull in flake8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tempora?expand=0&rev=14 --- python-tempora.changes | 6 ++++++ python-tempora.spec | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-tempora.changes b/python-tempora.changes index 3937192..ba50f8d 100644 --- a/python-tempora.changes +++ b/python-tempora.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 24 10:54:59 UTC 2020 - Tomáš Chvátal + +- Fix fdupes call +- Do not pull in flake8 + ------------------------------------------------------------------- Thu Apr 18 15:24:46 UTC 2019 - Marketa Calabkova diff --git a/python-tempora.spec b/python-tempora.spec index 79a96bb..249d967 100644 --- a/python-tempora.spec +++ b/python-tempora.spec @@ -1,7 +1,7 @@ # # spec file for package python-tempora # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,12 +22,11 @@ Version: 1.14.1 Release: 0 Summary: Objects and routines pertaining to date and time (tempora) License: MIT -Group: Development/Languages/Python URL: https://github.com/jaraco/tempora Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz BuildRequires: %{python_module freezegun} BuildRequires: %{python_module jaraco.functools >= 1.20} -BuildRequires: %{python_module pytest-flake8} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} @@ -51,13 +50,15 @@ Modules include: %prep %setup -q -n tempora-%{version} +# do not require cov/xdist/etc +sed -i -e 's/--flake8//g' pytest.ini %build %python_build %install %python_install -%fdupes %{buildroot} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest