From 3e5cad2c8f04133914a02262e1f9c91416488668 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jan 20 2020 19:16:10 +0000 Subject: Properly escape nested macro calls --- diff --git a/python-os-testr.spec b/python-os-testr.spec index 9d1f241..9e3c8aa 100644 --- a/python-os-testr.spec +++ b/python-os-testr.spec @@ -5,9 +5,9 @@ %global pyver 2 %endif %global pyver_bin python%{pyver} -%global pyver_sitelib %python%{pyver}_sitelib -%global pyver_install %py%{pyver}_install -%global pyver_build %py%{pyver}_build +%global pyver_sitelib %{expand:%{python%{pyver}_sitelib}} +%global pyver_install %{expand:%{py%{pyver}_install}} +%global pyver_build %{expand:%{py%{pyver}_build}} # End of macros for py2/py3 compatibility %{!?upstream_version: %global upstream_version %{version}%{?milestone}}