diff --git a/no-rebuild.patch b/no-rebuild.patch new file mode 100644 index 0000000..beea013 --- /dev/null +++ b/no-rebuild.patch @@ -0,0 +1,12 @@ +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/Makefile ++++ b/Makefile +@@ -35,4 +35,4 @@ uninstall: + check: rc + ./rc run-tests + +-.PHONY: all rc clean install uninstall doc ++.PHONY: all clean install uninstall doc diff --git a/rc.changes b/rc.changes index 66c968d..75ef37f 100644 --- a/rc.changes +++ b/rc.changes @@ -2,6 +2,8 @@ Sat Dec 21 13:02:42 UTC 2024 - Matej Cepl - Fix the location of the binary (/bin instead of %{_bindir}). +- Add no-rebuild.patch to avoid rebuilding the binary during + %install. ------------------------------------------------------------------- Wed Oct 23 10:54:19 UTC 2024 - mcepl@cepl.eu diff --git a/rc.spec b/rc.spec index 4a4c040..360fcea 100644 --- a/rc.spec +++ b/rc.spec @@ -23,6 +23,9 @@ Version: 0+git.1725436050.2b2d211 Summary: A simple shell URL: https://git.sr.ht/~sircmpwn/rc Source0: %{name}-%{version}.tar.zst +# PATCH-FIX-UPSTREAM no-rebuild.patch mcepl@suse.com +# rc target is quite certainly not PHONY +Patch0: no-rebuild.patch BuildRequires: make BuildRequires: hare BuildRequires: madeline