https://bugzilla.redhat.com/show_bug.cgi?id=1109717

Itamar Reis Peixoto <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #10 from Itamar Reis Peixoto <[email protected]> ---
[itamar@lenovo fedora]$ python -c "from distutils.sysconfig import
get_python_lib; print (get_python_lib())"
/usr/lib/python2.7/site-packages

[itamar@lenovo fedora]$ rpm -E '%{python2_sitelib}'
/usr/lib/python2.7/site-packages

[itamar@lenovo fedora]$ rpm -E '%{python3_sitelib}'
/usr/lib/python3.6/site-packages


I think you probably should use %{python2_sitelib} / %{python3_sitelib} macros,
they are already defined.

I saw a guy defining a macro for description and using it instead of repeating
it, an small example here ->
https://itamarjp.fedorapeople.org/review/python-flask-sphinx-themes.spec, if
you do that your spec file will become smaller.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to