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
|
|
@ -50,6 +50,7 @@ cfg_value global.subpackages | grep -q run && _cat << EOT
|
|||
|echo "Summary: `cfg_value summary`"
|
||||
|echo "Group: `cfg_value global.group`"
|
||||
|[ "\$REQUIRES_RUN" ] && echo "Requires: \$REQUIRES_RUN"
|
||||
|[ "\$CONFLICTS_RUN" ] && echo "Conflicts: \$CONFLICTS_RUN"
|
||||
|echo "%description -n \$NAME-run"
|
||||
|echo "Runtime package"
|
||||
|echo ""
|
||||
|
|
@ -60,6 +61,7 @@ cfg_value global.subpackages | grep -q devel && _cat << EOT
|
|||
|echo "Summary: `cfg_value summary`, development package"
|
||||
|echo "Group: `cfg_value global.group`"
|
||||
|[ "\$REQUIRES_DEVEL" ] && echo "Requires: \$REQUIRES_DEVEL"
|
||||
|[ "\$CONFLICTS_DEVEL" ] && echo "Conflicts: \$CONFLICTS_DEVEL"
|
||||
|echo "%description -n \$NAME-devel"
|
||||
|echo "Development package"
|
||||
|echo ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue