-
Notifications
You must be signed in to change notification settings - Fork 0
/
ansible-role-dci-rhel-ubi.spec
44 lines (33 loc) · 1.16 KB
/
ansible-role-dci-rhel-ubi.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
%define _source_payload w0.gzdio
%define _binary_payload w0.gzdio
Name: ansible-role-dci-rhel-ubi
Version: 0.1.0
Release: 1.VERS%{?dist}
Summary: ansible-role-dci-rhel-ubi
License: ASL 2.0
URL: https://github.com/redhat-cip/ansible-role-dci-rhel-ubi
Source0: ansible-role-dci-rhel-ubi-%{version}.tar.gz
BuildArch: noarch
%description
An Ansible role that is used to automate ubi mirroring
%prep
%setup -qc
%build
%install
mkdir -p %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
chmod 755 %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
cp -r library %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
cp -r tasks %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
cp -r defaults %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
cp -r vars %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
cp -r templates %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
cp -r filter_plugins %{buildroot}%{_datadir}/dci/roles/dci-rhel-ubi
%files
%doc README.md
%license LICENSE
%{_datadir}/dci/roles/dci-rhel-ubi
%changelog
* Mon Oct 30 2023 Guillaume Vincent <[email protected]> - 0.1.0-1
- Fix rpm name
* Wed Jul 29 2020 Bill Peck <[email protected]> - 0.0.1-1
- Initial release