瀏覽代碼

Need to create %_bindir first

Alois Mahdal 7 年之前
父節點
當前提交
547c4797f4
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      bisq-exchange.spec.in

+ 1
- 1
bisq-exchange.spec.in 查看文件

@@ -29,7 +29,7 @@ The decentralized bitcoin exchange https://bisq.network
29 29
     } > bisq-exchange
30 30
 
31 31
 %install
32
-    mkdir -p "%{buildroot}/opt/bisq-exchange"
32
+    mkdir -p "%{buildroot}/opt/bisq-exchange" "%{buildroot}%{_bindir}"
33 33
     cp -r ./[a-z0-9]* "%{buildroot}/opt/bisq-exchange"
34 34
     install -m 0755 bisq-exchange "%{buildroot}/opt/bisq-exchange"
35 35
     ln -sT "/opt/bisq-exchange/bisq-exchange" "%{buildroot}${_bindir}/bisq-exchange"