Don't ship tests

This commit is contained in:
Orion Poplawski 2013-04-06 22:10:15 -06:00
parent d726a2a093
commit 3eb2ef9003

View File

@ -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@cora.nwra.com> - 0.7.1-4
- Don't ship tests
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild