Blame SPECS/ansible-collection-microsoft-sql.spec

24e3c4
%if 0%{?rhel} && ! 0%{?epel}
24e3c4
%bcond_with ansible
24e3c4
%else
24e3c4
%bcond_without ansible
24e3c4
%endif
24e3c4
24e3c4
%bcond_with collection_artifact
24e3c4
24e3c4
# Do not convert .md to .html on RHEL 7 because tools the conversion are not available
24e3c4
%if 0%{?fedora} || 0%{?rhel} >= 8
24e3c4
%bcond_without html
24e3c4
%else
24e3c4
%bcond_with html
24e3c4
%endif
24e3c4
24e3c4
Name: ansible-collection-microsoft-sql
24e3c4
Url: https://github.com/linux-system-roles/mssql
24e3c4
Summary: The Ansible collection for Microsoft SQL Server management
24e3c4
Version: 1.1.0
24e3c4
Release: 1%{?dist}
24e3c4
24e3c4
#Group: Development/Libraries
24e3c4
License: MIT
24e3c4
%global installbase %{_datadir}/microsoft
24e3c4
%global _pkglicensedir %{_licensedir}/%{name}
24e3c4
24e3c4
%global collection_namespace microsoft
24e3c4
%global collection_name sql
24e3c4
24e3c4
%global collection_version %{version}
24e3c4
24e3c4
# Helper macros originally from macros.ansible by Igor Raits <ignatenkobrain>
24e3c4
# Not available on RHEL, so we must define those macros locally here without using ansible-galaxy
24e3c4
24e3c4
# Not used (yet). Could be made to point to AH in RHEL - but what about CentOS Stream?
24e3c4
#%%{!?ansible_collection_url:%%define ansible_collection_url() https://galaxy.ansible.com/%%{collection_namespace}/%%{collection_name}}
24e3c4
24e3c4
%if 0%{?fedora} || 0%{?rhel} >= 8
24e3c4
%{!?ansible_collection_files:%define ansible_collection_files %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/}
24e3c4
%else
24e3c4
# Define undefined macro using "!?ansible_collection_files:..." does not work for rhel-7
24e3c4
%if %{?ansible_collection_files:0}%{!?ansible_collection_files:1}
24e3c4
%define ansible_collection_files %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/
24e3c4
%endif
24e3c4
%endif
24e3c4
24e3c4
%if %{with ansible}
24e3c4
BuildRequires: ansible >= 2.9.10
24e3c4
%endif
24e3c4
24e3c4
%if %{without ansible}
24e3c4
# We don't have ansible-galaxy.
24e3c4
# Simply copy everything instead of galaxy-installing the built artifact.
24e3c4
%define ansible_collection_build_install() tar -cf %{_tmppath}/%{collection_namespace}-%{collection_name}-%{version}.tar.gz .; mkdir -p %{buildroot}%{ansible_collection_files}%{collection_name}; (cd %{buildroot}%{ansible_collection_files}%{collection_name}; tar -xf %{_tmppath}/%{collection_namespace}-%{collection_name}-%{version}.tar.gz)
24e3c4
%else
24e3c4
%define ansible_collection_build_install() ansible-galaxy collection build; ansible-galaxy collection install -n -p %{buildroot}%{_datadir}/ansible/collections %{collection_namespace}-%{collection_name}-%{version}.tar.gz
24e3c4
%endif
24e3c4
24e3c4
# For each role, call defcommit() and the point to it with SourceN: %{archiveurlN}.
24e3c4
%global archiveext tar.gz
24e3c4
# list of source role names
24e3c4
%global rolenames %nil
24e3c4
# list of assignments that can be used to populate a bash associative array variable
24e3c4
%global rolestodir %nil
24e3c4
# list of target rolenames to copy the roles to
24e3c4
%global target_rolenames %nil
24e3c4
# list of collection rolenames to convert the roles to
24e3c4
%global collection_rolenames %nil
24e3c4
24e3c4
%define getarchivedir() %(p=%{basename:%{S:%{1}}}; echo ${p%%.%{archiveext}})
24e3c4
24e3c4
%global parenturl https://github.com/linux-system-roles
24e3c4
24e3c4
%define defcommit() %{expand:%%global ref%{1} %{2}
24e3c4
%%global shortcommit%{1} %%(c=%%{ref%{1}}; echo ${c:0:7})
24e3c4
%%global extractdir%{1} %%{expand:%%getarchivedir %{1}}
24e3c4
%%global archiveurl%{1} %%{parenturl}/%%{rolename%{1}}/archive/%%{ref%{1}}/%%{rolename%{1}}-%%{ref%{1}}.tar.gz
24e3c4
%%global rolenames %%{?rolenames} %%{rolename%{1}}
24e3c4
%%global roletodir%{1} [%{rolename%{1}}]="%{extractdir%{1}}"
24e3c4
%%global rolestodir %%{?rolestodir} %{roletodir%{1}}
24e3c4
%%{!?target_rolename%{1}:%%global target_rolename%{1} %%{rolename%{1}}}
24e3c4
%%global target_rolenames %%{?target_rolenames} [%{rolename%{1}}]="%{target_rolename%{1}}"
24e3c4
%%{!?collection_rolename%{1}:%%global collection_rolename%{1} %%{rolename%{1}}}
24e3c4
%%global collection_rolenames %%{?collection_rolenames} [%{rolename%{1}}]="%{collection_rolename%{1}}"
24e3c4
}
24e3c4
24e3c4
%defcommit 1 78ea547ef9e23e20015794a1e48c7d6d21229293
24e3c4
%global rolename1 mssql
24e3c4
%global target_rolename1 sql-server
24e3c4
%global collection_rolename1 server
24e3c4
24e3c4
%global mainid cdc706f14614ef5e80bbce8db10beb369e889df9
24e3c4
Source: %{parenturl}/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
24e3c4
Source1: %{archiveurl1}
24e3c4
24e3c4
BuildArch: noarch
24e3c4
24e3c4
%if %{with html}
24e3c4
# Requirements for md2html.sh to build the documentation
24e3c4
%if 0%{?fedora} || 0%{?rhel} >= 9
24e3c4
BuildRequires: rubygem-kramdown-parser-gfm
24e3c4
%else
24e3c4
BuildRequires: pandoc
24e3c4
BuildRequires: asciidoc
24e3c4
BuildRequires: highlight
24e3c4
%endif
24e3c4
%endif
24e3c4
24e3c4
# Requirements for galaxy_transform.py
24e3c4
BuildRequires: python3
24e3c4
%if 0%{?fedora} || 0%{?rhel} >= 8
24e3c4
BuildRequires: python3dist(ruamel.yaml)
24e3c4
%else
24e3c4
BuildRequires: python3-ruamel-yaml
24e3c4
%endif
24e3c4
24e3c4
%if %{undefined __ansible_provides}
24e3c4
Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{collection_version}
24e3c4
%endif
24e3c4
# be compatible with the usual Fedora Provides:
24e3c4
Provides: ansible-collection-%{collection_namespace}-%{collection_name} = %{version}-%{release}
24e3c4
24e3c4
%description
24e3c4
This RPM installs the Ansible collection for Microsoft SQL Server management
24e3c4
microsoft.sql. This RPM also installs the roles provided by the collection in
24e3c4
the legacy roles format for users of Ansible < 2.9.
24e3c4
24e3c4
%if %{with collection_artifact}
24e3c4
%package collection-artifact
24e3c4
Summary: Collection artifact to import to Automation Hub / Ansible Galaxy
24e3c4
24e3c4
%description collection-artifact
24e3c4
Collection artifact for %{name}. This package contains %{collection_namespace}-%{collection_name}-%{version}.tar.gz
24e3c4
%endif
24e3c4
24e3c4
%prep
24e3c4
%setup -q -a1 -n %{getarchivedir 0}
24e3c4
24e3c4
# Declare the array containing names of directories to copy roles to for prep
24e3c4
declare -A ROLESTODIR=(%{rolestodir})
24e3c4
for rolename in %{rolenames}; do
24e3c4
    mv "${ROLESTODIR[${rolename}]}" ${rolename}
