diff --git a/python-distro.spec b/python-distro.spec index 5739afe..02d7f7d 100644 --- a/python-distro.spec +++ b/python-distro.spec @@ -1,4 +1,6 @@ %global pypi_name distro +# compatibility for RHEL <= 6 +%{!?_licensedir:%global license %%doc} %if 0%{?rhel} && 0%{?rhel} <= 7 %bcond_with python3 @@ -8,7 +10,7 @@ Name: python-%{pypi_name} Version: 1.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Linux Distribution - a Linux OS platform information API License: ASL 2.0 @@ -102,6 +104,9 @@ rm -rf %{pypi_name}.egg-info %{_bindir}/distro %changelog +* Tue Jan 24 2017 Miroslav Suchý 1.0.2-2 +- add license macro for el6 + * Tue Jan 24 2017 Miroslav Suchý 1.0.2-1 - update to 1.0.2 - 1415667 - require python-argparse on EL6