Skip to content

Instantly share code, notes, and snippets.

@cfchase
Created July 26, 2017 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfchase/81197a63f2c52cfc884e25873da04e17 to your computer and use it in GitHub Desktop.
Save cfchase/81197a63f2c52cfc884e25873da04e17 to your computer and use it in GitHub Desktop.
ansible-asb-modules rpm spec
Name: ansible-asb-modules
Version: 0.0.1
Release: 1%{?dist}
Summary: Ansible role containing Ansible Service Broker modules
License: ASL 2.0
URL: https://github.com/cfchase/%{name}
Source0: https://github.com/cfchase/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: ansible >= 2.3.0.0
%description
%{summary}
%prep
%autosetup -p1
%build
%install
mkdir -p %{buildroot}%{_sysconfdir}/ansible/roles/ansibleplaybookbundle.asb-modules
mv * %{buildroot}%{_sysconfdir}/ansible/roles/ansibleplaybookbundle.asb-modules
%check
%files
%{_sysconfdir}/ansible/roles/ansibleplaybookbundle.asb-modules
%changelog
* Fri May 12 2017 Chris Chase <cchase@redhat.com> - 0.0.1-1
- initial package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment