forked from gluster/gluster-ansible-maintenance
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgluster-ansible-maintenance.spec
46 lines (33 loc) · 1.06 KB
/
gluster-ansible-maintenance.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
%global rolesdir %{_sysconfdir}/ansible/roles/gluster.maintenance
%global docdir %{_datadir}/doc/gluster.maintenance
%global buildnum 1
Name: gluster-ansible-maintenance
Version: 1.0.0
Release: 1%{?dist}
Summary: Ansible roles for GlusterFS infrastructure management
URL: https://github.com/gluster/gluster-ansible-maintenance
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}-%{buildnum}.tar.gz
License: GPLv3
BuildArch: noarch
Requires: ansible >= 2.6
%description
Collection of Ansible roles for facilitating the day three operations like
replace-node, replace-brick ...
%prep
%autosetup -p1
%build
%install
mkdir -p %{buildroot}/%{rolesdir}
cp -dpr defaults handlers roles vars tasks LICENSE \
%{buildroot}/%{rolesdir}
mkdir -p %{buildroot}/%{docdir}
cp -dpr README.md examples %{buildroot}/%{docdir}
%files
%{rolesdir}
%doc %{docdir}
%license LICENSE
%changelog
* Thu Feb 21 2019 Sachidananda Urs <[email protected]> 1.0.0-1
- Bump the version number to 1
* Fri Aug 31 2018 Sachidananda Urs <[email protected]> 0.1
- Initial release