- 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:
parent
b68cdc13a9
commit
ee6f4ab625
12
no-rebuild.patch
Normal file
12
no-rebuild.patch
Normal 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
|
@ -2,6 +2,8 @@
|
||||
Sat Dec 21 13:02:42 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- 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
|
||||
|
3
rc.spec
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user