From 46bd6ff0fc03b2dfa127c6352722075a48b33550 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 15 Oct 2019 15:07:33 +0100 Subject: [PATCH] fix self build if conditional --- .gitignore | 7 ++----- pypy.spec | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 1a434e1..d4480b9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,2 @@ -/pypy-*-src.tar.bz2 -/pypy2-*-src.tar.bz2 -/pypy2.7-v7.0.0-src.tar.bz2 -/pypy2.7-v7.1.1-src.tar.bz2 -/pypy2.7-v7.2.0-src.tar.bz2 +/pypy*-src.tar.bz2 +/pypy2*-src.tar.bz2 diff --git a/pypy.spec b/pypy.spec index c9f84d5..90185b9 100644 --- a/pypy.spec +++ b/pypy.spec @@ -178,7 +178,7 @@ Source189: 189-use-rpm-wheels.patch %global use_self_when_building 0 -%ifnarch 0%{use_self_when_building} +%if 0%{use_self_when_building} BuildRequires: pypy %global bootstrap_python_interp pypy2 %else