mirror of
https://git.rockylinux.org/staging/src/rocky-release.git
synced 2024-11-15 11:11:23 +00:00
add stream dnf var
This commit is contained in:
parent
1da1a2b9f2
commit
06557312d9
@ -10,7 +10,7 @@
|
||||
%define distro_code Green Obsidian
|
||||
%define major 8
|
||||
%define minor 6
|
||||
%define rocky_rel 3
|
||||
%define rocky_rel 4
|
||||
%define upstream_rel %{major}.%{minor}
|
||||
%define rpm_license BSD-3-Clause
|
||||
|
||||
@ -189,6 +189,7 @@ install -m 0644 %{SOURCE302} %{buildroot}/%{_prefix}/lib/systemd/system-preset/
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
|
||||
echo "pub/rocky" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir
|
||||
echo "pub/sig" > %{buildroot}%{_sysconfdir}/dnf/vars/sigcontentdir
|
||||
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
|
||||
|
||||
# Copy out GPG keys
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
|
||||
@ -235,11 +236,15 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
||||
%config(noreplace) %{_sysconfdir}/yum.repos.d/Rocky-*.repo
|
||||
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
|
||||
%config(noreplace) %{_sysconfdir}/dnf/vars/sigcontentdir
|
||||
%config(noreplace) %{_sysconfdir}/dnf/vars/stream
|
||||
|
||||
%files -n rocky-gpg-keys
|
||||
%{_sysconfdir}/pki/rpm-gpg/
|
||||
|
||||
%changelog
|
||||
* Tue Aug 30 2022 Louis Abel <label@rockylinux.org> - 8.6-4
|
||||
- Add stream dnf var
|
||||
|
||||
* Fri May 20 2022 Louis Abel <label@rockylinux.org> - 8.6-3
|
||||
- Add pub/sig var for dnf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user