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

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