Enable PowerTools/CRB automatically and countme
This commit is contained in:
parent
9702f81985
commit
5c91fcc3fa
@ -6,6 +6,7 @@ mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/synergy
|
|||||||
# baseurl=https://repo.almalinux.org/almalinux/$releasever/synergy/$basearch/os/
|
# baseurl=https://repo.almalinux.org/almalinux/$releasever/synergy/$basearch/os/
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=1
|
||||||
|
countme=1
|
||||||
gpgkey=https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
|
gpgkey=https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
Summary: AlmaLinux Synergy repository configuration
|
Summary: AlmaLinux Synergy repository configuration
|
||||||
Name: almalinux-release-synergy
|
Name: almalinux-release-synergy
|
||||||
Version: 8
|
Version: 8
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://almalinux.org/
|
URL: https://almalinux.org/
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Source0: almalinux-synergy.repo
|
Source0: almalinux-synergy.repo
|
||||||
|
|
||||||
Requires: epel-release
|
Requires: epel-release
|
||||||
|
Requires(post): epel-release
|
||||||
Provides: almalinux-release-synergy = 8
|
Provides: almalinux-release-synergy = 8
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -16,10 +17,19 @@ DNF configuration for AlmaLinux Synergy repo
|
|||||||
%install
|
%install
|
||||||
install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/almalinux-synergy.repo
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-synergy.repo
|
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-synergy.repo
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 24 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 8-2
|
||||||
|
- Enable PowerTools/CRB automatically
|
||||||
|
- Enable countme
|
||||||
|
|
||||||
* Mon Aug 14 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 8-1
|
* Mon Aug 14 2023 Andrew Lukoshko <alukoshko@almalinux.org> - 8-1
|
||||||
- Initial version
|
- Initial version
|
||||||
|
Loading…
Reference in New Issue
Block a user