[packages/file] make libseccomp dependency conditional

atler atler at pld-linux.org
Tue Jan 31 02:14:27 CET 2023


commit 364c417b2c6fe0ffee4597128c2b743e7fbcced9
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jan 31 02:13:01 2023 +0100

    make libseccomp dependency conditional

 file.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/file.spec b/file.spec
index ee0b9c0..1edd4e7 100644
--- a/file.spec
+++ b/file.spec
@@ -53,7 +53,7 @@ URL:		http://www.darwinsys.com/file/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 BuildRequires:	bzip2-devel
-BuildRequires:	libseccomp-devel
+%{?with_seccomp:BuildRequires:	libseccomp-devel}
 BuildRequires:	libtool >= 2:2.0
 BuildRequires:	lzlib-devel
 BuildRequires:	rpm-build >= 4.6
@@ -222,7 +222,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libmagic
 Group:		Development/Libraries
 Requires:	bzip2-devel
 Requires:	libmagic = %{version}-%{release}
-Requires:	libseccomp-devel
+%{?with_seccomp:Requires:	libseccomp-devel}
 Requires:	lzlib-devel
 Requires:	lzma-devel
 Requires:	zlib-devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/file.git/commitdiff/364c417b2c6fe0ffee4597128c2b743e7fbcced9



More information about the pld-cvs-commit mailing list