From: Ken Dreyer Date: Wed, 6 Sep 2017 17:12:54 +0000 (-0600) Subject: rpm: better comments for file removals X-Git-Tag: v3.0.0rc8~11^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=38d75d8af39e5dba8ab845902b6f54fdfe859c51;p=ceph-ansible.git rpm: better comments for file removals As of 54d7a81241eac26d87e2bee513df5efd8866a586, we're doing more than stripping CoreOS files in the RPM now. Move the comments around to better match the code that does what the comments describe. The purpose of this change is to make it easier to read this part of the RPM spec file. --- diff --git a/ceph-ansible.spec.in b/ceph-ansible.spec.in index 53c694012..ea10d1d43 100644 --- a/ceph-ansible.spec.in +++ b/ceph-ansible.spec.in @@ -36,12 +36,13 @@ for f in ansible.cfg *.yml *.sample group_vars roles library plugins infrastruct cp -a $f %{buildroot}%{_datarootdir}/ceph-ansible done -# Strip coreos files. -# These are unneeded on RPM-based distros, and the playbooks download random -# things from around the internet. pushd %{buildroot}%{_datarootdir}/ceph-ansible + # Strip coreos files. + # These are unneeded on RPM-based distros, and the playbooks download random + # things from around the internet. rm -r roles/ceph-common-coreos rm group_vars/common-coreoss.yml.sample + # These untested playbooks are too unstable for users. rm -r infrastructure-playbooks/untested-by-ci popd