- Add no-rebuild.patch to avoid rebuilding the binary during

%install.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:hare/rc?expand=0&rev=3
This commit is contained in:
Matej Cepl 2024-12-21 13:21:42 +00:00 committed by Git OBS Bridge
parent b68cdc13a9
commit ee6f4ab625
3 changed files with 17 additions and 0 deletions

12
no-rebuild.patch Normal file
View File

@ -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

View File

@ -2,6 +2,8 @@
Sat Dec 21 13:02:42 UTC 2024 - Matej Cepl <mcepl@cepl.eu> Sat Dec 21 13:02:42 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Fix the location of the binary (/bin instead of %{_bindir}). - 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 Wed Oct 23 10:54:19 UTC 2024 - mcepl@cepl.eu

View File

@ -23,6 +23,9 @@ Version: 0+git.1725436050.2b2d211
Summary: A simple shell Summary: A simple shell
URL: https://git.sr.ht/~sircmpwn/rc URL: https://git.sr.ht/~sircmpwn/rc
Source0: %{name}-%{version}.tar.zst 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: make
BuildRequires: hare BuildRequires: hare
BuildRequires: madeline BuildRequires: madeline