Blob Blame History Raw
# Created by pyp2rpm-3.3.6
%global pypi_name virt-lightning

Name:           %{pypi_name}
Version:        2.1.0
Release:        2%{?dist}
Summary:        Deploy your testing VM in a couple of seconds

License:        ASL 2.0
Source0:        %{pypi_source}
BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  python3dist(libvirt-python)
BuildRequires:  python3dist(pyyaml)
BuildRequires:  python3dist(pytest)
BuildRequires:  python3dist(setuptools)
BuildRequires:  python3dist(setuptools-scm)
BuildRequires:  python3dist(urwid)
Requires:       libvirt-daemon

A CLI to start local Cloud image on libvirt!

Virt-Lightning can quickly deploy a bunch of new VM. It also prepares the
Ansible inventory file!

This is handy to quickly validate a new Ansible playbook, or a role on a large
number of environments.

%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info

# Remove shebang from Python libraries
for lib in virt_lightning/*.py; do
 sed '1{\@^#!/usr/bin/env python@d}' $lib > $ &&
 touch -r $lib $ &&
 mv $ $lib




%license LICENSE-2.0.txt
%doc conf/example.ini

* Fri Jul 23 2021 Fedora Release Engineering <> - 2.1.0-2
- Rebuilt for

* Fri Jun 11 19:46:23 CEST 2021 Robert-André Mauchin <> - 2.1.0-1
- Initial package.
- Close: rhbz#1965791