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

5d02a0
# NOTE: Even though ansible-core is in 8.6, it is only available
5d02a0
# at *runtime*, not at *buildtime* - so we can't have
5d02a0
# ansible-core as a build_dep on RHEL8
5d02a0
%if 0%{?fedora} || 0%{?rhel} >= 9
5d02a0
%bcond_without ansible
f08862
%if 0%{?fedora}
f08862
BuildRequires: ansible-packaging
bcb56d
%else
f08862
BuildRequires: ansible-core >= 2.11.0
5d02a0
%endif
f08862
%else
f08862
%bcond_with ansible
bcb56d
%endif
bcb56d
bcb56d
%bcond_with collection_artifact
bcb56d
f08862
# Do not convert .md to .html on RHEL 7 because pandoc is not available
bcb56d
%if 0%{?fedora} || 0%{?rhel} >= 8
bcb56d
%bcond_without html
bcb56d
%else
bcb56d
%bcond_with html
bcb56d
%endif
bcb56d
bcb56d
Name: ansible-collection-microsoft-sql
bcb56d
Url: https://github.com/linux-system-roles/mssql
bcb56d
Summary: The Ansible collection for Microsoft SQL Server management
f08862
Version: 1.3.0
f08862
Release: 3%{?dist}
bcb56d
bcb56d
License: MIT
bcb56d
f08862
%global rolename mssql
bcb56d
%global collection_namespace microsoft
bcb56d
%global collection_name sql
f08862
%global collection_rolename server
bcb56d
%global collection_version %{version}
f08862
%global legacy_rolename %{collection_namespace}.sql-server
f08862
%global _pkglicensedir %{_licensedir}/%{name}
bcb56d
bcb56d
# Helper macros originally from macros.ansible by Igor Raits <ignatenkobrain>
f08862
# On RHEL, not available, so we must define those macros locally
f08862
# On Fedora, provided by ansible-packager
bcb56d
# Not used (yet). Could be made to point to AH in RHEL - but what about CentOS Stream?
bcb56d
#%%{!?ansible_collection_url:%%define ansible_collection_url() https://galaxy.ansible.com/%%{collection_namespace}/%%{collection_name}}
f08862
%if 0%{?rhel}
f08862
Provides: ansible-collection(%{collection_namespace}.%{collection_name}) = %{collection_version}
f08862
%global ansible_collection_files %{_datadir}/ansible/collections/ansible_collections/%{collection_namespace}/
f08862
%define ansible_roles_dir %{_datadir}/ansible/roles
f08862
%if %{without ansible}
f08862
# Untar and copy everything instead of galaxy-installing the built artifact when ansible is not available
f08862
%define ansible_collection_build() tar -cf %{_tmppath}/%{collection_namespace}-%{collection_name}-%{version}.tar.gz .
f08862
%define ansible_collection_install() 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)
bcb56d
%else
f08862
%define ansible_collection_build() ansible-galaxy collection build
f08862
%define ansible_collection_install() ansible-galaxy collection install -n -p %{buildroot}%{_datadir}/ansible/collections %{collection_namespace}-%{collection_name}-%{version}.tar.gz
bcb56d
%endif
bcb56d
%endif
f08862
# be compatible with the usual Fedora Provides:
f08862
Provides: ansible-collection-%{collection_namespace}-%{collection_name} = %{collection_version}-%{release}
bcb56d
5d02a0
# ansible-core is in rhel 8.6 and later - default to ansible-core, but allow
5d02a0
# the use of ansible if present - we may revisit this if the automatic dependency
5d02a0
# generator is added to ansible-core in RHEL
5d02a0
# Fedora - the automatic generator will add this - no need to explicit declare
5d02a0
# it in the spec file
5d02a0
# EL7 - no dependency on ansible because there is no ansible in el7 - user is
5d02a0
# responsible for knowing they have to install ansible
5d02a0
%if 0%{?rhel} >= 8
5d02a0
Requires: (ansible-core >= 2.11.0 or ansible >= 2.9.0)
5d02a0
%endif
e55496
f08862
%if 0%{?rhel}
e55496
Requires: rhel-system-roles
bcb56d
%else
f08862
Requires: linux-system-roles
bcb56d
%endif
bcb56d
f08862
%global mainid 73800682a3293ef5ab5ed5880329ce792cd34bbf
f08862
# Use either hash or tag for source1id
f08862
# %%global source1id 50edba099ab2c8b25b225fe760cb5a459b320030
f08862
%global source1id %{version}
bcb56d
%global parenturl https://github.com/linux-system-roles
bcb56d
Source: %{parenturl}/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz
f08862
Source1: %{parenturl}/%{rolename}/archive/%{source1id}/%{rolename}-%{source1id}.tar.gz
bcb56d
bcb56d
BuildArch: noarch
bcb56d
bcb56d
%if %{with html}
bcb56d
# Requirements for md2html.sh to build the documentation
bcb56d
%if 0%{?fedora} || 0%{?rhel} >= 9
bcb56d
BuildRequires: rubygem-kramdown-parser-gfm
bcb56d
%else
bcb56d
BuildRequires: pandoc
bcb56d
BuildRequires: asciidoc
bcb56d
BuildRequires: highlight
bcb56d
%endif
bcb56d
%endif
bcb56d
bcb56d
# Requirements for galaxy_transform.py
bcb56d
BuildRequires: python3
f08862
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
bcb56d
bcb56d
%description
f08862
This RPM installs the %{collection_namespace}.%{collection_name} Ansible
f08862
collection that provides the %{collection_rolename} role for Microsoft SQL
f08862
Server management. This RPM also installs the %{legacy_rolename} role
f08862
in the legacy roles format for users of Ansible < 2.9.
bcb56d
bcb56d
%if %{with collection_artifact}
bcb56d
%package collection-artifact
bcb56d
Summary: Collection artifact to import to Automation Hub / Ansible Galaxy
bcb56d
bcb56d
%description collection-artifact
f08862
Collection artifact for %{name}. This package contains
f08862
%{collection_namespace}-%{collection_name}-%{version}.tar.gz
bcb56d
%endif
bcb56d
f08862
%pretrans -p <lua>
f08862
path = "%{ansible_roles_dir}/%{legacy_rolename}"
f08862
st = posix.stat(path)
f08862
if st and st.type == "link" then
f08862
  os.remove(path)
