(open)SUSE compatibility with new %license macro

Unfortunately on the main platform for SUSE, SLE12, %license
is not yet properly supported. Add a compat hack for now.

Change-Id: I5b930bf59a85472a543b0c476bf900df129a6b8c
This commit is contained in:
Dirk Mueller
2016-02-07 14:02:35 +01:00
parent 01b70b1fcd
commit cb9e278268

View File

@@ -7,3 +7,5 @@
%__python2 /usr/bin/python2
%python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
# Make %license work like %doc for now - discussion started with openSUSE
%_defaultlicensedir %_defaultdocdir