Enable PowerTools/CRB automatically and countme
This commit is contained in:
parent
775f4fc593
commit
ca38575a6b
@ -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-9
|
||||
|
||||
## Sources
|
||||
|
@ -1,13 +1,14 @@
|
||||
Summary: AlmaLinux Synergy repository configuration
|
||||
Name: almalinux-release-synergy
|
||||
Version: 9
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2
|
||||
URL: https://almalinux.org/
|
||||
BuildArch: noarch
|
||||
Source0: almalinux-synergy.repo
|
||||
|
||||
Requires: epel-release
|
||||
Requires(post): epel-release
|
||||
Provides: almalinux-release-synergy = 9
|
||||
|
||||
%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 <alukoshko@almalinux.org> - 9-2
|
||||
- Enable PowerTools/CRB automatically
|
||||
- Enable countme
|
||||
|
||||
* Mon Aug 14 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 9-1
|
||||
- Initial version
|
||||
|
Loading…
Reference in New Issue
Block a user