[node-patches] Change in ovirt-node[master]: spec: use %license macro

dougsland at redhat.com dougsland at redhat.com
Mon Apr 6 13:08:22 UTC 2015


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: I64e3785368ed5dc483445faa2ac03048b9fbf5c0
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M ovirt-node.spec.in
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/75/39575/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 344e7ff..c9c7a51 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -118,6 +118,7 @@
 
 BuildArch:      noarch
 
+%{!?_licensedir:%global license %%doc}
 %define app_root %{_datadir}/%{name}
 
 %description
@@ -808,7 +809,8 @@
 #
 %files recipe
 %defattr(0644,root,root,0755)
-%doc README COPYING
+%doc README
+%license COPYING
 %{recipe_root}/*.ks
 %defattr(0755,root,root,0755)
 %{_mandir}/man8/node-creator.8.gz
@@ -1013,7 +1015,7 @@
 %{_libexecdir}/ovirt-node/hooks
 
 
-%doc COPYING
+%license COPYING
 # should be ifarch i386
 %{app_root}/grub-splash.xpm.gz
 # end i386 bits


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I64e3785368ed5dc483445faa2ac03048b9fbf5c0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list