mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
doc, make, scripts: Add support for [pkg.conflicts.xxx]
Since the packaging machinery is pretty complicated, the information about conflicting packages had to be passed through many APIs. The last commit contained a patch which is left in the tree to have it in one file, it actually is identical to this commit's diff, though. Git would save me that quirk. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e52879215d
commit
c42e386c76
7 changed files with 100 additions and 54 deletions
|
|
@ -55,6 +55,8 @@ cfg_value global.subpackages | grep -q run && cat << EOT
|
|||
Package: \$NAME-run
|
||||
Architecture: any
|
||||
Depends: \`format_depends "\${shlibs:Depends}, \${misc:Depends}, \$REQUIRES_RUN"\`
|
||||
# untested:
|
||||
Conflicts: \`format_depends "\${shlibs:Depends}, \${misc:Depends}, \$CONFLICTS_RUN"\`
|
||||
Description: `cfg_value summary`
|
||||
`cfg_value description | sed 's/^/ /'`
|
||||
EOT
|
||||
|
|
@ -64,6 +66,8 @@ cfg_value global.subpackages | grep -q devel && cat << EOT
|
|||
Package: \$NAME-devel
|
||||
Architecture: any
|
||||
Depends: \`format_depends "\$NAME-run = \$VERSION-\$RELEASE, \$REQUIRES_DEVEL"\`
|
||||
# untested:
|
||||
Conflicts: \`format_depends "\$NAME-run = \$VERSION-\$RELEASE, \$CONFLICTS_DEVEL"\`
|
||||
Description: \$NAME Development Package
|
||||
Development tools for \$NAME-run
|
||||
EOT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue