|
|
|
|
32
|
mkdir -p "%{buildroot}/opt/bisq-exchange"
|
32
|
mkdir -p "%{buildroot}/opt/bisq-exchange"
|
33
|
cp -r ./[a-z0-9]* "%{buildroot}/opt/bisq-exchange"
|
33
|
cp -r ./[a-z0-9]* "%{buildroot}/opt/bisq-exchange"
|
34
|
install -m 0755 bisq-exchange "%{buildroot}/opt/bisq-exchange"
|
34
|
install -m 0755 bisq-exchange "%{buildroot}/opt/bisq-exchange"
|
|
|
35
|
+ ln -sT "/opt/bisq-exchange/bisq-exchange" "%{buildroot}${_bindir}/bisq-exchange"
|
35
|
find "%{buildroot}/opt/bisq-exchange" | LC_ALL=C sort > all.list
|
36
|
find "%{buildroot}/opt/bisq-exchange" | LC_ALL=C sort > all.list
|
36
|
find "%{buildroot}/opt/bisq-exchange" -type d | LC_ALL=C sort > dirs.list
|
37
|
find "%{buildroot}/opt/bisq-exchange" -type d | LC_ALL=C sort > dirs.list
|
37
|
sed -i -e "s|^%{buildroot}||" all.list dirs.list
|
38
|
sed -i -e "s|^%{buildroot}||" all.list dirs.list
|
|
|
|
|
39
|
comm -23 all.list dirs.list >> files-section
|
40
|
comm -23 all.list dirs.list >> files-section
|
40
|
|
41
|
|
41
|
%files -f files-section
|
42
|
%files -f files-section
|
|
|
43
|
+%{_bindir}/bisq-exchange
|
42
|
/opt/bisq-exchange/bisq-exchange
|
44
|
/opt/bisq-exchange/bisq-exchange
|
43
|
|
45
|
|
44
|
%changelog
|
46
|
%changelog
|