From 94ab6880fae4414faa222b4f2fc064e2873102ed62f3ed821af76977d1e8495d Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 23 Aug 2015 17:10:19 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/network/syncthing?expand=0&rev=29 --- syncthing.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/syncthing.spec b/syncthing.spec index 497ac8b..8ebedb4 100644 --- a/syncthing.spec +++ b/syncthing.spec @@ -28,7 +28,7 @@ Source1: %{name}.firewall BuildRequires: go >= 1.3 BuildRequires: systemd BuildRequires: systemd-rpm-macros -%go_exclusivearch +%go_provides %description Syncthing replaces proprietary sync and cloud services with @@ -48,10 +48,10 @@ sed -i '/^RestartForceExitStatus=/d;s/^\(SuccessExitStatus=\).*$/\12/' \ %build echo "v%{version}" | tee RELEASE %goprep github.com/%{name}/%{name} -go run build.go -no-upgrade build +go run build.go $BUILDFLAGS -no-upgrade %install -install -Dm 0755 %{name} %{buildroot}%{_bindir}/%{name} +install -Dm 0755 bin/%{name} %{buildroot}%{_bindir}/%{name} install -Dm 0644 etc/linux-systemd/system/%{name}@.service \ %{buildroot}%{_unitdir}/%{name}@.service install -Dm 0644 etc/linux-systemd/user/%{name}.service \