Skip to content

Commit

Permalink
updated to version 0.10.29
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sichau committed Mar 23, 2015
1 parent 7c5df44 commit b837cca
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*~
*.tar.gz
BUILD
Binary file added RPMS/x86_64/syncthing-0.10.29-2.0.fc21.x86_64.rpm
Binary file not shown.
Binary file added RPMS/x86_64/syncthing-0.10.29-3.0.fc21.x86_64.rpm
Binary file not shown.
2 changes: 1 addition & 1 deletion [email protected] → SOURCES/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -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
Binary file added SRPMS/syncthing-0.10.29-2.0.fc21.src.rpm
Binary file not shown.
Binary file added SRPMS/syncthing-0.10.29-3.0.fc21.src.rpm
Binary file not shown.
15 changes: 7 additions & 8 deletions syncthing.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
Source2: %{name}-linux-386-v%{version}.tar.gz
Expand All @@ -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}
Expand All @@ -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

Expand Down Expand Up @@ -95,4 +95,3 @@ install -p -m 0644 %{S:1} %{buildroot}%{_unitdir}

* Mon Jul 28 2014 Onuralp SEZER <[email protected]> 0.8.21-1
- Initial Version

0 comments on commit b837cca

Please sign in to comment.