Hello community, here is the log from the commit of package cni-plugins for openSUSE:Factory checked in at 2018-06-05 12:52:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cni-plugins (Old) and /work/SRC/openSUSE:Factory/.cni-plugins.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cni-plugins" Tue Jun 5 12:52:50 2018 rev:2 rq:614010 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cni-plugins/cni-plugins.changes 2018-02-01 21:28:25.871759050 +0100 +++ /work/SRC/openSUSE:Factory/.cni-plugins.new/cni-plugins.changes 2018-06-05 12:52:51.433757454 +0200 @@ -1,0 +2,5 @@ +Mon Jun 4 13:40:36 UTC 2018 - dcass...@suse.com + +- Make use of %license macro + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cni-plugins.spec ++++++ --- /var/tmp/diff_new_pack.HXODMW/_old 2018-06-05 12:52:52.097733134 +0200 +++ /var/tmp/diff_new_pack.HXODMW/_new 2018-06-05 12:52:52.097733134 +0200 @@ -1,7 +1,7 @@ # # spec file for package cni-plugins # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define cni_bin_dir %{_libexecdir}/cni %define cni_doc_dir %{_docdir}/cni-plugins @@ -63,8 +64,6 @@ # documentation install -m 755 -d "%{buildroot}%{cni_doc_dir}" -cp CONTRIBUTING.md README.md LICENSE %{buildroot}%{cni_doc_dir}/ -install -m 755 -d "%{buildroot}%{cni_doc_dir}" # TODO: copy the READMEs #for i in plugins/main/*/README.md ; do @@ -76,13 +75,16 @@ %files %defattr(-,root,root) -%doc %{cni_doc_dir}/CONTRIBUTING.md -%doc %{cni_doc_dir}/README.md -%doc %{cni_doc_dir}/LICENSE -%dir %{cni_bin_dir} %dir %{cni_doc_dir} +%doc CONTRIBUTING.md +%doc README.md +%if 0%{?suse_version} < 1500 +%doc LICENSE +%else +%license LICENSE +%endif +%dir %{cni_bin_dir} %{cni_bin_dir}/* # %{cni_doc_dir}/plugins/* - %changelog