Skip to content

Commit

Permalink
Escape nested macro calls
Browse files Browse the repository at this point in the history
The %python macro is now defined, we need
to escape it.

Change-Id: I39009d6ecc38bede9dc5b479480d6ee685cad09c
  • Loading branch information
jcapiitao committed Feb 24, 2020
1 parent 7594b10 commit 9772519
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python-tempestconf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
%global pname tempestconf
Expand Down

0 comments on commit 9772519

Please sign in to comment.