File project.diff of Package python-pyramid_jinja2
--- python-pyramid_jinja2.changes.orig
+++ python-pyramid_jinja2.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Mon Sep 21 20:47:45 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
+
+- define %bcond_with python2 to fix have_python2 macro parsing on TW
+
+-------------------------------------------------------------------
Sun Oct 8 12:59:58 UTC 2017 - toddrme2178@gmail.com
- rename requires to pylons-sphinx-themes
--- python-pyramid_jinja2.spec.orig
+++ python-pyramid_jinja2.spec
@@ -1,8 +1,8 @@
#
# spec file for package python-pyramid_jinja2
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
+# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2015-2020 LISA GmbH, Bingen, Germany
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,6 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_with python2
Name: python-pyramid_jinja2
Version: 2.7
Release: 0
@@ -49,7 +50,7 @@ BuildRequires: %{python_module zope.dep
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
-%if %{have_python2}
+%if %{with python2}
BuildRequires: python2-typing
%endif
%if %{have_python3} && %{python3_version_nodots} < 35