Blame ansible-collection-microsoft-sql.spec

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