scripts / make: Add Recommends support #113
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260919-scripts-make-add-recommends-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
scripts / make: Add Recommends support
The spec generator only supports Requires, Conflicts and Provides from the [pkg.requires.], [pkg.conflicts.] and [pkg.provides.*] sections of make/project.conf. A package that works without but is better with another package, like jw-amavis-run without jw-clamav-run, must hard-require it, so the dependency is pulled in on every install and cannot be removed without dragging the depending package along.
This commit adds Recommends support to the spec generation chain:
Projects without a [pkg.recommends.*] section generate unchanged specs: every new line is guarded by a non-empty test. zypper follows Recommends by default, so existing OpenSUSE installations are unaffected; a recommended package can be removed without dragging the depending package along.
de7984f63af76071815f