rspamd-1.8.3 installs missing symlinks
eklitzke opened this issue · 1 comments
eklitzke commented
After installing from the lorbus copr I get a bad symlink:
$ ls -l /usr/bin/rspamd
lrwxrwxrwx 1 root root 12 Dec 20 17:31 /usr/bin/rspamd -> rspamd-1.8.3
I'm not really sure if this is the best way to fix the issue, but this patch applied locally seems to resolve the problem:
diff --git a/rspamd.spec b/rspamd.spec
index f01ca9d..12cc9aa 100644
--- a/rspamd.spec
+++ b/rspamd.spec
@@ -137,7 +137,6 @@ rm -rf freebsd
%install
%{make_install} DESTDIR=%{buildroot} INSTALLDIRS=vendor
# The tests install some files we don't want so ship
-rm -f %{buildroot}%{_bindir}/rspam{adm,c,d}-%{version}
rm -f %{buildroot}%{_libdir}/debug/usr/bin/rspam*
install -Ddpm 0755 %{buildroot}%{_sysconfdir}/%{name}/{local,override}.d/
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_presetdir}/80-rspamd.preset
LorbusChris commented
Thank you for the report!
It looks like a reasonable fix to me. Will investigate this a little further and do a new build asap.