]> git.ipfire.org Git - pakfire.git/commit
dependencies: Add support for arch() namespace
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Feb 2023 12:59:14 +0000 (12:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Feb 2023 12:59:14 +0000 (12:59 +0000)
commitf6c74b93bb20b4429f7b00302ed67f562895dcb2
tree23adbc5fc8852a892955a25160da6064559fa6ee
parent7e8fed418b380914ee79eeffeac94493f648e979
dependencies: Add support for arch() namespace

This can be used (mainly in source packages) to check on what system a
package is being installed - but not to check whether it is compatible.

Most commonly, this feature is going to be used to pull in dependencies
that should only be installed on certain architectures.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/dependencies.c
src/libpakfire/pakfire.c
tests/libpakfire/dependencies.c