Accepting request 617646 from home:eeich:branches:science:HPC
- Handle license file using %license where applicable. OBS-URL: https://build.opensuse.org/request/show/617646 OBS-URL: https://build.opensuse.org/package/show/science:HPC/suse-hpc?expand=0&rev=26
This commit is contained in:
parent
2ffe5b8cf4
commit
2b9180c684
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 05:08:01 UTC 2018 - eich@suse.com
|
||||
|
||||
- Handle license file using %license where applicable.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 18 04:56:03 UTC 2018 - eich@suse.com
|
||||
|
||||
|
@ -49,9 +49,15 @@ 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
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE
|
||||
%mylicense LICENSE
|
||||
%config %{_sysconfdir}/rpm/macros.hpc
|
||||
%{_rpmconfigdir}/dlinfo
|
||||
%{_rpmconfigdir}/hpc_elf.pl
|
||||
|
Loading…
Reference in New Issue
Block a user