add stream dnf var

This commit is contained in:
Louis Abel 2022-08-30 02:00:40 -07:00
parent 1da1a2b9f2
commit f176da1a12
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -10,7 +10,7 @@
%define distro_code Green Obsidian %define distro_code Green Obsidian
%define major 8 %define major 8
%define minor 6 %define minor 6
%define rocky_rel 3 %define rocky_rel 4
%define upstream_rel %{major}.%{minor} %define upstream_rel %{major}.%{minor}
%define rpm_license BSD-3-Clause %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 install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "pub/rocky" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir echo "pub/rocky" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir
echo "pub/sig" > %{buildroot}%{_sysconfdir}/dnf/vars/sigcontentdir echo "pub/sig" > %{buildroot}%{_sysconfdir}/dnf/vars/sigcontentdir
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
# Copy out GPG keys # Copy out GPG keys
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg 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}/yum.repos.d/Rocky-*.repo
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir %config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
%config(noreplace) %{_sysconfdir}/dnf/vars/sigcontentdir %config(noreplace) %{_sysconfdir}/dnf/vars/sigcontentdir
%config(noreplace) %{_sysconfdir}/dnf/vars/stream
%files -n rocky-gpg-keys %files -n rocky-gpg-keys
%{_sysconfdir}/pki/rpm-gpg/ %{_sysconfdir}/pki/rpm-gpg/
%changelog %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 * Fri May 20 2022 Louis Abel <label@rockylinux.org> - 8.6-3
- Add pub/sig var for dnf - Add pub/sig var for dnf