From 4ece7e8daf4ef697d982addc72d4c47c43f2b375 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 25 May 2021 17:10:34 +0200 Subject: [PATCH] Build without libpwquality It is only needed by homed, which we disable. Resolves: #1947941 --- systemd.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/systemd.spec b/systemd.spec index e1c459e..bf718c2 100644 --- a/systemd.spec +++ b/systemd.spec @@ -95,7 +95,6 @@ BuildRequires: coreutils BuildRequires: libcap-devel BuildRequires: libmount-devel BuildRequires: libfdisk-devel -BuildRequires: libpwquality-devel BuildRequires: pam-devel BuildRequires: libselinux-devel BuildRequires: audit-libs-devel @@ -183,8 +182,6 @@ Obsoletes: %{name}-standalone-sysusers < %{version}-%{release}^ # Recommends to replace normal Requires deps for stuff that is dlopen()ed Recommends: libpcre2-8.so.0()(64bit) -Recommends: libpwquality.so.1()(64bit) -Recommends: libpwquality.so.1(LIBPWQUALITY_1.0)(64bit) %description systemd is a system and service manager that runs as PID 1 and starts @@ -405,7 +402,7 @@ CONFIGURE_OPTS=( -Dlibcryptsetup=false %endif -Delfutils=true - -Dpwquality=true + -Dpwquality=false -Dqrencode=false -Dgnutls=true -Dmicrohttpd=true