24e3c4
done
24e3c4
24e3c4
# Removing symlinks in tests/roles
24e3c4
for rolename in %{rolenames}; do
24e3c4
    if [ -d ${rolename}/tests/roles ]; then
24e3c4
        find ${rolename}/tests/roles -type l -exec rm {} \;
24e3c4
        if [ -d ${rolename}/tests/roles/linux-system-roles.${rolename} ]; then
24e3c4
            rm -r ${rolename}/tests/roles/linux-system-roles.${rolename}
24e3c4
        fi
24e3c4
    fi
24e3c4
done
24e3c4
24e3c4
# transform ambiguous #!/usr/bin/env python shebangs to python3 to stop brp-mangle-shebangs complaining
24e3c4
find -type f -executable -name '*.py' -exec \
24e3c4
     sed -i -r -e '1s@^(#! */usr/bin/env python)(\s|$)@#\13\2@' '{}' +
24e3c4
24e3c4
%build
24e3c4
%if %{with html}
24e3c4
# Convert README.md to README.html in the source roles
24e3c4
readmes=""
24e3c4
for rolename in %{rolenames}; do
24e3c4
    readmes="${readmes} $rolename/README.md"
24e3c4
done
24e3c4
sh md2html.sh $readmes
24e3c4
%endif
24e3c4
24e3c4
mkdir .collections
24e3c4
# Copy README.md for the collection build
24e3c4
cp %{rolename1}/.collection/README.md lsr_role2collection/collection_readme.md
24e3c4
# Copy galaxy.yml for the collection build
24e3c4
cp %{rolename1}/.collection/galaxy.yml ./
24e3c4
# Ensure the correct entries in galaxy.yml
24e3c4
./galaxy_transform.py "%{collection_namespace}" "%{collection_name}" "%{collection_version}" "Ansible collection for Microsoft SQL Server management" > galaxy.yml.tmp
24e3c4
mv galaxy.yml.tmp galaxy.yml
24e3c4
24e3c4
# Declare the array containing collection rolenames to convert roles to
24e3c4
declare -A COLLECTION_ROLENAMES=(%{collection_rolenames})
24e3c4
24e3c4
# Convert roles to the collection format
24e3c4
for rolename in %{rolenames}; do
24e3c4
    python3 lsr_role2collection.py --role "$rolename" \
