File tree 2 files changed +41
-0
lines changed
2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ %define __spec_install_post %{nil }
2
+ %define __os_install_post %{_dbpath }/brp-compress
3
+ %define debug_package %{nil }
4
+
5
+ Name: hal-bitcoin
6
+ Summary: hal - the Bitcoin companion
7
+ Version: @@VERSION@@
8
+ Release: @@RELEASE@@
9
+ License: CC0
10
+ Group: Applications/System
11
+ Source0: %{name }-%{version }.tar.gz
12
+ URL: https://github.com/stevenroose/hal/
13
+
14
+ BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root
15
+
16
+ %description
17
+ %{summary }
18
+
19
+ %prep
20
+ %setup -q
21
+
22
+ %install
23
+ rm -rf %{buildroot }
24
+ mkdir -p %{buildroot }
25
+ cp -a * %{buildroot }
26
+
27
+ %clean
28
+ rm -rf %{buildroot }
29
+
30
+ %files
31
+ %defattr(-,root,root,-)
32
+ %{_bindir }/*
Original file line number Diff line number Diff line change @@ -39,3 +39,12 @@ lightning-invoice = "0.2.0"
39
39
# For external commands
40
40
jobserver = " 0.1.11"
41
41
shell-escape = " 0.1.4"
42
+
43
+ [package .metadata .rpm ]
44
+ package = " hal-bitcoin"
45
+
46
+ [package .metadata .rpm .cargo ]
47
+ buildflags = [" --release" ]
48
+
49
+ [package .metadata .rpm .targets ]
50
+ hal = { path = " /usr/bin/hal" }
You can’t perform that action at this time.
0 commit comments