diff --git a/README.md b/README.md index 1e2a7b1..efbfced 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,18 @@ ## RPM Install ``` -yum install https://github.com/mlazarov/syncthing-centos/releases/download/v0.13.1/syncthing-0.13.1-0.el7.centos.x86_64.rpm +yum install https://github.com/mlazarov/syncthing-centos/releases/download/v0.14.7/syncthing-0.14.7-0.el7.centos.x86_64.rpm ``` ## RPM Build - #### Install rpmbuild requirements ``` yum install -y yum-utils vim rpm-build rpmdevtools redhat-rpm-config make gcc gcc-c++ git ``` - ### Clone the repo and build rpm package ``` @@ -24,7 +22,9 @@ cd ~ git clone https://github.com/mlazarov/syncthing-centos.git rpmbuild/ mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros -cd rpmbuild/SPECS/ +cd ~/rpmbuild/SOURCES/ +wget https://github.com/syncthing/syncthing/releases/download/v0.14.7/syncthing-linux-amd64-v0.14.7.tar.gz +cd ~/rpmbuild/SPECS/ rpmbuild -bb syncthing.spec ```