incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [26/33] git commit: RPM: Add copyright files to rpms
Date Thu, 27 Sep 2012 04:58:04 GMT
RPM: Add copyright files to rpms

Adds rule to package toplevel LICENSE and NOTICE files to the doc path.

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/54fb0c3c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/54fb0c3c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/54fb0c3c

Branch: refs/heads/4.0
Commit: 54fb0c3c61af371980e0c0d4f7cb232d47c8a628
Parents: 6500c3a
Author: Rohit Yadav <rohit.yadav@citrix.com>
Authored: Wed Sep 26 12:02:11 2012 +0530
Committer: Edison Su <disheng.su@gmail.com>
Committed: Wed Sep 26 21:34:38 2012 -0700

----------------------------------------------------------------------
 cloud.spec |   33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/54fb0c3c/cloud.spec
----------------------------------------------------------------------
diff --git a/cloud.spec b/cloud.spec
index 67064b3..3ae3bd3 100644
--- a/cloud.spec
+++ b/cloud.spec
@@ -430,11 +430,14 @@ fi
 %doc %{_docdir}/%{name}-%{version}/version-info
 %doc %{_docdir}/%{name}-%{version}/sccs-info
 %doc %{_docdir}/%{name}-%{version}/configure-info
-%doc debian/copyright
+%doc LICENSE
+%doc NOTICE
 
 %files client-ui
 %defattr(0644,root,root,0755)
 %{_datadir}/%{name}/management/webapps/client/*
+%doc LICENSE
+%doc NOTICE
 
 %files server
 %defattr(0644,root,root,0755)
@@ -452,6 +455,8 @@ fi
 %{_javadir}/%{name}-plugin-elb.jar
 %{_javadir}/%{name}-plugin-nicira-nvp.jar
 %config(noreplace) %{_sysconfdir}/%{name}/server/*
+%doc LICENSE
+%doc NOTICE
 
 %files scripts
 %defattr(-,root,root,-)
@@ -459,7 +464,8 @@ fi
 # maintain the following list in sync with files scripts
 %{_libdir}/%{name}/common/vms/systemvm.zip
 %{_libdir}/%{name}/common/vms/systemvm.iso
-
+%doc LICENSE
+%doc NOTICE
 
 %files deps
 %defattr(0644,root,root,0755)
@@ -490,9 +496,14 @@ fi
 %{_javadir}/jstl-1.2.jar
 %{_javadir}/javax.persistence-2.0.0.jar
 %{_javadir}/bcprov-jdk16-1.45.jar
+%doc LICENSE
+%doc NOTICE
+
 %files core
 %defattr(0644,root,root,0755)
 %{_javadir}/%{name}-core.jar
+%doc LICENSE
+%doc NOTICE
 
 %files python
 %defattr(0644,root,root,0755)
@@ -500,6 +511,8 @@ fi
 %attr(0755,root,root) %{_bindir}/cloud-external-ipallocator.py
 %attr(0755,root,root) %{_initrddir}/cloud-ipallocator
 %dir %attr(0770,root,root) %{_localstatedir}/log/%{name}/ipallocator
+%doc LICENSE
+%doc NOTICE
 
 %files setup
 %attr(0755,root,root) %{_bindir}/%{name}-setup-databases
@@ -513,6 +526,8 @@ fi
 %{_datadir}/%{name}/setup/db/*.sql
 %{_datadir}/%{name}/setup/*.sh
 %{_datadir}/%{name}/setup/server-setup.xml
+%doc LICENSE
+%doc NOTICE
 
 %files client
 %defattr(0644,root,root,0775)
@@ -536,12 +551,16 @@ fi
 %dir %attr(0770,root,%{name}) %{_localstatedir}/cache/%{name}/management/temp
 %dir %attr(0770,root,%{name}) %{_localstatedir}/log/%{name}/management
 %dir %attr(0770,root,%{name}) %{_localstatedir}/log/%{name}/agent
+%doc LICENSE
+%doc NOTICE
 
 %files agent-libs
 %defattr(0644,root,root,0755)
 %{_javadir}/%{name}-agent.jar
 %{_javadir}/%{name}-plugin-hypervisor-kvm.jar
 %{_javadir}/libvirt-0.4.9.jar
+%doc LICENSE
+%doc NOTICE
 
 %files agent
 %defattr(0644,root,root,0755)
@@ -552,6 +571,8 @@ fi
 %attr(0755,root,root) %{_initrddir}/%{name}-agent
 %attr(0755,root,root) %{_bindir}/%{name}-setup-agent
 %dir %attr(0770,root,root) %{_localstatedir}/log/%{name}/agent
+%doc LICENSE
+%doc NOTICE
 
 %files cli
 %{_bindir}/%{name}-tool
@@ -561,9 +582,13 @@ fi
 %dir %{_prefix}/lib*/python*/site-packages/%{name}tool
 %{_prefix}/lib*/python*/site-packages/%{name}tool/*
 %{_prefix}/lib*/python*/site-packages/%{name}apis.py
+%doc LICENSE
+%doc NOTICE
 
 %files baremetal-agent
 %attr(0755,root,root) %{_bindir}/cloud-setup-baremetal
+%doc LICENSE
+%doc NOTICE
 
 %files usage
 %defattr(0644,root,root,0775)
@@ -573,6 +598,8 @@ fi
 %config(noreplace) %{_sysconfdir}/%{name}/usage/usage-components.xml
 %config(noreplace) %{_sysconfdir}/%{name}/usage/log4j-%{name}_usage.xml
 %config(noreplace) %attr(0640,root,%{name}) %{_sysconfdir}/%{name}/usage/db.properties
+%doc LICENSE
+%doc NOTICE
 
 %files aws-api
 %defattr(0644,cloud,cloud,0755)
@@ -581,6 +608,8 @@ fi
 %attr(0644,root,root) %{_datadir}/cloud/setup/bridge/db/*
 %attr(0755,root,root) %{_bindir}/cloudstack-aws-api-register
 %attr(0755,root,root) %{_bindir}/cloud-setup-bridge
+%doc LICENSE
+%doc NOTICE
 
 %changelog
 * Fri Sep 14 2012 Marcus Sorensen <shadowsor@gmail.com> 4.0.1


Mime
View raw message