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
This commit is contained in:
Egbert Eich 2018-06-19 07:07:13 +00:00 committed by Git OBS Bridge
parent 2b9180c684
commit 42d487174c

View File

@ -49,10 +49,10 @@ install -m 755 %{S:2} dlinfo %{buildroot}%{_rpmconfigdir}
install -m 644 %{S:3} %{S:4} %{buildroot}%{_rpmconfigdir}/fileattrs install -m 644 %{S:3} %{S:4} %{buildroot}%{_rpmconfigdir}/fileattrs
cp %{S:5} . cp %{S:5} .
%if 0%{?sle_version} && 0%{?sle_version} <= 120200 %if 0%{?sle_version} > 120200 || 0%{?suse_version} > 1320
%define mylicense %doc
%else
%define mylicense %license %define mylicense %license
%else
%define mylicense %doc
%endif %endif
%files %files