From 7f6f7221e91476335eb11163fc7b4f300fcbb66c Mon Sep 17 00:00:00 2001 From: nazunalika Date: Fri, 9 Apr 2021 11:14:55 -0700 Subject: [PATCH] comments --- SPECS/rocky-release.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SPECS/rocky-release.spec b/SPECS/rocky-release.spec index 420f581..2003f8b 100644 --- a/SPECS/rocky-release.spec +++ b/SPECS/rocky-release.spec @@ -183,27 +183,27 @@ cat > %{buildroot}%{_sysconfdir}/rpm/macros.dist << EOF %%el%{major} 1 EOF -# use unbranded datadir +# Data directory install -d -m 0755 %{buildroot}%{_datadir}/rocky-release ln -s rocky-release %{buildroot}%{_datadir}/redhat-release install -p -m 0644 %{SOURCE200} %{buildroot}%{_datadir}/rocky-release/ -# copy systemd presets +# systemd presets install -d -m 0755 %{buildroot}%{_prefix}/lib/systemd/system-preset/ install -m 0644 %{SOURCE300} %{buildroot}/%{_prefix}/lib/systemd/system-preset/ install -m 0644 %{SOURCE301} %{buildroot}/%{_prefix}/lib/systemd/system-preset/ install -m 0644 %{SOURCE302} %{buildroot}/%{_prefix}/lib/systemd/system-preset/ -# repo stuff +# dnf stuff install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars echo "stock" > %{buildroot}%{_sysconfdir}/dnf/vars/infra echo "rocky" > %{buildroot}%{_sysconfdir}/dnf/vars/contentdir -# copy GPG keys +# Copy out GPG keys install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg install -p -m 0644 %{_sourcedir}/RPM-GPG-KEY-* %{buildroot}%{_sysconfdir}/pki/rpm-gpg/ -# copy yum repos +# Copy our yum repos install -d -m 0755 %{buildroot}%{_sysconfdir}/yum.repos.d install -p -m 0644 %{_sourcedir}/*.repo %{buildroot}%{_sysconfdir}/yum.repos.d/