add sig var

This commit is contained in:
nazunalika 2022-05-20 10:36:39 -07:00
parent c728a1011f
commit 9512b4acc0
Signed by: label
GPG Key ID: 6735C0E1BD65D048

View File

@ -20,11 +20,12 @@
%define distro_code Blue Onyx %define distro_code Blue Onyx
%define major 9 %define major 9
%define minor 0 %define minor 0
%define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.16} %define rocky_rel 1%{?rllh:.%{rllh}}%{!?rllh:.17}
%define rpm_license BSD-3-Clause %define rpm_license BSD-3-Clause
%define dist .el%{major} %define dist .el%{major}
%define contentdir pub/rocky %define contentdir pub/rocky
%define sigcontent pub/sig
%define rltype stable %define rltype stable
%define rlosid rocky %define rlosid rocky
@ -347,6 +348,7 @@ install -p -m 0644 %{SOURCE1203} %{buildroot}%{_sysconfdir}/yum.repos.d/
# dnf stuff # dnf stuff
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
echo "%{contentdir}" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir echo "%{contentdir}" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir
echo "%{sigcontent}" > %{buildroot}%{_sysconfdir}/dnf/vars/sigcontentdir
echo "%{rltype}" > %{buildroot}%{_sysconfdir}/dnf/vars/rltype echo "%{rltype}" > %{buildroot}%{_sysconfdir}/dnf/vars/rltype
# Copy out GPG keys # Copy out GPG keys
@ -399,6 +401,7 @@ install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
%config(noreplace) %{_sysconfdir}/yum.repos.d/rocky-extras.repo %config(noreplace) %{_sysconfdir}/yum.repos.d/rocky-extras.repo
%config(noreplace) %{_sysconfdir}/yum.repos.d/rocky-devel.repo %config(noreplace) %{_sysconfdir}/yum.repos.d/rocky-devel.repo
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir %config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
%config(noreplace) %{_sysconfdir}/dnf/vars/sigcontentdir
%config(noreplace) %{_sysconfdir}/dnf/vars/rltype %config(noreplace) %{_sysconfdir}/dnf/vars/rltype
%files -n rocky-gpg-keys%{?rlpkg} %files -n rocky-gpg-keys%{?rlpkg}
@ -412,7 +415,7 @@ install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
%{_datadir}/pki/sb-certs/* %{_datadir}/pki/sb-certs/*
%changelog %changelog
* Sun May 01 2022 Louis Abel <label@rockylinux.org> - 9.0-1.16 * Sun May 01 2022 Louis Abel <label@rockylinux.org> - 9.0-1.17
- Backport current SB certs for now - Backport current SB certs for now
- Add logrotate timer and switcheroo - Add logrotate timer and switcheroo
- Add missing macros - Add missing macros
@ -425,6 +428,7 @@ install -m 0644 %{SOURCE404} %{buildroot}/%{_prefix}/lib/sysctl.d/50-redhat.conf
- Add official "stable" key from build system - Add official "stable" key from build system
- List both GPG keys in repo files - List both GPG keys in repo files
- Fix rlpkg macro for gpg keys - Fix rlpkg macro for gpg keys
- Add sig content dir
* Mon Jan 10 2022 Louis Abel <label@rockylinux.org> - 9.0-1.1 * Mon Jan 10 2022 Louis Abel <label@rockylinux.org> - 9.0-1.1
- Add LOGO to /etc/os-release - Add LOGO to /etc/os-release