From 42d487174c3a6fea505536e79259aeeaee9cdc5d3f5e8645add2da7307dd5704 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 19 Jun 2018 07:07:13 +0000 Subject: [PATCH] Accepting request 617652 from home:eeich:branches:science:HPC - Improve test to be more general. OBS-URL: https://build.opensuse.org/request/show/617652 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=27 --- suse-hpc.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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