f08862
end
f08862
bcb56d
%prep
f08862
%setup -q -a1 -n auto-maintenance-%{mainid}
bcb56d
f08862
mv %{rolename}-%{source1id} %{rolename}
f08862
f08862
# Remove symlinks in tests/roles
f08862
if [ -d %{rolename}/tests/roles ]; then
f08862
    find %{rolename}/tests/roles -type l -exec rm {} \;
f08862
    if [ -d %{rolename}/tests/roles/linux-system-roles.%{rolename} ]; then
f08862
        rm -r %{rolename}/tests/roles/linux-system-roles.%{rolename}
f08862
    fi
f08862
fi
bcb56d
bcb56d
%build
bcb56d
%if %{with html}
bcb56d
# Convert README.md to README.html in the source roles
f08862
sh md2html.sh -t %{rolename}/README.md
bcb56d
%endif
bcb56d
bcb56d
mkdir .collections
bcb56d
# Copy README.md for the collection build
f08862
cp %{rolename}/.collection/README.md lsr_role2collection/collection_readme.md
bcb56d
# Copy galaxy.yml for the collection build
f08862
cp %{rolename}/.collection/galaxy.yml ./
e55496
e55496
%if 0%{?rhel}
f08862
# Ensure the correct entries in galaxy.yml
f08862
./galaxy_transform.py "%{collection_namespace}" "%{collection_name}" "%{version}" \
e55496
                      "Ansible collection for Microsoft SQL Server management" \
e55496
                      "https://github.com/linux-system-roles/mssql" \
e55496
                      "https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/administration_and_configuration_tasks_using_system_roles_in_rhel/assembly_configuring-microsoft-sql-server-using-microsoft-sql-server-ansible-role_assembly_updating-packages-to-enable-automation-for-the-rhel-system-roles" \
f08862
                      "https://github.com/linux-system-roles/mssql/blob/main/README.md" \
e55496
                      "https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%208&component=ansible-collection-microsoft-sql" \
e55496
                      > galaxy.yml.tmp
e55496
%else
f08862
./galaxy_transform.py "%{collection_namespace}" "%{collection_name}" "%{version}" \
e55496
                      "Ansible collection for Microsoft SQL Server management" \
e55496
                      > galaxy.yml.tmp
e55496
%endif
bcb56d
mv galaxy.yml.tmp galaxy.yml
bcb56d
e55496
%if 0%{?rhel}
f08862
# Replace "fedora.linux_system_roles" with "redhat.rhel_system_roles"
f08862
# This is for the "roles calling other roles" case
f08862
find %{rolename} -type f -exec \
f08862
     sed -e "s/fedora[.]linux_system_roles[.]/redhat.rhel_system_roles./g" \