24e3c4
        --src-path "$rolename" \
24e3c4
        --src-owner linux-system-roles \
24e3c4
        --dest-path .collections \
24e3c4
        --readme lsr_role2collection/collection_readme.md \
24e3c4
        --namespace %{collection_namespace} --collection %{collection_name} \
24e3c4
        --new-role "${COLLECTION_ROLENAMES[${rolename}]}" \
24e3c4
        --meta-runtime lsr_role2collection/runtime.yml
24e3c4
done
24e3c4
24e3c4
# removing dot files/dirs
24e3c4
rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name}/.[A-Za-z]*
24e3c4
24e3c4
# Copy galaxy.yml to the collection directory
24e3c4
cp -p galaxy.yml .collections/ansible_collections/%{collection_namespace}/%{collection_name}
24e3c4
24e3c4
%install
24e3c4
mkdir -p $RPM_BUILD_ROOT%{installbase}
24e3c4
mkdir -p $RPM_BUILD_ROOT%{_datadir}/ansible/roles
24e3c4
24e3c4
# Declare the array containing target rolenames to copy roles to
24e3c4
declare -A TARGET_ROLENAMES=(%{target_rolenames})
24e3c4
24e3c4
# Copy roles to the target directory within the microsoft directory and rename
24e3c4
for rolename in %{rolenames}; do
24e3c4
    cp -pR "$rolename" "$RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}"
24e3c4
    sed -i "s/linux-system-roles\.$rolename/microsoft\.${TARGET_ROLENAMES[${rolename}]}/g" \
