Define %license if needed for EPEL

This commit is contained in:
Till Maas
2015-11-15 21:21:59 +01:00
parent 898114da0e
commit 164962eaa9
+3
View File
@@ -1,5 +1,8 @@
%global with_python3 0
%global pypi_name defusedxml
# define the license macro as doc if licensedir is not defined for
# compatibility with EPEL
%{!?_licensedir:%global license %%doc}
Name: python-%{pypi_name}
Version: 0.4.1