From 783e5a98a332926b6832018e71b4f3c7f9d6c4b9 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jan 20 2020 19:16:09 +0000 Subject: Properly escape nested macro calls --- diff --git a/python-openstackclient.spec b/python-openstackclient.spec index 5f3de2a..f1af392 100644 --- a/python-openstackclient.spec +++ b/python-openstackclient.spec @@ -7,9 +7,9 @@ %global __python %{__python2} %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}}