From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 7/7] fedora: Pass explicit bindir, mandir, docdir, and drop OpenSUSE override Date: Mon, 29 Aug 2022 17:17:09 +0200 Message-ID: <20220829151709.2650896-8-sbrivio@redhat.com> In-Reply-To: <20220829151709.2650896-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1879386384443880811==" --===============1879386384443880811== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=C3=A9 Signed-off-by: Stefano Brivio --- contrib/fedora/passt.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec index a8af326..ca22d38 100644 --- a/contrib/fedora/passt.spec +++ b/contrib/fedora/passt.spec @@ -49,10 +49,8 @@ This package adds SELinux enforcement to passt(1) and past= a(1). %make_build =20 %install -%if 0%{?suse_version} > 910 -%make_install DESTDIR=3D%{buildroot} prefix=3D%{_prefix} docdir=3D%{_prefix}= /share/doc/packages/passt -%else -%make_install DESTDIR=3D%{buildroot} prefix=3D%{_prefix} +%make_install DESTDIR=3D%{buildroot} prefix=3D%{_prefix} bindir=3D%{_bindir}= mandir=3D%{_mandir} docdir=3D%{_docdir}/passt + %endif %ifarch x86_64 ln -sr %{buildroot}%{_mandir}/man1/passt.1 %{buildroot}%{_mandir}/man1/passt= .avx2.1 --=20 2.35.1 --===============1879386384443880811==--