Line | |
---|
1 | # |
---|
2 | # Capstone from Git |
---|
3 | # |
---|
4 | |
---|
5 | %if %{release} == %{nil} |
---|
6 | %define release 1 |
---|
7 | %endif |
---|
8 | |
---|
9 | %include %{_configdir}/base.cfg |
---|
10 | |
---|
11 | %include %{_configdir}/bare-config.cfg |
---|
12 | |
---|
13 | # |
---|
14 | # Capstone Version. |
---|
15 | # |
---|
16 | %define capstone_version 4.0.1 |
---|
17 | |
---|
18 | # |
---|
19 | # Set source from github. |
---|
20 | # |
---|
21 | %source set capstone --rsb-file=capstone-%{capstone_version}.tar.gz https://github.com/aquynh/capstone/archive/%{capstone_version}.tar.gz |
---|
22 | %hash sha512 capstone-%{capstone_version}.tar.gz 43c52024065b41b45eff9423341db3f3d5163fa7aa01b360faa30437786740c8f2c34c36faa04dced5308e09d8bd78df3bad0ab9c06f98612169edb176f83c36 |
---|
23 | |
---|
24 | # |
---|
25 | # The build instructions. |
---|
26 | # |
---|
27 | %include %{_configdir}/capstone-1-1.cfg |
---|
Note: See
TracBrowser
for help on using the repository browser.