Added spec file for rpm build

Change-Id: I9e6b20430503b1b988bb6eb95968a8bbff01fc0b
This commit is contained in:
Dmitry Ukov 2016-11-24 16:14:21 +03:00
parent b68ed1576f
commit 7c83e52cf8
2 changed files with 45 additions and 1 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -0,0 +1,45 @@
Name: fuel-nailgun-extension-iac
Version: 9.0.0
Release: 2%{?dist}~mos0
Summary: Infrastructure as Code extension for Fuel
License: Apache-2.0
Url: https://git.openstack.org/cgit/openstack/fuel-nailgun-extension-iac/
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-pbr
BuildRequires: python-setuptools
Requires: python-pbr
Requires: GitPython
Requires: git
%description
Nailgun extension that generates deployment data based on configuration files
published in external git repository
%prep
%setup -q -n %{name}-%{version}
%build
%py2_build
%install
%py2_install
%files
%license LICENSE
%{python2_sitelib}/fuel_external_git
%{python2_sitelib}/*.egg-info
%changelog
* Fri Nov 18 2016 Dmitrii Nikishov <dnikishov@mirantis.com> - 9.0.0-2.el7~mos0
- Added git to dependencies
* Wed Nov 09 2016 Ivan Udovichenko <iudovichenko@mirantis.com> - 9.0.0-1.el7~mos0
- Rebuild for MOS 9.2
- LP#1640433
* Fri Sep 23 2016 Vladimir Maliaev <vmaliaev@mirantis.com> - 9.0.0
- Initial package.