Douglas Schilling Landgraf has uploaded a new change for review.

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

spec: use %license macro

Change-Id: Ida02bda6e597a8545ac1a687d8d9565c824f930c
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
---
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/51/39851/1

diff --git a/ovirt-node-plugin-vdsm.spec.in b/ovirt-node-plugin-vdsm.spec.in
index 47c9933..cdd8565 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/39851
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ida02bda6e597a8545ac1a687d8d9565c824f930c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-plugin-vdsm
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Douglas Schilling Landgraf <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to