From a3b44c3b1f570b9cd2cb18f61a01e77f7710270fa904c594419ae5193f4a1b05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Jun 2019 14:23:50 +0000 Subject: [PATCH] - Reduce bit conditionals as it is not needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-issues?expand=0&rev=9 --- python-sphinx-issues.changes | 5 +++++ python-sphinx-issues.spec | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/python-sphinx-issues.changes b/python-sphinx-issues.changes index 629a618..a4a62b0 100644 --- a/python-sphinx-issues.changes +++ b/python-sphinx-issues.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 6 14:23:35 UTC 2019 - Tomáš Chvátal + +- Reduce bit conditionals as it is not needed + ------------------------------------------------------------------- Fri Apr 26 13:05:20 UTC 2019 - Marketa Calabkova diff --git a/python-sphinx-issues.spec b/python-sphinx-issues.spec index 11246f2..11add43 100644 --- a/python-sphinx-issues.spec +++ b/python-sphinx-issues.spec @@ -17,8 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%{!?license: %global license %doc} -%bcond_without test Name: python-sphinx-issues Version: 1.2.0 Release: 0 @@ -27,16 +25,14 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/sloria/sphinx-issues Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-mock BuildRequires: python-rpm-macros Requires: python-Sphinx BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module pytest} -BuildRequires: python-mock -%endif %python_subpackages %description