24e3c4
      $RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}/tests/*.yml
24e3c4
done
24e3c4
24e3c4
# Generate symlinks for roles in /usr/share/ansible/roles
24e3c4
for rolename in %{rolenames}; do
24e3c4
    ln -s "%{installbase}/${TARGET_ROLENAMES[${rolename}]}" "$RPM_BUILD_ROOT%{_datadir}/ansible/roles/microsoft.${TARGET_ROLENAMES[${rolename}]}"
24e3c4
done
24e3c4
24e3c4
# Copy README, COPYING, and LICENSE files to the corresponding directories
24e3c4
mkdir -p $RPM_BUILD_ROOT%{_pkglicensedir}
24e3c4
for rolename in %{rolenames}; do
24e3c4
    mkdir -p "$RPM_BUILD_ROOT%{_pkgdocdir}/${TARGET_ROLENAMES[${rolename}]}"
24e3c4
    cp -p "$RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}/README.md" \
24e3c4
       "$RPM_BUILD_ROOT%{_pkgdocdir}/${TARGET_ROLENAMES[${rolename}]}"
24e3c4
%if %{with html}
24e3c4
    cp -p "$RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}/README.html" \
24e3c4
       "$RPM_BUILD_ROOT%{_pkgdocdir}/${TARGET_ROLENAMES[${rolename}]}"
24e3c4
%endif
24e3c4
    if [ -f "$RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}/COPYING" ]; then
24e3c4
        cp -p "$RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}/COPYING" \
24e3c4
           "$RPM_BUILD_ROOT%{_pkglicensedir}/${TARGET_ROLENAMES[${rolename}]}.COPYING"
24e3c4
    fi
24e3c4
    if [ -f "$RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}/LICENSE" ]; then
24e3c4
        cp -p "$RPM_BUILD_ROOT%{installbase}/${TARGET_ROLENAMES[${rolename}]}/LICENSE" \
24e3c4
           "$RPM_BUILD_ROOT%{_pkglicensedir}/${TARGET_ROLENAMES[${rolename}]}.LICENSE"
24e3c4
    fi
24e3c4
done
24e3c4
24e3c4
# Remove dot files
24e3c4
rm -r $RPM_BUILD_ROOT%{installbase}/*/.[A-Za-z]*
24e3c4
24e3c4
# Remove the molecule directory
24e3c4
rm -r $RPM_BUILD_ROOT%{installbase}/*/molecule
24e3c4
24e3c4
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
24e3c4
%ansible_collection_build_install
24e3c4
popd
24e3c4
24e3c4
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection
24e3c4
mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles
24e3c4
24e3c4
# Copy the collection README files to the collection
24e3c4
cp -p %{buildroot}%{ansible_collection_files}%{collection_name}/README.md \
24e3c4
   $RPM_BUILD_ROOT%{_pkgdocdir}/collection
24e3c4
24e3c4
# Declare the array containing collection rolenames to convert roles to
24e3c4
declare -A COLLECTION_ROLENAMES=(%{collection_rolenames})
24e3c4
24e3c4
for rolename in %{rolenames}; do
24e3c4
  if [ -f "%{buildroot}%{ansible_collection_files}%{collection_name}/roles/${COLLECTION_ROLENAMES[${rolename}]}/README.md" ]; then
24e3c4
    mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${COLLECTION_ROLENAMES[${rolename}]}
24e3c4
    cp -p %{buildroot}%{ansible_collection_files}%{collection_name}/roles/${COLLECTION_ROLENAMES[${rolename}]}/README.md \
24e3c4
        $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${COLLECTION_ROLENAMES[${rolename}]}
24e3c4
  fi
24e3c4
done
24e3c4
24e3c4
%if %{with html}
24e3c4
# converting README.md to README.html for collection in $RPM_BUILD_ROOT%{_pkgdocdir}/collection
24e3c4
readmes="$RPM_BUILD_ROOT%{_pkgdocdir}/collection/README.md"
24e3c4
for rolename in %{rolenames}; do
24e3c4
    readmes="${readmes} $RPM_BUILD_ROOT%{_pkgdocdir}/collection/roles/${COLLECTION_ROLENAMES[${rolename}]}/README.md"
24e3c4
done
24e3c4
sh md2html.sh $readmes
24e3c4
%endif
24e3c4
24e3c4
%if %{with collection_artifact}
24e3c4
# Copy collection artifact to /usr/share/ansible/collections/ for collection-artifact
24e3c4
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
24e3c4
if [ -f %{collection_namespace}-%{collection_name}-%{version}.tar.gz ]; then
24e3c4
    mv %{collection_namespace}-%{collection_name}-%{version}.tar.gz \
24e3c4
       $RPM_BUILD_ROOT%{_datadir}/ansible/collections/
24e3c4
fi
24e3c4
popd
24e3c4
%endif
24e3c4
24e3c4
# generate the %files section in the file files_section.txt
24e3c4
format_item_for_files() {
24e3c4
    # $1 is directory or file name in buildroot
24e3c4
    # $2 - if true, and item is a directory, use %dir
24e3c4
    local item
24e3c4
    local files_item
24e3c4
    item="$1"
24e3c4
    files_item=${item##"%{buildroot}"}
24e3c4
    if [ -L "$item" ]; then
24e3c4
        echo "$files_item"
24e3c4
    elif [ -d "$item" ]; then
24e3c4
        if [[ "$item" == */doc* ]]; then
