File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Name: syncthing
2- Version: 0.12.18
2+ Version: 0.13.1
33Release: 0%{?dist }
44Summary: Open, trustworthy and decentralized sync
5+ # Set to amd64 or 386
6+ %define arch amd64
57
68Group: Applications/System
79License: MPLv2
810URL: https://github.com/syncthing/syncthing
9- Source0: https://github.com/syncthing/syncthing/releases/download/v0.12.17 /syncthing-linux-386 -v%{version }.tar.gz
11+ Source0: https://github.com/syncthing/syncthing/releases/download/v${version} /syncthing-linux-%{ arch } -v%{version }.tar.gz
1012
1113Requires: policycoreutils-python
1214
1315%description
14- Syncthing replaces proprietary sync and cloud services with something open,
15- trustworthy and decentralized. Your data is your data alone and you deserve
16+ Syncthing replaces proprietary sync and cloud services with something open,
17+ trustworthy and decentralized. Your data is your data alone and you deserve
1618to choose where it is stored, if it is shared with some third party and how
1719it's transmitted over the Internet.
1820
1921%prep
2022tar -zxf %{SOURCE0 }
21- cd syncthing-linux-386 -v%{version }/
23+ cd syncthing-linux-%{ arch } -v%{version }/
2224
2325%install
2426mkdir -p %{buildroot }/usr/bin/
25- cd syncthing-linux-386 -v%{version }/
27+ cd syncthing-linux-%{ arch } -v%{version }/
2628cp syncthing %{buildroot }/usr/bin/
2729
2830mkdir -p %{buildroot }/etc/systemd/system/
You can’t perform that action at this time.
0 commit comments