Accepting request 613965 from home:dcassany:branches:devel:CaaSP:Head:ControllerNode
- Make use of %license macro OBS-URL: https://build.opensuse.org/request/show/613965 OBS-URL: https://build.opensuse.org/package/show/devel:CaaSP:Head:ControllerNode/cni?expand=0&rev=11
This commit is contained in:
parent
2dc1d6676e
commit
e62cf4a4ed
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 4 11:27:31 UTC 2018 - dcassany@suse.com
|
||||
|
||||
- Make use of %license macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 4 11:32:32 UTC 2018 - jmassaguerpla@suse.com
|
||||
|
||||
|
8
cni.spec
8
cni.spec
@ -72,14 +72,18 @@ install -D -p -m 0644 %{SOURCE1} %{buildroot}%{cni_etc_dir}/net.d/99-loopback.co
|
||||
|
||||
# documentation
|
||||
install -m 755 -d "%{buildroot}%{cni_doc_dir}"
|
||||
cp CONTRIBUTING.md README.md LICENSE DCO %{buildroot}%{cni_doc_dir}/
|
||||
|
||||
%post
|
||||
%{fillup_only -n %{name}}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CONTRIBUTING.md README.md LICENSE DCO
|
||||
%doc CONTRIBUTING.md README.md DCO
|
||||
%if 0%{?suse_version} < 1500
|
||||
%doc LICENSE
|
||||
%else
|
||||
%license LICENSE
|
||||
%endif
|
||||
%dir %{cni_etc_dir}
|
||||
%dir %{cni_etc_dir}/net.d
|
||||
%config %{cni_etc_dir}/net.d/*
|
||||
|
Loading…
Reference in New Issue
Block a user