summaryrefslogtreecommitdiff
path: root/rust-wgconfd.spec
diff options
context:
space:
mode:
Diffstat (limited to 'rust-wgconfd.spec')
-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