Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace accidentaly not expanded python macros #244

Closed
scarabeusiv opened this issue Mar 7, 2019 · 1 comment
Closed

Replace accidentaly not expanded python macros #244

scarabeusiv opened this issue Mar 7, 2019 · 1 comment

Comments

@scarabeusiv
Copy link
Contributor

With %python_expand some people accidentaly use normal macros ie %python_expand %{python_sitelib} which should be %python_expand %{$python_sitelib}.

Known variables:

python_sitearch
python_sitelib
python_version
python_bin_suffix

If at the begining of the line is %python_expand and any of those variables is found without the $ we should replace it. @mcepl any other variables you can think of?

@scarabeusiv
Copy link
Contributor Author

Another item is python call should be expanded to $python.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants