From e1693b14fe010260969e848544a9d3d3e22d96c4 Mon Sep 17 00:00:00 2001 From: Jonny Heggheim Date: Thu, 24 Nov 2022 21:51:24 +0100 Subject: [PATCH] Revert "Add bcond to disable tests" This reverts commit fa92b49e143d8b3153c40afb8972c36d712c2abc. The build failed: $ fedpkg local error: line 73: Unclosed %if Parsing specfile for used sources failed. Falling back to downloading all sources. Not downloading already downloaded typing_extensions-4.2.0.tar.gz error: line 73: Unclosed %if error: query of specfile /home/jonny/fedora-scm/python-typing-extensions/python-typing-extensions.spec failed, can't parse Could not execute local: Could not get n-v-r-e from /home/jonny/fedora-scm/python-typing-extensions/python-typing-extensions.spec --- python-typing-extensions.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec index 94810db..1dbaf8e 100644 --- a/python-typing-extensions.spec +++ b/python-typing-extensions.spec @@ -1,6 +1,3 @@ -# when building packages with new Python we need to build typing-extension without tests before pytest is available -%bcond tests 1 - Name: python-typing-extensions Version: 4.2.0 Release: 5%{?dist} @@ -14,9 +11,7 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-test -%if %{without tests} BuildRequires: python3-pytest -%end %global _description %{expand: @@ -70,10 +65,8 @@ Summary: %{summary} %pyproject_save_files typing_extensions -%if %{without tests} %check %pytest -%end %files -n python3-typing-extensions -f %{pyproject_files} %license LICENSE