From 3eb2ef90035bb4c09b23c895bf1d5e345b05a0cb Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 6 Apr 2013 22:10:15 -0600 Subject: [PATCH] Don't ship tests --- cloud-init.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 - 0.7.1-4 +- Don't ship tests + * Wed Feb 13 2013 Fedora Release Engineering - 0.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild