diff --git a/SOURCES/almalinux-synergy.repo b/SOURCES/almalinux-synergy.repo index 4a85f00..d76b946 100644 --- a/SOURCES/almalinux-synergy.repo +++ b/SOURCES/almalinux-synergy.repo @@ -6,6 +6,7 @@ mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/synergy # baseurl=https://repo.almalinux.org/almalinux/$releasever/synergy/$basearch/os/ gpgcheck=1 enabled=1 +countme=1 gpgkey=https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux ## Sources diff --git a/SPECS/almalinux-release-synergy.spec b/SPECS/almalinux-release-synergy.spec index 339c86e..7f3befa 100644 --- a/SPECS/almalinux-release-synergy.spec +++ b/SPECS/almalinux-release-synergy.spec @@ -1,13 +1,14 @@ Summary: AlmaLinux Synergy repository configuration Name: almalinux-release-synergy Version: 8 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 URL: https://almalinux.org/ BuildArch: noarch Source0: almalinux-synergy.repo -Requires: epel-release +Requires: epel-release +Requires(post): epel-release Provides: almalinux-release-synergy = 8 %description @@ -16,10 +17,19 @@ DNF configuration for AlmaLinux Synergy repo %install install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/almalinux-synergy.repo +%post +if [ -x /usr/bin/crb ]; then + /usr/bin/crb enable +fi + %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-synergy.repo %changelog +* Thu Aug 24 2023 Andrew Lukoshko - 8-2 +- Enable PowerTools/CRB automatically +- Enable countme + * Mon Aug 14 2023 Andrew Lukoshko - 8-1 - Initial version