Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Commit

Permalink
Ready to build RPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Korbel committed Jan 23, 2018
1 parent 193f4aa commit ac994b7
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
45 changes: 45 additions & 0 deletions 5minute.spec
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion vminute/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from .vminute import main
import sys
__version__ = "0.2.23"
__version__ = "0.2.25"


def main_main():
Expand Down

0 comments on commit ac994b7

Please sign in to comment.