From 75f86b68091bdffeb555a3d53471104a17138956 Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Fri, 22 Sep 2023 22:24:45 -0500 Subject: [PATCH] fix: fix invalid justfile include paths --- build/ublue-os-just/ublue-os-just.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build/ublue-os-just/ublue-os-just.spec b/build/ublue-os-just/ublue-os-just.spec index cbf35f0e..d0532dc7 100644 --- a/build/ublue-os-just/ublue-os-just.spec +++ b/build/ublue-os-just/ublue-os-just.spec @@ -1,7 +1,7 @@ Name: ublue-os-just Packager: ublue-os Vendor: ublue-os -Version: 0.3 +Version: 0.4 Release: 1%{?dist} Summary: ublue-os just integration License: MIT @@ -36,7 +36,7 @@ cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} # Create justfile which contains all .just files included in this package for justfile in %{buildroot}%{_datadir}/%{VENDOR}/%{sub_name}/*.just; do - echo "!include %{_datadir}/%{VENDOR}/%{sub_name}/${justfile}" >> "%{buildroot}%{_datadir}/%{VENDOR}/justfile" + echo "!include %{_datadir}/%{VENDOR}/%{sub_name}/$(basename ${justfile})" >> "%{buildroot}%{_datadir}/%{VENDOR}/justfile" done %files @@ -47,6 +47,9 @@ done %attr(0644,root,root) %{_datadir}/%{VENDOR}/justfile %changelog +* Thu Sep 21 2023 Benjamin Sherman - 0.4 +- Correct justfile include paths + * Thu Sep 21 2023 Kyle Gospodnetich - 0.3 - Modify just files to be numbered for ordered loading - Move to using a single master justfile