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/