|
|
|
@@ -2,14 +2,13 @@
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
|
|
|
|
|
|
|
Name: testcloud
|
|
|
|
|
# Update also version in testcloud/__init__.py when changing this!
|
|
|
|
|
Version: 0.1.18
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 0.1.11
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Tool for running cloud images locally
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://pagure.io/testcloud
|
|
|
|
|
Source0: https://releases.pagure.org/testcloud/%{name}-%{version}.tar.gz
|
|
|
|
|
URL: https://github.com/Rorosha/testCloud
|
|
|
|
|
Source0: https://github.com/Rorosha/%{name}/archive/%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@@ -18,34 +17,23 @@ Requires(pre): shadow-utils
|
|
|
|
|
|
|
|
|
|
# testcloud integrates with libvirt
|
|
|
|
|
Requires: libvirt
|
|
|
|
|
%if 0%{?fedora} <= 26
|
|
|
|
|
Requires: libvirt-python
|
|
|
|
|
%else
|
|
|
|
|
Requires: python2-libvirt
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# This is used to manipulate images on disk
|
|
|
|
|
Requires: libguestfs
|
|
|
|
|
Requires: libguestfs-tools
|
|
|
|
|
|
|
|
|
|
# Used to download images from valid URLs
|
|
|
|
|
Requires: python2-requests
|
|
|
|
|
Requires: python-requests
|
|
|
|
|
|
|
|
|
|
Requires: polkit
|
|
|
|
|
Requires: python2-jinja2
|
|
|
|
|
Requires: python-jinja2
|
|
|
|
|
Requires: net-tools
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} <= 26
|
|
|
|
|
BuildRequires: libvirt-python
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: python2-libvirt
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-jinja2
|
|
|
|
|
BuildRequires: python2-mock
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
BuildRequires: python2-pytest-cov
|
|
|
|
|
BuildRequires: python2-requests
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
|
BuildRequires: python-pytest-cov
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
|
|
|
|
|
# Provides: python2-testcloud
|
|
|
|
|
|
|
|
|
@@ -111,34 +99,6 @@ install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir
|
|
|
|
|
%{_bindir}/testcloud
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 02 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.18-1
|
|
|
|
|
- Host /dev/random passthrough
|
|
|
|
|
|
|
|
|
|
* Tue Mar 06 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.17-1
|
|
|
|
|
- Add instance clean command
|
|
|
|
|
- Ignore error when domain stopped between stop attempts
|
|
|
|
|
- Add Makefile
|
|
|
|
|
|
|
|
|
|
* Tue Feb 20 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.16-1
|
|
|
|
|
- Retry to stop instance when host is busy
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.15-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 02 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.15-2
|
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
|
|
* Thu Oct 26 2017 Kamil Páral <kparal@redhat.com> - 0.1.15-1
|
|
|
|
|
- keep backwards compatible API
|
|
|
|
|
|
|
|
|
|
* Thu Oct 26 2017 Kamil Páral <kparal@redhat.com> - 0.1.14-1
|
|
|
|
|
- replace arp with libvirt method (lose dep on net-tools)
|
|
|
|
|
- fix test suite in spec file
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 22 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-3
|
|
|
|
|
- don't install py[co] files into /etc
|
|
|
|
|
|
|
|
|
|