14
0

- 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
This commit is contained in:
Tomáš Chvátal
2020-02-24 11:03:04 +00:00
committed by Git OBS Bridge
parent 06d2ca3f9e
commit d318b55f9d
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 24 10:54:59 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix fdupes call
- Do not pull in flake8
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 18 15:24:46 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com> Thu Apr 18 15:24:46 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-tempora # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -22,12 +22,11 @@ Version: 1.14.1
Release: 0 Release: 0
Summary: Objects and routines pertaining to date and time (tempora) Summary: Objects and routines pertaining to date and time (tempora)
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/jaraco/tempora URL: https://github.com/jaraco/tempora
Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz
BuildRequires: %{python_module freezegun} BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module jaraco.functools >= 1.20} BuildRequires: %{python_module jaraco.functools >= 1.20}
BuildRequires: %{python_module pytest-flake8} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@@ -51,13 +50,15 @@ Modules include:
%prep %prep
%setup -q -n tempora-%{version} %setup -q -n tempora-%{version}
# do not require cov/xdist/etc
sed -i -e 's/--flake8//g' pytest.ini
%build %build
%python_build %python_build
%install %install
%python_install %python_install
%fdupes %{buildroot} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%pytest %pytest