diff --git a/.ansible-collection-microsoft-sql.metadata b/.ansible-collection-microsoft-sql.metadata index 5d42a1e..3656fde 100644 --- a/.ansible-collection-microsoft-sql.metadata +++ b/.ansible-collection-microsoft-sql.metadata @@ -1,2 +1,2 @@ 06bdf4fd47cd57661f657fa4f29ec3031198ba11 SOURCES/auto-maintenance-73800682a3293ef5ab5ed5880329ce792cd34bbf.tar.gz -178972d35f088095707890c603410276418b8800 SOURCES/mssql-1.3.0.tar.gz +43136931b6fa02984e7e0c30564f8202114ed2bd SOURCES/mssql-1.3.0.tar.gz diff --git a/SPECS/ansible-collection-microsoft-sql.spec b/SPECS/ansible-collection-microsoft-sql.spec index 5a27e85..5f12631 100644 --- a/SPECS/ansible-collection-microsoft-sql.spec +++ b/SPECS/ansible-collection-microsoft-sql.spec @@ -25,7 +25,7 @@ Name: ansible-collection-microsoft-sql Url: https://github.com/linux-system-roles/mssql Summary: The Ansible collection for Microsoft SQL Server management Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT @@ -76,9 +76,12 @@ Requires: linux-system-roles %endif %global mainid 73800682a3293ef5ab5ed5880329ce792cd34bbf +# Use either hash or tag for source1id +# %%global source1id 50edba099ab2c8b25b225fe760cb5a459b320030 +%global source1id %{version} %global parenturl https://github.com/linux-system-roles Source: %{parenturl}/auto-maintenance/archive/%{mainid}/auto-maintenance-%{mainid}.tar.gz -Source1: %{parenturl}/%{rolename}/archive/%{version}/%{rolename}-%{version}.tar.gz +Source1: %{parenturl}/%{rolename}/archive/%{source1id}/%{rolename}-%{source1id}.tar.gz BuildArch: noarch @@ -122,7 +125,7 @@ end %prep %setup -q -a1 -n auto-maintenance-%{mainid} -mv %{rolename}-%{version} %{rolename} +mv %{rolename}-%{source1id} %{rolename} # Remove symlinks in tests/roles if [ -d %{rolename}/tests/roles ]; then @@ -347,6 +350,11 @@ find %{buildroot}%{ansible_roles_dir} -mindepth 1 -maxdepth 1 | \ %endif %changelog +* Thu Feb 23 2023 Sergei Petrosian - 1.3.0-3 +- Spec: add functionality to build from a commit hash +- Use latest 1.3.0 to add flexibility to AD integration functionality + Resolves: rhbz#2163696 + * Thu Feb 16 2023 Sergei Petrosian - 1.3.0-2 - Replace fedora.linux_system_roles/redhat.rhel_system_roles and linux-system-roles.mssql with microsoft.sql.server in the role.