From d9cd161056f138230fcebc4ee47790e7ef936428d768d5c1edc39b3141125069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 26 Aug 2022 06:34:43 +0000 Subject: [PATCH] Accepting request 999111 from home:bnavigator:branches:devel:languages:python - Don't require pytest-flake8 * It was not enabled anyway * pytest-flake8 does not work with flake8 >= 5 gh#tholo/pytest-flake8#87 * Source code linting should not be relevant for a functional rpm package OBS-URL: https://build.opensuse.org/request/show/999111 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gsm0338?expand=0&rev=3 --- python-gsm0338.changes | 10 ++++++++++ python-gsm0338.spec | 7 ++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/python-gsm0338.changes b/python-gsm0338.changes index 08831f8..320e64f 100644 --- a/python-gsm0338.changes +++ b/python-gsm0338.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Aug 24 18:26:24 UTC 2022 - Ben Greiner + +- Don't require pytest-flake8 + * It was not enabled anyway + * pytest-flake8 does not work with flake8 >= 5 + gh#tholo/pytest-flake8#87 + * Source code linting should not be relevant for a functional rpm + package + ------------------------------------------------------------------- Mon Jun 7 08:35:15 UTC 2021 - Martin Hauke diff --git a/python-gsm0338.spec b/python-gsm0338.spec index 6399a12..6103981 100644 --- a/python-gsm0338.spec +++ b/python-gsm0338.spec @@ -1,6 +1,7 @@ # # spec file for package python-gsm0338 # +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2021, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -25,12 +26,11 @@ License: MIT URL: https://github.com/dsch/gsm0338 #GIT-Clone: https://github.com/dsch/gsm0338.git Source: https://github.com/dsch/gsm0338/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module six} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module pytest-flake8} # /SECTION BuildRequires: fdupes Requires: python-six @@ -60,6 +60,7 @@ codec get's automatically registered. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/gsm0338* +%{python_sitelib}/gsm0338 +%{python_sitelib}/gsm0338-%{version}*-info %changelog