Compare commits

...

5 Commits

Author SHA1 Message Date
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 37 additions and 2 deletions
+2
View File
@@ -12,3 +12,5 @@
/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
+1 -1
View File
@@ -1 +1 @@
SHA512 (testcloud-0.2.1.tar.gz) = bbb64ac346ae2dd8d50404896b0365e131b4e3f8a354ca7fbc3e9e8f2abc65405f9f9101a25b41f75f8e3ef2a1defd5a5630196a472c6d47be222aa07bf25f0f
SHA512 (testcloud-0.3.0.tar.gz) = edb67953b3bf86c9c1a5aec2bdea7c34ce03947e0bea83d60b822a3c0f700168a7f7c32f5b3cced140edcb403ceffd97b7782d55415c781da9fda55ba2310074
+34 -1
View File
@@ -7,7 +7,7 @@
Name: testcloud
# Update also version in testcloud/__init__.py when changing this!
Version: 0.2.1
Version: 0.3.0
Release: 1%{?dist}
Summary: Tool for running cloud images locally
@@ -25,6 +25,8 @@ Requires: polkit
Requires: libguestfs
Requires: libguestfs-tools
Recommends: edk2-ovmf
Requires: python3-%{name} = %{version}-%{release}
# Install python2 interface on stable Fedora Releases
@@ -38,6 +40,7 @@ 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.
%if 0%{?fedora} <= 29
%package -n python2-%{name}
Summary: Python 2 interface to testcloud
BuildRequires: python2-libvirt
@@ -54,9 +57,15 @@ Requires: python2-jinja2
%description -n python2-%{name}
Python 2 interface to testcloud.
%endif
%package -n python3-%{name}
Summary: Python 3 interface to testcloud
%if 0%{?fedora} >= 30
Obsoletes: python2-testcloud <= %{version}-%{release}
%endif
BuildRequires: python3-libvirt
BuildRequires: python3-devel
BuildRequires: python3-jinja2
@@ -80,11 +89,15 @@ getent group testcloud >/dev/null || groupadd testcloud
%setup -q -n %{name}-%{version}
%build
%if 0%{?fedora} <= 29
%py2_build
%endif
%py3_build
%install
%if 0%{?fedora} <= 29
%py2_install
%endif
%py3_install
# configuration files
@@ -108,7 +121,9 @@ 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
%if 0%{?fedora} <= 29
%{__python2} setup.py test
%endif
%{__python3} setup.py test
# Remove compiled .py files from /etc after os_install_post
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
@@ -129,15 +144,33 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%config(noreplace) %{_sysconfdir}/testcloud/settings.py
%{_bindir}/testcloud
%if 0%{?fedora} <= 29
%files -n python2-%{name}
%{python2_sitelib}/testcloud
%{python2_sitelib}/*.egg-info
%endif
%files -n python3-%{name}
%{python3_sitelib}/testcloud
%{python3_sitelib}/*.egg-info
%changelog
* 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