24e3c4
            echo "%doc $files_item"
24e3c4
        elif [ "${2:-false}" = true ]; then
24e3c4
            echo "%dir $files_item"
24e3c4
        else
24e3c4
            echo "$files_item"
24e3c4
        fi
24e3c4
    elif [[ "$item" == */README.md ]] || [[ "$item" == */README.html ]]; then
24e3c4
        if [[ "$item" == */private_* ]]; then
24e3c4
            # mark as regular file, not %doc
24e3c4
            echo "$files_item"
24e3c4
        else
24e3c4
            echo "%doc $files_item"
24e3c4
        fi
24e3c4
    elif [[ "$item" != */COPYING* ]] && [[ "$item" != */LICENSE* ]]; then
24e3c4
        # Avoid dynamically using the license macro since the license macro
24e3c4
        # is replaced with the value of License directive in the older rpmbuild.
24e3c4
        echo "$files_item"
24e3c4
    fi
24e3c4
}
24e3c4
24e3c4
files_section=files_section.txt
24e3c4
rm -f $files_section
24e3c4
touch $files_section
24e3c4
%if %{without ansible}
24e3c4
echo '%dir %{_datadir}/ansible' >> $files_section
24e3c4
echo '%dir %{_datadir}/ansible/roles' >> $files_section
24e3c4
%endif
24e3c4
%if "%{installbase}" != "%{_datadir}/ansible/roles"
24e3c4
echo '%dir %{installbase}' >> $files_section
24e3c4
%endif
24e3c4
echo '%dir %{ansible_collection_files}' >> $files_section
24e3c4
echo '%dir %{ansible_collection_files}%{collection_name}' >> $files_section
24e3c4
find %{buildroot}%{ansible_collection_files}%{collection_name} -mindepth 1 -maxdepth 1 | \
24e3c4
    while read item; do
24e3c4
        if [[ "$item" == */roles ]]; then
24e3c4
            format_item_for_files "$item" true >> $files_section
24e3c4
            find "$item" -mindepth 1 -maxdepth 1 | while read roles_dir; do
24e3c4
                format_item_for_files "$roles_dir" true >> $files_section
24e3c4
                find "$roles_dir" -mindepth 1 -maxdepth 1 | while read roles_item; do
24e3c4
                    format_item_for_files "$roles_item" >> $files_section
24e3c4
                done
24e3c4
            done
24e3c4
        else
24e3c4
            format_item_for_files "$item" >> $files_section
24e3c4
        fi
24e3c4
    done
24e3c4
24e3c4
find %{buildroot}%{installbase} -mindepth 1 -maxdepth 1 | \
24e3c4
    while read item; do
24e3c4
        if [ -d "$item" ]; then
24e3c4
            format_item_for_files "$item" true >> $files_section
24e3c4
            find "$item" -mindepth 1 -maxdepth 1 | while read roles_item; do
24e3c4
                format_item_for_files "$roles_item" >> $files_section
24e3c4
            done
24e3c4
        else