f08862
         -i {} \;
e55496
%endif
e55496
f08862
# Convert to the collection format
f08862
python3 lsr_role2collection.py --role "%{rolename}" \
f08862
    --src-path "%{rolename}" \
f08862
    --src-owner linux-system-roles \
f08862
    --dest-path .collections \
f08862
    --readme lsr_role2collection/collection_readme.md \
f08862
    --namespace %{collection_namespace} \
f08862
    --collection %{collection_name} \
f08862
    --new-role "%{collection_rolename}" \
f08862
    --meta-runtime lsr_role2collection/runtime.yml
f08862
f08862
# Replace remnants of "linux-system-roles.mssql" with collection FQDN
f08862
find .collections/ansible_collections/%{collection_namespace}/%{collection_name}/ -type f -exec \
f08862
     sed -e "s/linux-system-roles[.]%{rolename}\\>/%{collection_namespace}.%{collection_name}.%{collection_rolename}/g" \
f08862
         -i {} \;
bcb56d
bcb56d
# removing dot files/dirs
bcb56d
rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name}/.[A-Za-z]*
f08862
rm -r .collections/ansible_collections/%{collection_namespace}/%{collection_name}/tests/%{collection_rolename}/.[A-Za-z]*
bcb56d
bcb56d
# Copy galaxy.yml to the collection directory
bcb56d
cp -p galaxy.yml .collections/ansible_collections/%{collection_namespace}/%{collection_name}
bcb56d
e55496
# Copy CHANGELOG.md from mssql to collection dir
f08862
mv .collections/ansible_collections/%{collection_namespace}/%{collection_name}/roles/%{collection_rolename}/CHANGELOG.md \
e55496
    .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
e55496
f08862
# Build collection
f08862
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
f08862
%ansible_collection_build
f08862
popd
bcb56d
f08862
%install
f08862
mkdir -p %{buildroot}%{ansible_roles_dir}
bcb56d
f08862
# Copy role in legacy format and rename rolename in tests
f08862
cp -pR "%{rolename}" "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}"
f08862
find %{buildroot}%{ansible_roles_dir}/%{legacy_rolename} -type f -exec \
f08862
     sed -e "s/linux-system-roles\.%{rolename}/%{legacy_rolename}/g" \
f08862
         -i {} \;
bcb56d
bcb56d
# Copy README, COPYING, and LICENSE files to the corresponding directories
f08862
mkdir -p %{buildroot}%{_pkglicensedir}
f08862
mkdir -p "%{buildroot}%{_pkgdocdir}/%{legacy_rolename}"
f08862
ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/README.md" \
f08862
    "%{buildroot}%{_pkgdocdir}/%{legacy_rolename}"
bcb56d
%if %{with html}
f08862
ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/README.html" \
f08862
    "%{buildroot}%{_pkgdocdir}/%{legacy_rolename}"
bcb56d
%endif
f08862
if [ -f "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/COPYING" ]; then
f08862
    ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/COPYING" \
f08862
        "%{buildroot}%{_pkglicensedir}/%{legacy_rolename}.COPYING"
f08862
fi
f08862
if [ -f "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/LICENSE" ]; then
f08862
    ln -sr "%{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/LICENSE" \
f08862
        "%{buildroot}%{_pkglicensedir}/%{legacy_rolename}.LICENSE"
f08862
fi
bcb56d
bcb56d
# Remove dot files
f08862
rm -r %{buildroot}%{ansible_roles_dir}/*/.[A-Za-z]*
f08862
rm -r %{buildroot}%{ansible_roles_dir}/%{legacy_rolename}/tests/.[A-Za-z]*
bcb56d
bcb56d
# Remove the molecule directory
f08862
rm -r %{buildroot}%{ansible_roles_dir}/*/molecule
bcb56d
f08862
# Install collection
bcb56d
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
f08862
%ansible_collection_install
bcb56d
popd
bcb56d
f08862
mkdir -p %{buildroot}%{_pkgdocdir}/collection/roles
bcb56d
bcb56d
# Copy the collection README files to the collection
f08862
ln -sr %{buildroot}%{ansible_collection_files}%{collection_name}/README.md \
f08862
   %{buildroot}%{_pkgdocdir}/collection
f08862
f08862
# Copy role's readme to /usr/share/doc/
f08862
if [ -f "%{buildroot}%{ansible_collection_files}%{collection_name}/roles/%{collection_rolename}/README.md" ]; then
f08862
    mkdir -p %{buildroot}%{_pkgdocdir}/collection/roles/%{collection_rolename}
