- systemd.spec: clean some of the build deps up:

- libpcre is redundant with libpcre2 (only required by the full
    build) and the mini variant needs none of them. Hence drop the ref
    to libpcre.
  - normally libidn2 is needed by some optional features in
    systemd-network (only). But it's implicitly pulled in by libgnutls
    (required by the main package). Let's make sure the related
    features won't be disabled inadvertently in the future by making
    the dep explicit.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1146
This commit is contained in:
Franck Bui 2021-04-07 09:40:22 +00:00 committed by Git OBS Bridge
parent d1a386f15e
commit 307b30a33d
4 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Apr 7 08:59:15 UTC 2021 - Franck Bui <fbui@suse.com>
- systemd.spec: clean some of the build deps up:
- libpcre is redundant with libpcre2 (only required by the full
build) and the mini variant needs none of them. Hence drop the ref
to libpcre.
- normally libidn2 is needed by some optional features in
systemd-network (only). But it's implicitly pulled in by libgnutls
(required by the main package). Let's make sure the related
features won't be disabled inadvertently in the future by making
the dep explicit.
-------------------------------------------------------------------
Tue Mar 30 13:35:38 UTC 2021 - Franck Bui <fbui@suse.com>

View File

@ -99,7 +99,6 @@ BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(blkid) >= 2.26
BuildRequires: pkgconfig(libkmod) >= 15
BuildRequires: pkgconfig(libpci) >= 3
BuildRequires: pkgconfig(libpcre)
%if %{with importd}
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(libcurl)
@ -367,6 +366,7 @@ Summary: Systemd tools for networkd and resolved
License: LGPL-2.1-or-later
Group: System/Base
Requires: %{name} = %{version}-%{release}
BuildRequires: pkgconfig(libidn2)
Provides: systemd:/usr/lib/systemd/systemd-networkd
Provides: systemd:/usr/lib/systemd/systemd-resolved
%systemd_requires

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Wed Apr 7 08:59:15 UTC 2021 - Franck Bui <fbui@suse.com>
- systemd.spec: clean some of the build deps up:
- libpcre is redundant with libpcre2 (only required by the full
build) and the mini variant needs none of them. Hence drop the ref
to libpcre.
- normally libidn2 is needed by some optional features in
systemd-network (only). But it's implicitly pulled in by libgnutls
(required by the main package). Let's make sure the related
features won't be disabled inadvertently in the future by making
the dep explicit.
-------------------------------------------------------------------
Tue Mar 30 13:35:38 UTC 2021 - Franck Bui <fbui@suse.com>

View File

@ -97,7 +97,6 @@ BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(blkid) >= 2.26
BuildRequires: pkgconfig(libkmod) >= 15
BuildRequires: pkgconfig(libpci) >= 3
BuildRequires: pkgconfig(libpcre)
%if %{with importd}
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(libcurl)
@ -365,6 +364,7 @@ Summary: Systemd tools for networkd and resolved
License: LGPL-2.1-or-later
Group: System/Base
Requires: %{name} = %{version}-%{release}
BuildRequires: pkgconfig(libidn2)
Provides: systemd:/usr/lib/systemd/systemd-networkd
Provides: systemd:/usr/lib/systemd/systemd-resolved
%systemd_requires