From 7c83e52cf88aa61e03ad84b159f03c2d1f5ce480 Mon Sep 17 00:00:00 2001 From: Dmitry Ukov Date: Thu, 24 Nov 2016 16:14:21 +0300 Subject: [PATCH] Added spec file for rpm build Change-Id: I9e6b20430503b1b988bb6eb95968a8bbff01fc0b --- .gitignore | 1 - specs/fuel-nailgun-extension-iac.spec | 45 +++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 specs/fuel-nailgun-extension-iac.spec diff --git a/.gitignore b/.gitignore index 2008316..15725ae 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/specs/fuel-nailgun-extension-iac.spec b/specs/fuel-nailgun-extension-iac.spec new file mode 100644 index 0000000..46bce03 --- /dev/null +++ b/specs/fuel-nailgun-extension-iac.spec @@ -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 - 9.0.0-2.el7~mos0 +- Added git to dependencies + +* Wed Nov 09 2016 Ivan Udovichenko - 9.0.0-1.el7~mos0 +- Rebuild for MOS 9.2 +- LP#1640433 + +* Fri Sep 23 2016 Vladimir Maliaev - 9.0.0 +- Initial package.