f08862
    ln -sr %{buildroot}%{ansible_collection_files}%{collection_name}/roles/%{collection_rolename}/README.md \
f08862
        %{buildroot}%{_pkgdocdir}/collection/roles/%{collection_rolename}
f08862
fi
bcb56d
bcb56d
%if %{with html}
f08862
# Convert README.md to README.html for collection in %%{buildroot}%%{_pkgdocdir}/collection
f08862
sh md2html.sh -t %{buildroot}%{_pkgdocdir}/collection/roles/%{collection_rolename}/README.md
bcb56d
%endif
bcb56d
bcb56d
%if %{with collection_artifact}
bcb56d
# Copy collection artifact to /usr/share/ansible/collections/ for collection-artifact
bcb56d
pushd .collections/ansible_collections/%{collection_namespace}/%{collection_name}/
bcb56d
if [ -f %{collection_namespace}-%{collection_name}-%{version}.tar.gz ]; then
bcb56d
    mv %{collection_namespace}-%{collection_name}-%{version}.tar.gz \
f08862
       %{buildroot}%{_datadir}/ansible/collections/
bcb56d
fi
bcb56d
popd
bcb56d
%endif
bcb56d
f08862
# Generate the %%files section in files_section.txt
f08862
# Bulk files inclusion is not possible because roles store doc and licence
f08862
# files together with other files
bcb56d
format_item_for_files() {
bcb56d
    # $1 is directory or file name in buildroot
f08862
    # $2 - if true, and item is a directory, use %%dir
bcb56d
    local item
bcb56d
    local files_item
f08862
    item="$1" # full path including buildroot
f08862
    files_item=${item##"%{buildroot}"} # path with cut buildroot to be added to %%files
bcb56d
    if [ -L "$item" ]; then
bcb56d
        echo "$files_item"
bcb56d
    elif [ -d "$item" ]; then
bcb56d
        if [[ "$item" == */doc* ]]; then
bcb56d
            echo "%doc $files_item"
bcb56d
        elif [ "${2:-false}" = true ]; then
bcb56d
            echo "%dir $files_item"
bcb56d
        else
bcb56d
            echo "$files_item"
bcb56d
        fi
f08862
    elif [[ "$item" == */README.md ]] || [[ "$item" == */README.html ]] || [[ "$item" == */CHANGELOG.md ]]; then
bcb56d
        if [[ "$item" == */private_* ]]; then
f08862
            # mark as regular file, not %%doc
bcb56d
            echo "$files_item"
bcb56d
        else
bcb56d
            echo "%doc $files_item"
bcb56d
        fi
f08862
    elif [[ "$item" == */COPYING* ]] || [[ "$item" == */LICENSE* ]]; then
f08862
        echo "%""%""license" "$files_item"
f08862
    else
bcb56d
        echo "$files_item"
bcb56d
    fi
bcb56d
}
bcb56d
bcb56d
files_section=files_section.txt
bcb56d
rm -f $files_section
bcb56d
touch $files_section
f08862
# Dynamically generate files section entries for %%{ansible_collection_files}
bcb56d
find %{buildroot}%{ansible_collection_files}%{collection_name} -mindepth 1 -maxdepth 1 | \
bcb56d
    while read item; do
bcb56d
        if [[ "$item" == */roles ]]; then
bcb56d
            format_item_for_files "$item" true >> $files_section
bcb56d
            find "$item" -mindepth 1 -maxdepth 1 | while read roles_dir; do
bcb56d
                format_item_for_files "$roles_dir" true >> $files_section
bcb56d
                find "$roles_dir" -mindepth 1 -maxdepth 1 | while read roles_item; do
bcb56d
                    format_item_for_files "$roles_item" >> $files_section
bcb56d
                done
bcb56d
            done
bcb56d
        else
bcb56d
            format_item_for_files "$item" >> $files_section
bcb56d
        fi
bcb56d
    done
bcb56d
f08862
# Dynamically generate files section entries for %%{ansible_roles_dir}
f08862
find %{buildroot}%{ansible_roles_dir} -mindepth 1 -maxdepth 1 | \
bcb56d
    while read item; do
bcb56d
        if [ -d "$item" ]; then
bcb56d
            format_item_for_files "$item" true >> $files_section
bcb56d
            find "$item" -mindepth 1 -maxdepth 1 | while read roles_item; do
bcb56d
                format_item_for_files "$roles_item" >> $files_section
bcb56d
            done
bcb56d
        else
bcb56d
            format_item_for_files "$item" >> $files_section
bcb56d
        fi
bcb56d
    done
bcb56d
bcb56d
%files -f files_section.txt
f08862
%dir %{_datadir}/ansible
f08862
%dir %{ansible_roles_dir}
f08862
%dir %{ansible_collection_files}
f08862
%dir %{ansible_collection_files}%{collection_name}
f08862
%doc %{_pkgdocdir}
f08862
%license %{_pkglicensedir}
bcb56d
bcb56d
%if %{with collection_artifact}
bcb56d
%files collection-artifact
bcb56d
%{_datadir}/ansible/collections/%{collection_namespace}-%{collection_name}-%{version}.tar.gz
bcb56d
%endif
bcb56d
bcb56d
%changelog
f08862
* Thu Feb 23 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.3.0-3
f08862
- Spec: add functionality to build from a commit hash
f08862
- Use latest 1.3.0 to add flexibility to AD integration functionality
f08862
  Resolves: rhbz#2163696
f08862
f08862
* Thu Feb 16 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.3.0-2
f08862
- Replace fedora.linux_system_roles/redhat.rhel_system_roles and
f08862
  linux-system-roles.mssql with microsoft.sql.server in the role.
f08862
  Resolves: rhbz#2129106
f08862
- Use latest 1.3.0 to fix ad_Integration issues
f08862
  Resolves: rhbz#2163696
f08862
f08862
* Wed Feb 1 2023 Sergei Petrosian <spetrosi@redhat.com> - 1.3.0-1
f08862
- Keep spec consistent with linux-system-roles
f08862
  - Return conditionals related to EL to keep up- and downstream consistent
f08862
  - Add pretrans scriplet to remove symlinks if exist to fix issue with update
f08862
  - Instead of copying doc and license files create symlinks
f08862
  - Dynamically generate %%files section
f08862
  - Add -t to md2html to generate TOC
f08862
  Resolves: rhbz#2129106
f08862
- On SQL Server Enterprise Edition, support configuring asynchronous replication
f08862
  Resolves: rhbz#2144820
f08862
- Support configuring a read-scale SQL server availability group (without pacemaker
f08862
  Resolves: rhbz#2144821
f08862
- Use the certificate role to create the cert and the key
f08862
  Resolves: rhbz#2144852
f08862
- Support SQL Server version 2022
f08862
  Resolves: rhbz#2153427
f08862
- Support integrating with AD Server for authentication
f08862
  Resolves: rhbz#2163696
f08862
f08862
* Thu Sep 22 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.4-2
f08862
- Simplify spec file
f08862
  - Do not install roles to /usr/share/microsoft and then create symlinks
f08862
    to /usr/share/ansible/roles/, instead install directly to
f08862
    /usr/share/ansible/roles/
f08862
  - Remove unused removal of ambiguous python shebangs
f08862
  - Remove all loops because this RPM contains only one role
f08862
  - Remove defsource - simply define the source for mssql
f08862
  - 's|$RPM_BUILD_ROOT|%%{buildroot}|' for consistency
f08862
  - Remove getarchivedir for simplicity
f08862
  - Wrap description by 80 symbols and clarify it
f08862
  - Remove tests/.fmf dir from the RPM
f08862
  Resolves: rhbz#2129106
f08862
e55496
* Thu Sep 1 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.4-1
e55496
- Replicate all provided databases
e55496
  - This change fixes the bug where only the first database provided with
e55496
mssql_ha_db_names got replicated
e55496
  - Clarify that the role does not remove not listed databases
f08862
  Resolves: rhbz#2129869
e55496
- Input multiple sql scripts
e55496
  - Allow _input_sql_file vars to accept list of files
e55496
  - Flush handlers prior to inputting post sql script
f08862
  Resolves: rhbz#2129872
e55496
- Note that ha_cluster is not idempotent
e55496
- SPEC: Do not update dates in CHANGELOG.md
e55496
e55496
* Thu Aug 25 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.3-1
e55496
- Use firewall role to configure firewall for SQL Server
e55496
  Resolves: rhbz#2120714
e55496
- Add mssql_ha_virtual_ip
e55496
  Replace mssql_ha_db_name with mssql_ha_db_names to let users replicate multiple DBs
e55496
  Resolves: rhbz#2066338
e55496
- Replace simple `mssql_input_sql_file` with `pre` and `post` variables
e55496
  Resolves: rhbz#2120713
e55496
- Add Requires: linux-system-roles or rhel-system-roles
e55496
- Replace fedora.linux_system_roles:redhat.rhel_system_roles on RHEL
e55496
- Add downstream values to galaxy.yml
e55496
- Change defcommit to defsource that takes both tags and commits
e55496
- Update CHANGELOG.md with the current date and copy it to collection dir
e55496
e55496
* Mon Jul 4 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.0-3
e55496
- Update mssql commit
e55496
  Resolves: rhbz#2066338
e55496
- Add condition for upstream spec build for galaxy_transform
e55496
- Replace extra-mapping with replacing in the legacy format with sed
e55496
e55496
* Fri Jun 17 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.0-2
e55496
  Return mistakenly deleted galaxy.yml string and bump release
e55496
e55496
* Fri Jun 17 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.2.0-1
e55496
- Add MVP HA functionality to the server role
e55496
  Resolves: rhbz#2066338
e55496
- Add mssql_tls_remote_src to the server role
e55496
  Resolves: rhbz#2039990
e55496
- Add Requires: linux-system-roles or rhel-system-roles
e55496
- Add downstream values to galaxy.yml
e55496
5d02a0
* Mon Mar 21 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.1.1-3
5d02a0
- Fix inserting ansible_managed
e55496
  Resolves: rhbz#2065206
5d02a0
- Users now can provide a custom URLs to pull packages and RPM key from
e55496
  Resolves: rhbz#2067175
5d02a0
5d02a0
* Fri Mar 18 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.1.1-2
5d02a0
- RHEL8.6, 9 - add "Requires: ansible-core or ansible"
e55496
  Resolves: rhbz#2067172
5d02a0
5d02a0
* Thu Mar 17 2022 Sergei Petrosian <spetrosi@redhat.com> - 1.1.1-1
5d02a0
- Insert the "Ansible managed" comment to the /var/opt/mssql/mssql.conf file
e55496
  Resolves rhbz#2065206
5d02a0
5d02a0
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
5d02a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
5d02a0
5d02a0
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
5d02a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
5d02a0
bcb56d
* Wed Jul 21 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.1.0-1
bcb56d
- Add support for Microsoft SQL Server 2017
bcb56d
bcb56d
* Mon Jul 19 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.12-2
bcb56d
- Copy fix for RHEL 7 builds from rhel-system-roles
bcb56d
  Link to the original fix:
bcb56d
  https://src.fedoraproject.org/rpms/linux-system-roles/c/093981119f99ac51a6e06a2714b587e4e2fe287c
bcb56d
bcb56d
* Tue Jul 13 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.12-1
bcb56d
- Add the meta-runtime option from the latest auto-maintenance
bcb56d
- Use the latest mssql that ships fixes for issues #24,#25,#26,#27,#28,35
bcb56d
bcb56d
* Tue Jun 29 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-3
bcb56d
- Add a missing slash at the {ansible_collection_files} definition for rhel 7
bcb56d
bcb56d
* Thu Jun 17 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-2
bcb56d
- Make the ansible_collection_files macro defined in Fedora automatically and
bcb56d
  in RHEL manually consistent - having slash at the end to clean double-slashes
bcb56d
bcb56d
* Thu Jun 17 2021 Sergei Petrosian <spetrosi@redhat.com> - 1.0.11-1
bcb56d
- Update the version to be consistent with the Galaxy collection at
bcb56d
  https://galaxy.ansible.com/microsoft/sql
bcb56d
bcb56d
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-5
bcb56d
- Update commit hash for mssql
bcb56d
bcb56d
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-4
bcb56d
- Generate symlinks for roles in /usr/share/ansible/roles
bcb56d
bcb56d
* Wed Jun 16 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-3
bcb56d
- Copy changes made to linux-system-roles in this PR:
bcb56d
  https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/13#
bcb56d
- Make spec file available for older versions of OSes.
bcb56d
- Drop python3-six dependency which was used by lsr_role2collection.py.
bcb56d
- Drop html files from rpm if the version has no markdown parser.
bcb56d
- Drop unnecessary python scripts which include python3 only code, e.g.,
bcb56d
  f-strings.
bcb56d
  Resolves rhbz#1970165
bcb56d
bcb56d
* Mon Jun 14 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-2
bcb56d
- Fix long description lines
bcb56d
- Fix incorrect role includes in microsoft/sql-server/tests/
bcb56d
bcb56d
* Thu Jun 3 2021 Sergei Petrosian <spetrosi@redhat.com> - 0.0.1-1
bcb56d
- Initial release