[cloud-init] Don't ship tests

Orion Poplawski orion at fedoraproject.org
Sun Apr 7 04:10:27 UTC 2013


commit 3eb2ef90035bb4c09b23c895bf1d5e345b05a0cb
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Sat Apr 6 22:10:15 2013 -0600

    Don't ship tests

 cloud-init.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/cloud-init.spec b/cloud-init.spec
index 0d0cf70..fbdf299 100644
--- a/cloud-init.spec
+++ b/cloud-init.spec
@@ -2,7 +2,7 @@
 
 Name:           cloud-init
 Version:        0.7.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Cloud instance init scripts
 
 Group:          System Environment/Base
@@ -68,6 +68,9 @@ cp -p %{SOURCE2} README.fedora
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
 
+# Don't ship the tests
+rm -r $RPM_BUILD_ROOT%{python_sitelib}/tests
+
 mkdir -p $RPM_BUILD_ROOT/%{_sharedstatedir}/cloud
 
 # We supply our own config file since our software differs from Ubuntu's.
@@ -133,6 +136,9 @@ fi
 
 
 %changelog
+* Sat Apr  6 2013 Orion Poplawski <orion at cora.nwra.com> - 0.7.1-4
+- Don't ship tests
+
 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list