diff --git a/SPECS/centos-release-hyperscale.spec b/SPECS/centos-release-hyperscale.spec index e47fb7f..cc39581 100644 --- a/SPECS/centos-release-hyperscale.spec +++ b/SPECS/centos-release-hyperscale.spec @@ -1,7 +1,7 @@ Summary: CentOS Hyperscale SIG main repo configs Name: centos-release-hyperscale Version: 4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 URL: http://wiki.centos.org/SpecialInterestGroup/Hyperscale Source0: RPM-GPG-KEY-CentOS-SIG-HyperScale @@ -47,7 +47,7 @@ install -d %{buildroot}%{_sysconfdir}/yum.repos.d install -p -m 644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} \ %{buildroot}%{_sysconfdir}/yum.repos.d -%post +%posttrans hotfixes POWERTOOLS_REPO=/etc/yum.repos.d/CentOS-Stream-PowerTools.repo if [ -f "${POWERTOOLS_REPO}" ] \ && [ $(grep -c '^enabled=.$' "${POWERTOOLS_REPO}") -eq 1 ] \ @@ -73,6 +73,11 @@ fi %config(noreplace) %{_sysconfdir}/yum.repos.d/CentOS-Stream-Hyperscale-Spin.repo %changelog +* Wed May 19 2021 Michel Alexandre Salim - 4-3 +- Switch to %%posttrans for enabling powertools; + this way, we don't enable a repo mid-transaction +- Limit it to the hotfixes subpackage as that requires EPEL + * Wed May 19 2021 Michel Alexandre Salim - 4-2 - Trigger enabling powertools repo on package installations and upgrades - Fix license declaration; match centos-stream-repos