]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Removing the PKG-INFO and vcsversion.py from the rpm
authorChris Alfonso <calfonso@redhat.com>
Sat, 14 Apr 2012 11:58:27 +0000 (07:58 -0400)
committerChris Alfonso <calfonso@redhat.com>
Sat, 14 Apr 2012 12:00:43 +0000 (08:00 -0400)
heat.spec

index 5f9b8660cf7aff92284769bc03b1ef99d7d6525c..c648c56b651c9dfb54d6e6ee5facbaf379ccb8d1 100644 (file)
--- a/heat.spec
+++ b/heat.spec
@@ -32,6 +32,7 @@ cp etc/* $RPM_BUILD_ROOT/etc/heat/
 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/ 
 cp -v docs/man/man1/heat.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
 rm -rf $RPM_BUILD_ROOT/var/lib/heat/.dummy
+rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/heat/vcsversion.*
 rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/heat/tests
 rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/heat-0.0.1-py2.7.egg-info
 
@@ -88,7 +89,7 @@ This package contains the OpenStack integration for the Heat project
 
 
 %files
-%doc README.rst PKG-INFO
+%doc README.rst
 %defattr(-,root,root,-)
 %{_mandir}/man1/*.gz
 %{_bindir}/heat
@@ -97,7 +98,6 @@ This package contains the OpenStack integration for the Heat project
 %{python_sitelib}/heat/__init__.*
 %{python_sitelib}/heat/client.*
 %{python_sitelib}/heat/cloudformations.*
-%{python_sitelib}/heat/vcsversion.*
 %{python_sitelib}/heat/version.*
 %config(noreplace) /etc/heat