From f4eb9a9ab975d77f3be9ca15659f217d5d3d6e48 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jan 20 2020 17:51:05 +0000 Subject: Properly escape nested macro calls --- diff --git a/python-designateclient.spec b/python-designateclient.spec index f09af3e..b79ee48 100644 --- a/python-designateclient.spec +++ b/python-designateclient.spec @@ -6,9 +6,9 @@ %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}}