24e3c4
            format_item_for_files "$item" >> $files_section
24e3c4
        fi
24e3c4
    done
24e3c4
if [ "%{installbase}" != "%{_datadir}/ansible/roles" ]; then
24e3c4
    find %{buildroot}%{_datadir}/ansible/roles -mindepth 1 -maxdepth 1 | \
24e3c4
        while read item; do
24e3c4
            if [ -d "$item" ]; then
24e3c4
                format_item_for_files "$item" true >> $files_section
24e3c4
                find "$item" -mindepth 1 -maxdepth 1 | while read roles_item; do
24e3c4
                    format_item_for_files "$roles_item" >> $files_section
24e3c4
                done
24e3c4
            else
24e3c4
                format_item_for_files "$item" >> $files_section
24e3c4
            fi
24e3c4
        done
24e3c4
fi
24e3c4
# cat files_section.txt
24e3c4
# done with files_section.txt generation
24e3c4
24e3c4
%files -f files_section.txt
24e3c4
%{_pkgdocdir}/*/README.md
24e3c4
%{_pkgdocdir}/collection/roles/*/README.md
24e3c4
%if %{with html}
24e3c4
%{_pkgdocdir}/*/README.html
24e3c4
%{_pkgdocdir}/collection/roles/*/README.html
24e3c4
%endif
24e3c4
%license %{_pkglicensedir}/*
24e3c4
%license %{installbase}/*/LICENSE*
24e3c4
%license %{ansible_collection_files}/%{collection_name}/LICENSE*
24e3c4
24e3c4
%if %{with collection_artifact}
24e3c4
%files collection-artifact
24e3c4
%{_datadir}/ansible/collections/%{collection_namespace}-%{collection_name}-%{version}.tar.gz
24e3c4
%endif
24e3c4
24e3c4
%changelog
24e3c4
* Wed Jul 21 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.1.0-1
24e3c4
- Add support for Microsoft SQL Server 2017
24e3c4
24e3c4
* Mon Jul 19 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.12-2
24e3c4
- Copy fix for RHEL 7 builds from rhel-system-roles
24e3c4
  Link to the original fix:
24e3c4
  https://src.fedoraproject.org/rpms/linux-system-roles/c/093981119f99ac51a6e06a2714b587e4e2fe287c
24e3c4
24e3c4
* Tue Jul 13 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.12-1
24e3c4
- Add the meta-runtime option from the latest auto-maintenance
24e3c4
- Use the latest mssql that ships fixes for issues #24,#25,#26,#27,#28,35
24e3c4
24e3c4
* Tue Jun 29 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-3
24e3c4
- Add a missing slash at the {ansible_collection_files} definition for rhel 7
24e3c4
24e3c4
* Thu Jun 17 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-2
24e3c4
- Make the ansible_collection_files macro defined in Fedora automatically and
24e3c4
  in RHEL manually consistent - having slash at the end to clean double-slashes
24e3c4
24e3c4
* Thu Jun 17 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-1
24e3c4
- Update the version to be consistent with the Galaxy collection at
24e3c4
  https://galaxy.ansible.com/microsoft/sql
24e3c4
24e3c4
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-5
24e3c4
- Update commit hash for mssql
24e3c4
24e3c4
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-4
24e3c4
- Generate symlinks for roles in /usr/share/ansible/roles
24e3c4
24e3c4
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-3
24e3c4
- Copy changes made to linux-system-roles in this PR:
24e3c4
  https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/13#
24e3c4
- Make spec file available for older versions of OSes.
24e3c4
- Drop python3-six dependency which was used by lsr_role2collection.py.
24e3c4
- Drop html files from rpm if the version has no markdown parser.
24e3c4
- Drop unnecessary python scripts which include python3 only code, e.g.,
24e3c4
  f-strings.
24e3c4
  Resolves rhbz#1970165
24e3c4
24e3c4
* Mon Jun 14 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-2
24e3c4
- Fix long description lines
24e3c4
- Fix incorrect role includes in microsoft/sql-server/tests/
24e3c4
24e3c4
* Thu Jun 3 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-1
24e3c4
- Initial release