diff --git a/suse-hpc.spec b/suse-hpc.spec index b4729a3..025df36 100644 --- a/suse-hpc.spec +++ b/suse-hpc.spec @@ -49,10 +49,10 @@ install -m 755 %{S:2} dlinfo %{buildroot}%{_rpmconfigdir} install -m 644 %{S:3} %{S:4} %{buildroot}%{_rpmconfigdir}/fileattrs cp %{S:5} . -%if 0%{?sle_version} && 0%{?sle_version} <= 120200 -%define mylicense %doc -%else -%define mylicense %license +%if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320 +%define mylicense %license +%else +%define mylicense %doc %endif %files