summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2019-04-03 16:37:40 +0300
committerHristo Venev <hristo@venev.name>2019-04-03 16:37:40 +0300
commitc90cffcced4ee5b78667f426ea742a62bc337bf6 (patch)
treec6ea6e5bf725b93d9fce4514bb8a9e4c4635579b
parent7c841caf27d43595be6afb1cc87873ba1c741aba (diff)
Fix repo path.
-rw-r--r--rust-wgconfd.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/rust-wgconfd.spec b/rust-wgconfd.spec
index 1ea667d..3da6388 100644
--- a/rust-wgconfd.spec
+++ b/rust-wgconfd.spec
@@ -7,12 +7,12 @@
Name: rust-%{crate}
Version: 0.1.1
Release: 1%{?dist}
-Summary: # FIXME
+Summary: A configuration manager for WireGuard
# Upstream license specification: None
License: LGPLv3+
-URL: https://git.venev.name/hristo/wgconfd.git
+URL: https://git.venev.name/hristo/wgconfd
Source: wgconfd-%{version_no_tilde}.tar.xz
ExclusiveArch: %{rust_arches}
@@ -32,8 +32,9 @@ wgconfd is a configuration manager for WireGuard.
%description %{_description}
%package -n %{crate}
-Summary: A configuration manager for WireGuard
-Requires: /bin/wg
+Summary: %{summary}
+Requires: /usr/bin/curl
+Requires: /usr/bin/wg
%description -n %{crate} %{_description}
@@ -45,6 +46,7 @@ Requires: /bin/wg
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
+sed -i 's@^\(ExecStart=\)/usr/bin/env wgconfd @\1%{_bindir}/wgconfd @' wgconfd@.service
%cargo_prep
%build