Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: spec: use %license macro
......................................................................

spec: use %license macro

Spec should be based on Fedora RPM GuideLines.
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines?rd=Packaging/LicensingGuidelines

Change-Id: Iaca1619614c80a9af8f596409d0957b59bdecb5f
Signed-off-by: Douglas Schilling Landgraf <dougsl...@redhat.com>
---
M ovirt-node-plugin-vdsm.spec.in
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-plugin-vdsm 
refs/changes/35/39735/1

diff --git a/ovirt-node-plugin-vdsm.spec.in b/ovirt-node-plugin-vdsm.spec.in
index 8ad2139..303f515 100644
--- a/ovirt-node-plugin-vdsm.spec.in
+++ b/ovirt-node-plugin-vdsm.spec.in
@@ -33,6 +33,8 @@
 BuildArch:      noarch
 BuildRequires:  python2-devel
 
+%{!?_licensedir:%global license %%doc}
+
 %define app_root %{_datadir}/%{name}
 %define recipe_root %{_datadir}/ovirt-node-recipe
 
@@ -88,9 +90,11 @@
 %preun
 
 %files recipe
+%license COPYING
 %{recipe_root}
 
 %files
+%license COPYING
 %{python_sitelib}/ovirt/node/setup/vdsm
 %{_libexecdir}/ovirt-node/hooks/pre-upgrade/01-vdsm
 %{_libexecdir}/ovirt-node/hooks/post-upgrade/01-sanlock-check


-- 
To view, visit https://gerrit.ovirt.org/39735
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaca1619614c80a9af8f596409d0957b59bdecb5f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-plugin-vdsm
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to