Compare commits

..

18 Commits

Author SHA1 Message Date
František Zatloukal 68de54581d Release 0.3.6 2020-10-09 23:33:04 +02:00
František Zatloukal f894bd2eee ExclusiveArch to prevent koji from trying to build this on i686 2020-08-27 16:40:33 +02:00
Fedora Release Engineering 37d90ad30b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 12:19:13 +00:00
Miro Hrončok 9523991945 Rebuilt for Python 3.9 2020-05-26 03:51:46 +02:00
František Zatloukal e7fc5c848c Release 0.3.5 2020-05-22 00:04:25 +02:00
František Zatloukal ebcc1d42a0 Release 0.3.4 2020-05-21 18:13:24 +02:00
František Zatloukal 5952696d3f Release 0.3.3 2020-05-20 14:33:13 +02:00
František Zatloukal 1441beade5 Release 0.3.2 2020-04-19 18:06:49 +02:00
František Zatloukal e3f4c8ae6d Release 0.3.1 2020-03-02 17:22:01 +01:00
Fedora Release Engineering e45d7f26fa - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 01:21:59 +00:00
Miro Hrončok ca1a08b0f9 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:39:23 +02:00
Miro Hrončok 2156d20941 Rebuilt for Python 3.8 2019-08-19 11:06:53 +02:00
Fedora Release Engineering 0fe3e625f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 01:16:02 +00:00
František Zatloukal 19e102b220 Release 0.3.0 2019-05-22 16:16:57 +02:00
Fedora Release Engineering 43cbe98c95 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 09:40:20 +00:00
František Zatloukal 6c14d400c9 Release 0.2.2 2018-11-20 16:11:05 +01:00
Fedora Release Engineering 9683a72654 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 07:27:20 +00:00
Miro Hrončok 4911f66ffa Rebuilt for Python 3.7 2018-07-02 18:24:15 +02:00
3 changed files with 80 additions and 35 deletions
+8
View File
@@ -12,3 +12,11 @@
/testcloud-0.1.18.tar.gz
/testcloud-0.2.0.tar.gz
/testcloud-0.2.1.tar.gz
/testcloud-0.2.2.tar.gz
/testcloud-0.3.0.tar.gz
/testcloud-0.3.1.tar.gz
/testcloud-0.3.2.tar.gz
/testcloud-0.3.3.tar.gz
/testcloud-0.3.4.tar.gz
/testcloud-0.3.5.tar.gz
/testcloud-0.3.6.tar.gz
+1 -1
View File
@@ -1 +1 @@
SHA512 (testcloud-0.2.1.tar.gz) = bbb64ac346ae2dd8d50404896b0365e131b4e3f8a354ca7fbc3e9e8f2abc65405f9f9101a25b41f75f8e3ef2a1defd5a5630196a472c6d47be222aa07bf25f0f
SHA512 (testcloud-0.3.6.tar.gz) = fd690dcce6184b6b6a1e488d9dce639b2b094e953cb52f66c13371faee0c46d967b924c63608492063872ebc02c8d49c43d12b870778025487a580cd68dee9fe
+71 -34
View File
@@ -6,8 +6,8 @@
Name: testcloud
# Update also version in testcloud/__init__.py when changing this!
Version: 0.2.1
# Update also version in testcloud/__init__.py and docs/source/conf.py when changing this!
Version: 0.3.6
Release: 1%{?dist}
Summary: Tool for running cloud images locally
@@ -20,43 +20,23 @@ BuildArch: noarch
# Ensure we can create the testcloud group
Requires(pre): shadow-utils
Requires: libvirt
Requires: polkit
Requires: libguestfs
Requires: libguestfs-tools
Recommends: edk2-ovmf
Requires: python3-%{name} = %{version}-%{release}
# Install python2 interface on stable Fedora Releases
%if 0%{?fedora} <= 28
Requires: python2-%{name} = %{version}-%{release}
%endif
%description
testcloud is a relatively simple system which is capable of booting images
designed for cloud systems on a local system with minimal configuration.
testcloud is designed to be (and remain) somewhat simple, trading fancy cloud
system features for ease of use and sanity in development.
%package -n python2-%{name}
Summary: Python 2 interface to testcloud
BuildRequires: python2-libvirt
BuildRequires: python2-devel
BuildRequires: python2-jinja2
BuildRequires: python2-mock
BuildRequires: python2-pytest
BuildRequires: python2-pytest-cov
BuildRequires: python2-requests
BuildRequires: python2-setuptools
Requires: python2-requests
Requires: python2-libvirt
Requires: python2-jinja2
%description -n python2-%{name}
Python 2 interface to testcloud.
%package -n python3-%{name}
Summary: Python 3 interface to testcloud
Obsoletes: python2-testcloud <= %{version}-%{release}
BuildRequires: python3-libvirt
BuildRequires: python3-devel
BuildRequires: python3-jinja2
@@ -65,6 +45,9 @@ BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
BuildRequires: python3-requests
BuildRequires: python3-setuptools
Requires: libvirt
Requires: libguestfs-tools-c
Requires: python3-requests
Requires: python3-libvirt
Requires: python3-jinja2
@@ -80,11 +63,9 @@ getent group testcloud >/dev/null || groupadd testcloud
%setup -q -n %{name}-%{version}
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
# configuration files
@@ -108,7 +89,6 @@ mkdir -p %{buildroot}%{_sysconfdir}/polkit-1/rules.d
install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules
%check
%{__python2} setup.py test
%{__python3} setup.py test
# Remove compiled .py files from /etc after os_install_post
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
@@ -129,15 +109,72 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%config(noreplace) %{_sysconfdir}/testcloud/settings.py
%{_bindir}/testcloud
%files -n python2-%{name}
%{python2_sitelib}/testcloud
%{python2_sitelib}/*.egg-info
%files -n python3-%{name}
%{python3_sitelib}/testcloud
%{python3_sitelib}/*.egg-info
%changelog
* Fri Oct 09 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.6-1
- Improve user experience when testcloud fails because of missing group
* Thu Aug 27 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.5-4
- ExclusiveArch to prevent koji from trying to build this on i686
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.5-2
- Rebuilt for Python 3.9
* Fri May 22 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.5-1
- Typo fix in RHEL 8 qemu-kvm naming workaround
* Thu May 21 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.4-1
- Ugly hotfix for tmt
* Wed May 20 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.3-1
- Support RHEL 8 hosts (different qemu-kvm path)
- Move most of the deps into python3-testcloud
* Sun Apr 19 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.2-1
- Require only libguestfs-tools-c from libguestfs
- Bump default RAM size to 768 MB
- Fix for libvirt >= 6.0
- Fix DeprecationWarning: invalid escape sequence \w
* Mon Mar 02 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.1-1
- Remove Python 2 support
- Raise TestcloudImageError if failed to open file
- instance: call qemu-img in quiet mode
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-3
- Rebuilt for Python 3.8
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 22 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.0-1
- Support creating UEFI VMs
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 20 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.2-1
- drop and obsolete python2-testcloud on Fedora >= 30
- Fix setup.py test to also work with Python 3 (pytest-3)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
- Rebuilt for Python 3.7
* Fri Jun 29 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.1-1
- domain-template: use cpu host-passthrough
- domain-template: use urandom for RNG