From e73099d80fb45e6cdeb83b42b893b921350bfff1 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jan 24 2023 13:28:13 +0000 Subject: import ansible-collection-microsoft-sql-1.2.4-2.el7_9 --- diff --git a/SPECS/ansible-collection-microsoft-sql.spec b/SPECS/ansible-collection-microsoft-sql.spec index 9f79f69..4aab1b4 100644 --- a/SPECS/ansible-collection-microsoft-sql.spec +++ b/SPECS/ansible-collection-microsoft-sql.spec @@ -26,7 +26,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.2.4 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT @@ -122,6 +122,13 @@ Summary: Collection artifact to import to Automation Hub / Ansible Galaxy Collection artifact for %{name}. This package contains %{collection_namespace}-%{collection_name}-%{version}.tar.gz %endif +%pretrans -p +path = "%{installbase}/%{legacy_rolename}" +st = posix.stat(path) +if st and st.type == "link" then + os.remove(path) +end + %prep %setup -q -a1 -n auto-maintenance-%{mainid} @@ -348,6 +355,10 @@ fi %endif %changelog +* Mon Nov 7 2022 Sergei Petrosian - 1.2.4-2 +- Fix changing symlink to directory with update from 1.1.1-3 to 1.2.4-1 + Resolves: rhbz#2140582 + * Fri Sep 23 2022 Sergei Petrosian - 1.2.4-1 - Simplify spec file - Do not install roles to /usr/share/microsoft and then create symlinks