Verified Commit 06557312 authored by Louis Abel's avatar Louis Abel 📺
Browse files

add stream dnf var

parent 1da1a2b9
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment