Whamcloud - gitweb
LU-16382 spec: use pkgconfig() as appropriate. 66/49366/4
authorMr NeilBrown <neilb@suse.de>
Mon, 12 Dec 2022 04:42:11 +0000 (15:42 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 14 Feb 2023 06:04:24 +0000 (06:04 +0000)
commitd2b633226e1d1420993a02419de73208166842e2
treee177d19229db7d51b6aadf9ac0c52ca75df11662
parent941d59e7b9f116d69be382f940c07e5b1682cd7f
LU-16382 spec: use pkgconfig() as appropriate.

pkgconfig() is preferred over explicit dependencies on libfoo-devel.
For SUSE, this is particularly needed for system and with SLE15-SP4
the OBS automatically includes "systemd-mini", but that conflicts with
"system".  Usig "pkgconfig(systemd) resolves this.

Also there is no need to have "Depends" for library packages.  These
are determined automatically from the result of the build.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Idfa4fdfd8bf060175b64a1991d3367024a368344
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49366
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: jsimmons <jsimmons@infradead.org>
lustre.spec.in