From 8f201423b2378657555de67cdc27c15eb1d58821 Mon Sep 17 00:00:00 2001 From: Chris Alfonso Date: Sat, 14 Apr 2012 07:58:27 -0400 Subject: [PATCH] Removing the PKG-INFO and vcsversion.py from the rpm --- heat.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heat.spec b/heat.spec index 5f9b8660..c648c56b 100644 --- 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 -- 2.45.2