From ac994b7cb13fbc611f956baf20b7fd4ebe2a1323 Mon Sep 17 00:00:00 2001 From: Martin Korbel Date: Tue, 23 Jan 2018 15:17:16 +0100 Subject: [PATCH] Ready to build RPM --- .gitignore | 1 - 5minute.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ vminute/__init__.py | 2 +- 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 5minute.spec diff --git a/.gitignore b/.gitignore index 1dbc687..f1970ec 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,6 @@ var/ # Usually these files are written by a python script from a template # before PyInstaller builds the exe, so as to inject date/other infos into it. *.manifest -*.spec # Installer logs pip-log.txt diff --git a/5minute.spec b/5minute.spec new file mode 100644 index 0000000..a21c5c8 --- /dev/null +++ b/5minute.spec @@ -0,0 +1,45 @@ +Name: 5minute +Version: 0.2.22 +Release: 3%{?dist} +Summary: Command line tool for getting instance from OpenStack + +License: GPLv2 +URL: https://github.com/SatelliteQE/5minute +Source0: https://github.com/BlackSmith/%{name}/archive/%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +Requires: python3 +Requires: python3-cinderclient +Requires: python3-heatclient +Requires: python3-neutronclient +Requires: python3-xmltodict +Requires: python3-prettytable +Requires: python3-novaclient +Requires: python3-keystoneclient +Requires: python3-glanceclient + +%description +Give me an instance of mine image on OpenStack. Hurry! + +%prep +%autosetup -n %{name}-%{version} + + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{python3_sitelib}/* + +%changelog + diff --git a/vminute/__init__.py b/vminute/__init__.py index 92c4d7d..f03d43e 100644 --- a/vminute/__init__.py +++ b/vminute/__init__.py @@ -2,7 +2,7 @@ from .vminute import main import sys -__version__ = "0.2.23" +__version__ = "0.2.25" def main_main():