diff --git a/.gitignore b/.gitignore index ee73460..50b3d15 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *~ *.tar.gz +BUILD diff --git a/RPMS/x86_64/syncthing-0.10.29-2.0.fc21.x86_64.rpm b/RPMS/x86_64/syncthing-0.10.29-2.0.fc21.x86_64.rpm new file mode 100644 index 0000000..50cb879 Binary files /dev/null and b/RPMS/x86_64/syncthing-0.10.29-2.0.fc21.x86_64.rpm differ diff --git a/RPMS/x86_64/syncthing-0.10.29-3.0.fc21.x86_64.rpm b/RPMS/x86_64/syncthing-0.10.29-3.0.fc21.x86_64.rpm new file mode 100644 index 0000000..5d075f2 Binary files /dev/null and b/RPMS/x86_64/syncthing-0.10.29-3.0.fc21.x86_64.rpm differ diff --git a/syncthing@.service b/SOURCES/syncthing@.service similarity index 89% rename from syncthing@.service rename to SOURCES/syncthing@.service index d0405fe..c697df3 100644 --- a/syncthing@.service +++ b/SOURCES/syncthing@.service @@ -6,7 +6,7 @@ Type=simple User=%I Environment=STNORESTART=yes ExecStart=/usr/bin/syncthing -Restart=on-failure +Restart=on-success [Install] WantedBy=multi-user.target diff --git a/SRPMS/syncthing-0.10.29-2.0.fc21.src.rpm b/SRPMS/syncthing-0.10.29-2.0.fc21.src.rpm new file mode 100644 index 0000000..dba3f27 Binary files /dev/null and b/SRPMS/syncthing-0.10.29-2.0.fc21.src.rpm differ diff --git a/SRPMS/syncthing-0.10.29-3.0.fc21.src.rpm b/SRPMS/syncthing-0.10.29-3.0.fc21.src.rpm new file mode 100644 index 0000000..d084830 Binary files /dev/null and b/SRPMS/syncthing-0.10.29-3.0.fc21.src.rpm differ diff --git a/syncthing.spec b/syncthing.spec index be97ccd..d9c62fc 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -11,11 +11,11 @@ %endif Name:syncthing -Version:0.9.17 -Release:2.0%{?dist} +Version:0.10.29 +Release:3.0%{?dist} Summary:Syncthing License:MIT -URL:http://syncthing.net/ +URL:http://syncthing.net/ Source0:https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-linux-%{altarch}-v%{version}.tar.gz Source1: syncthing@.service Source2: %{name}-linux-386-v%{version}.tar.gz @@ -40,7 +40,7 @@ Using syncthing, that control is returned to you. rm -rf %{buildroot} mkdir -p %{buildroot}%{_bindir} -install -p -m 0755 %{name}-linux-%{altarch}-v%{version}/syncthing %{buildroot}%{_bindir} +install -p -m 0755 -g wheel %{name}-linux-%{altarch}-v%{version}/syncthing %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_unitdir} install -p -m 0644 %{S:1} %{buildroot}%{_unitdir} @@ -50,13 +50,13 @@ install -p -m 0644 %{S:1} %{buildroot}%{_unitdir} %systemd_post %{name}@.service %preun -%systemd_preun %{name}@.servie +%systemd_preun %{name}@.service %postun -%systemd_postun_with_restart %{name}@.service +%systemd_postun_with_restart %{name}@.service %files -%doc %{name}-linux-%{altarch}-v%{version}/README.txt %{name}-linux-%{altarch}-v%{version}/LICENSE.txt %{name}-linux-%{altarch}-v%{version}/CONTRIBUTORS.txt +%doc %{name}-linux-%{altarch}-v%{version}/README.txt %{name}-linux-%{altarch}-v%{version}/LICENSE.txt %{name}-linux-%{altarch}-v%{version}/AUTHORS.txt %{_bindir}/syncthing %{_unitdir}/%{name}@.service @@ -95,4 +95,3 @@ install -p -m 0644 %{S:1} %{buildroot}%{_unitdir} * Mon Jul 28 2014 Onuralp SEZER 0.8.21-1 - Initial Version -