diff --git a/ansible-collection-microsoft-sql.spec b/ansible-collection-microsoft-sql.spec index 314044f..76e3f3a 100644 --- a/ansible-collection-microsoft-sql.spec +++ b/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#2163709 + * Fri Feb 17 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. diff --git a/sources b/sources index 7800f29..7ade16e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ SHA512 (auto-maintenance-73800682a3293ef5ab5ed5880329ce792cd34bbf.tar.gz) = 327a9381f7051661cd75742c3c2542d67c0220bdeb9d11bb6c982d7bf053c232d9a192511dc4a90b678bafbbd8e5b08664a8570c62ab652ddf089a98b083b99b -SHA512 (mssql-1.3.0.tar.gz) = 596fbdda190e0c3fcbe5d5e9419767f170e2c7931c8198c990ff0b3ac2035f64d4c9e306f21fbcb275ffd0e16436936a727b271876ab3c603e6f3456bc77f8a2 +SHA512 (mssql-1.3.0.tar.gz) = 3e3d3de36efa88a6a536a70d599de87b377a0cd0b097d9db719d96eda9a8624497c68468bd03d929b3b3e59314fe003fd998768e3c5bbb4d29c57624b4d05625