[RPM] fix build on fedora >= 33

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2020-10-29 01:03:36 +03:00
parent 530eba1b91
commit b2f0278180
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -81,6 +81,10 @@ pushd build
pushd build
%endif
%if 0%{?fedora} >= 33
pushd %{_target_platform}
%endif
chrpath -d i2pd
%{__install} -D -m 755 i2pd %{buildroot}%{_sbindir}/i2pd
%{__install} -d -m 755 %{buildroot}%{_datadir}/i2pd