Compare commits

...

24 Commits

Author SHA1 Message Date
František Zatloukal def5db17e5 Release 0.1.18 2018-05-02 15:20:53 +02:00
František Zatloukal d6ccb62b10 Update sources file 2018-03-06 13:26:34 +01:00
František Zatloukal 397523a4ef Upstream release 0.1.17 2018-03-06 13:24:51 +01:00
František Zatloukal 43cdfe9bdf Forgot to upload new sources 2018-02-20 10:58:34 +01:00
František Zatloukal a330375aa9 Upstream release 0.1.16 2018-02-20 10:50:50 +01:00
Fedora Release Engineering c837a3ba36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 18:46:13 +00:00
František Zatloukal 0b4279fb33 Update Python 2 dependency declarations to new packaging standards 2018-02-02 15:25:28 +01:00
Kamil Páral eba2fb202d gitignore: add *.rpm 2018-01-10 11:19:02 +01:00
Kamil Páral 3b03c69e79 upstream release 0.1.15 2017-10-26 16:34:03 +02:00
Kamil Páral e2adf67c7d don't forget to adjust sources 2017-10-26 14:43:16 +02:00
Kamil Páral 494c546c80 upstream 0.1.14 release 2017-10-26 14:38:22 +02:00
Fedora Release Engineering 44e4e83ab9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 20:09:19 +00:00
Kamil Páral e4ab9b9dd2 don't install py[co] files into /etc 2017-02-22 04:35:52 +01:00
Kamil Páral 4b5a9b217e add python-pytest-cov builddep to run test suite during building 2017-02-20 11:31:11 +01:00
Kamil Páral 1f61f9856c upstream 0.1.11 release 2017-02-20 11:06:27 +01:00
Fedora Release Engineering f43c3d1335 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 15:47:46 +00:00
Martin Krizek b7aaeb539c upstream 0.1.10 release 2016-08-17 12:43:30 +02:00
Fedora Release Engineering f201912536 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 12:50:44 +00:00
Kamil Páral 5f6d1c43af upstream 0.1.9 release 2016-07-19 14:05:33 +02:00
Martin Krizek 639ed82af3 libguestfs on arm should be fixed now, removing exclude arm 2016-07-18 12:35:22 +02:00
Martin Krizek e1bc0f86a7 Exclude arm until libguestfs dep is resolved there 2016-06-22 14:19:16 +02:00
Tim Flink 399bdc665e it's not 2015 any more 2016-02-05 05:33:41 -07:00
Tim Flink 075d8dc4f3 updating to upstream 0.1.8 2016-02-05 05:29:35 -07:00
Fedora Release Engineering 87efa39d59 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 01:28:49 +00:00
3 changed files with 103 additions and 11 deletions
+10
View File
@@ -1,2 +1,12 @@
/*.rpm
/0.1.6.tar.gz
/0.1.7.tar.gz
/0.1.8.tar.gz
/0.1.9.tar.gz
/0.1.10.tar.gz
/0.1.11.tar.gz
/testcloud-0.1.14.tar.gz
/testcloud-0.1.15.tar.gz
/testcloud-0.1.16.tar.gz
/testcloud-0.1.17.tar.gz
/testcloud-0.1.18.tar.gz
+1 -2
View File
@@ -1,2 +1 @@
094525bea8b573886354c91b8873d49d 0.1.6.tar.gz
02c2af86b8f87d679700660303e9bdac 0.1.7.tar.gz
SHA512 (testcloud-0.1.18.tar.gz) = fb346d288067e9b9ba5d4f022acbd0750d8af412178b5699d28936180a57b84ad739aed61b7699a72d86f96724ddcfce1cc4fcc6b981d2c200cd8d393dcd1d50
+92 -9
View File
@@ -2,13 +2,14 @@
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: testcloud
Version: 0.1.7
# Update also version in testcloud/__init__.py when changing this!
Version: 0.1.18
Release: 1%{?dist}
Summary: Tool for running cloud images locally
License: GPLv2+
URL: https://github.com/Rorosha/testCloud
Source0: https://github.com/Rorosha/%{name}/archive/%{version}.tar.gz
URL: https://pagure.io/testcloud
Source0: https://releases.pagure.org/testcloud/%{name}-%{version}.tar.gz
BuildArch: noarch
@@ -17,22 +18,34 @@ 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: python-requests
Requires: python2-requests
Requires: polkit
Requires: python-jinja2
Requires: net-tools
Requires: python2-jinja2
%if 0%{?fedora} <= 26
BuildRequires: libvirt-python
%else
BuildRequires: python2-libvirt
%endif
BuildRequires: python2-devel
BuildRequires: pytest
BuildRequires: python-setuptools
BuildRequires: python2-jinja2
BuildRequires: python2-mock
BuildRequires: python2-pytest
BuildRequires: python2-pytest-cov
BuildRequires: python2-requests
BuildRequires: python2-setuptools
# Provides: python2-testcloud
@@ -51,6 +64,8 @@ getent group testcloud >/dev/null || groupadd testcloud
%check
%{__python2} setup.py test
# Remove compiled .py files from /etc after running unittests
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
%build
%{__python2} setup.py build
@@ -92,10 +107,78 @@ install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir
%attr(0644, root, root) %{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules
%config(noreplace) %{_sysconfdir}/testcloud/settings.p*
%config(noreplace) %{_sysconfdir}/testcloud/settings.py
%{_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
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-2
- add python-pytest-cov builddep to run test suite during building
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-1
- make libvirt url configurable
- avoid race condition during listing domains
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Aug 17 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.10-1
- use symlinks for file:// urls
- look for the jinja template in the conf/ dir first
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Tue Jul 19 2016 Kamil Páral <kparal@redhat.com> - 0.1.9-1
- upstream 0.1.9 release
- "destroy" commands renamed to "remove"
- "instance remove" now supports "--force"
- new "instance reboot" command
- no more crashes when stopping an already stopped instance
- option to automatically stop an instance during remove (API)
* Mon Jul 18 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-3
- libguestfs on arm should be fixed now, removing exclude arm
* Wed Jun 22 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-2
- exclude arm until libguestfs dep is resolved there
* Fri Feb 05 2016 Tim Flink <tflink@fedoraproject.org> - 0.1.8-1
- Explicitly fail when IP address is not found
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Dec 8 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.7-1
- Enabling configurable instance memory and disk size (T420, T659)
- Improved handling of images with larger disks (T657)