Skip to content

Commit

Permalink
Initial import of spec file
Browse files Browse the repository at this point in the history
Package review:
https://bugzilla.redhat.com/show_bug.cgi?id=1866083

Change-Id: I33be7bc5594336ae474e2d739a32132a7396ce7e
  • Loading branch information
sshnaidm committed Aug 11, 2020
1 parent 1fdee43 commit ff1debf
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions ansible-collections-openstack.spec
@@ -0,0 +1,39 @@
%{!?upstream_version: %global upstream_version %{version}%{?milestone}}

Name: ansible-collections-openstack
Version: XXX
Release: XXX
Summary: Openstack Ansible collections
License: GPLv3+
URL: https://opendev.org/openstack/ansible-collections-openstack
Source0: https://galaxy.ansible.com/download/openstack-cloud-%{version}.tar.gz
BuildArch: noarch

BuildRequires: git
BuildRequires: python3-pbr

Requires: ansible >= 2.8.0
Requires: python3-openstacksdk >= 0.12.0

%description
Openstack Ansible collections

%prep
%autosetup -n ansible-collections-openstack.cloud-%{upstream_version}

%build
%py3_build

%install
export PBR_VERSION=%{version}
export SKIP_PIP_INSTALL=1
%py3_install

%files

%doc README.md
%license COPYING
%{python3_sitelib}/ansible_collections_openstack.cloud-*.egg-info
%{_datadir}/ansible/collections/ansible_collections/openstack/cloud/

%changelog

0 comments on commit ff1debf

Please sign in to comment.