diff --git a/t2linux-config/t2linux-config.spec b/t2linux-config/t2linux-config.spec index eadefa1..70b0cf4 100644 --- a/t2linux-config/t2linux-config.spec +++ b/t2linux-config/t2linux-config.spec @@ -22,8 +22,8 @@ echo -e 'add_drivers+=" apple_bce snd_seq "' > t2linux-modules-install.conf %install -install -D -m 755 %{_sourcedir}/firmware.sh %{buildroot}/%{_bindir}/firmware.sh -install -Dm 755 %{_sourcedir}/touchbar.sh %{buildroot}/%{_bindir}/touchbar.sh +install -D -m 755 %{SOURCE0} %{buildroot}/%{_bindir}/touchbar.sh +install -D -m 755 %{SOURCE1} %{buildroot}/%{_bindir}/firmware.sh install -D -m 644 t2linux-modules-install.conf %{buildroot}/etc/dracut.conf.d/t2linux-modules-install.conf diff --git a/t2linux-repo/t2linux-repo.spec b/t2linux-repo/t2linux-repo.spec index 9db4e98..3bee60b 100644 --- a/t2linux-repo/t2linux-repo.spec +++ b/t2linux-repo/t2linux-repo.spec @@ -17,19 +17,12 @@ DNF repo files for linux on t2 macs. %build %install -install -d -m 755 %{_builddir}/etc/pki/rpm-gpg -install -m 644 t2linux-fedora.pub $RPM_BUILD_ROOT/etc/pki/rpm-gpg/ -install -m 644 t2linux-fedora-new.pub $RPM_BUILD_ROOT/etc/pki/rpm-gpg/ +install -D -m 644 %{SOURCE0} %{buildroot}/etc/pki/rpm-gpg/t2linux-fedora.pub +install -D -m 644 %{SOURCE1} %{buildroot}/etc/pki/rpm-gpg/t2linux-fedora-new.pub -install -d -m 755 %{_builddir}/etc/yum.repos.d -install -m 644 t2linux-fedora.repo $RPM_BUILD_ROOT/etc/yum.repos.d +install -D -m 644 %{SOURCE2} %{buildroot}/etc/yum.repos.d/t2linux-fedora.repo %files /etc/yum.repos.d/t2linux-fedora.repo /etc/pki/rpm-gpg/t2linux-fedora.pub /etc/pki/rpm-gpg/t2linux-fedora-new.pub - -%changelog - -* Mon Apr 24 2023 Sharpened Blade -- Made public GPG key ascii-armored