diff --git a/SPECS/syncthing.spec b/SPECS/syncthing.spec index a9dd408..d03bbe4 100644 --- a/SPECS/syncthing.spec +++ b/SPECS/syncthing.spec @@ -1,28 +1,30 @@ Name: syncthing -Version: 0.12.18 +Version: 0.13.1 Release: 0%{?dist} Summary: Open, trustworthy and decentralized sync +# Set to amd64 or 386 +%define arch amd64 Group: Applications/System License: MPLv2 URL: https://github.com/syncthing/syncthing -Source0: https://github.com/syncthing/syncthing/releases/download/v0.12.17/syncthing-linux-386-v%{version}.tar.gz +Source0: https://github.com/syncthing/syncthing/releases/download/v${version}/syncthing-linux-%{arch}-v%{version}.tar.gz Requires: policycoreutils-python %description -Syncthing replaces proprietary sync and cloud services with something open, -trustworthy and decentralized. Your data is your data alone and you deserve +Syncthing replaces proprietary sync and cloud services with something open, +trustworthy and decentralized. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how it's transmitted over the Internet. %prep tar -zxf %{SOURCE0} -cd syncthing-linux-386-v%{version}/ +cd syncthing-linux-%{arch}-v%{version}/ %install mkdir -p %{buildroot}/usr/bin/ -cd syncthing-linux-386-v%{version}/ +cd syncthing-linux-%{arch}-v%{version}/ cp syncthing %{buildroot}/usr/bin/ mkdir -p %{buildroot}/etc/systemd/system/