Fixing "sshd role README.md examples use incorrect role name"

This pr fixes 2 issues.
1) Replacing
    - role: willshersystems.sshd
   with
    - role: fedora.linux_system_roles.sshd
2) Avoiding unnecessary conversion. E.g.,
     https://travis-ci.org/willshersystems/ansible-sshd.svg
   was accidentally converted to:
     https://travis-ci.org/willshersystems/fedora.linux_system_roles.sshd.svg

Related: rhbz#1961404
This commit is contained in:
Noriko Hosoi 2021-04-21 11:36:28 -07:00
parent 9824c8fe8a
commit 3b57e8cbea

View File

@ -309,7 +309,8 @@ cd ..
cd %{rolename15} cd %{rolename15}
%patch151 -p1 %patch151 -p1
%patch152 -p1 %patch152 -p1
sed -r -i -e "s/ansible-sshd/linux-system-roles.sshd/" tests/*.yml examples/*.yml README.md sed -r -i -e "s/ansible-sshd/linux-system-roles.sshd/" tests/*.yml examples/*.yml
sed -r -i -e "s/ willshersystems.sshd/ linux-system-roles.sshd/" tests/*.yml examples/*.yml README.md
cd .. cd ..
# Replacing "linux-system-roles.rolename" with "rhel-system-roles.rolename" in each role # Replacing "linux-system-roles.rolename" with "rhel-system-roles.rolename" in each role
@ -801,6 +802,7 @@ popd
for each role) are not located in /usr/share/ansible/collections, for each role) are not located in /usr/share/ansible/collections,
but just put in /usr/share/doc/linux-system-roles/collection in rpm. but just put in /usr/share/doc/linux-system-roles/collection in rpm.
- The README.html files are not included in the collection artifact. - The README.html files are not included in the collection artifact.
- Fixing "sshd role README.md examples use incorrect role name".
* Tue Apr 6 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.1-1 * Tue Apr 6 2021 Pavel Cahyna <pcahyna@redhat.com> - 1.0.1-1
- Sync with RHEL version 1.0.1-1.el8 - Sync with RHEL version 1.0.1-1.el8