fedora: Pass explicit bindir, mandir, docdir, and drop OpenSUSE override
Fedora's parameters currently match the ones from the Makefile (which is based on GNU recommendations), but that's not necessarily guaranteed. This should make the OpenSUSE Tumbleweed override for docdir unnecessary: drop it. Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
345192ad84
commit
63d1390229
1 changed files with 1 additions and 5 deletions
|
@ -49,11 +49,7 @@ This package adds SELinux enforcement to passt(1) and pasta(1).
|
|||
%make_build
|
||||
|
||||
%install
|
||||
%if 0%{?suse_version} > 910
|
||||
%make_install DESTDIR=%{buildroot} prefix=%{_prefix} docdir=%{_prefix}/share/doc/packages/passt
|
||||
%else
|
||||
%make_install DESTDIR=%{buildroot} prefix=%{_prefix}
|
||||
%endif
|
||||
%make_install DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_bindir} mandir=%{_mandir} docdir=%{_docdir}/passt
|
||||
%ifarch x86_64
|
||||
ln -sr %{buildroot}%{_mandir}/man1/passt.1 %{buildroot}%{_mandir}/man1/passt.avx2.1
|
||||
ln -sr %{buildroot}%{_mandir}/man1/pasta.1 %{buildroot}%{_mandir}/man1/pasta.avx2.1
|
||||
|
|
Loading…
Reference in a new issue