#8 Properly own paths in /usr/share/ansible
Merged 5 years ago by kevin. Opened 5 years ago by till.
rpms/ till/ansible datadirs  into  master

file modified
+3
@@ -327,6 +327,8 @@ 

  

  mkdir -p $RPM_BUILD_ROOT/etc/ansible/

  mkdir -p $RPM_BUILD_ROOT/etc/ansible/roles/

+ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ansible/roles/

+ mkdir -p $RPM_BUILD_ROOT/%{_datadir}/ansible/inventory/

  cp examples/hosts $RPM_BUILD_ROOT/etc/ansible/

  cp examples/ansible.cfg $RPM_BUILD_ROOT/etc/ansible/

  mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
@@ -372,6 +374,7 @@ 

  %exclude %{_bindir}/ansible*-3*

  %endif  # python3 and 2

  %config(noreplace) %{_sysconfdir}/ansible/

+ %{_datadir}/ansible

  %doc README.rst PKG-INFO COPYING changelogs/CHANGELOG-v2.7.rst

  %doc %{_mandir}/man1/ansible*

  

Looks good to me. Did you need just rawhide for now and we can update other branches on the next release?

Or is it important to update them now?

Pull-Request has been merged by kevin

5 years ago