From d9b44f86786bdc6cb3d8f6837c34bce06facebb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 9 Feb 2022 12:57:36 +0100 Subject: [PATCH] Remove some unneeded globals --- pypy3.9.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pypy3.9.spec b/pypy3.9.spec index 4c1c2d1..7b958cb 100644 --- a/pypy3.9.spec +++ b/pypy3.9.spec @@ -53,9 +53,6 @@ URL: http://pypy.org/ # Should we build the emacs JIT-viewing mode? %global with_emacs 1 -# Easy way to enable/disable verbose logging: -%global verbose_logs 0 - # Forcibly use the shadow-stack option for detecting GC roots, rather than # relying on hacking up generated assembler with regexps: %global shadow_stack 1 @@ -63,8 +60,6 @@ URL: http://pypy.org/ # Easy way to turn off the selftests: %global run_selftests 1 -%global pylibver 3 - # We refer to this subdir of the source tree in a few places during the build: %global goal_dir pypy/goal @@ -303,7 +298,7 @@ for f in rpython/translator/goal/bpnn.py ; do done # Replace all lib-python and lib_pypy python shebangs with pypy3 (those will be shipped with pypy3-libs) -find lib-python/%{pylibver} lib_pypy -name "*.py" -exec \ +find lib-python/3 lib_pypy -name "*.py" -exec \ sed -r -i '1s@^#!\s*/usr/bin.*(python|pypy).*@#!/usr/bin/%{name}@' \ "{}" \ \;