mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 09:13:37 +02:00
cmds.projects.BaseCmdPkgRelations: --syntax debian
Add support for --syntax to BaseCmdPkgRelations.pkg_relations(), and default to 'semver', i.e. the current state of affairs. If that's changed to 'debian', relations declared in project.conf as pkg.requires.os.devel = jw-pkg-devel > 1.2.3 will be output as jw-pkg-devel >> 1.2.3 which is what Debian expects. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
509fe1c5e0
commit
7046983d7c
2 changed files with 19 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ PCKG_TAR ?= $(RPM_PROJECT)-$(RPM_VERSION).tar.gz
|
|||
|
||||
ifeq ($(PKG_FORMAT),debian)
|
||||
# too bad: debian Requires: somepkg = 1.2.3 isn't satisfied by somepkg-1.2.3-5
|
||||
PROJ_QUERY_PKG_REQUIRES_EXTRA_ARGS = --dont-strip-revision
|
||||
PROJ_QUERY_PKG_REQUIRES_EXTRA_ARGS = --syntax debian
|
||||
PCKG_RPM_RUN_I386 ?= $(RPM_PROJECT)-run_$(RPM_VERSION)_$(RPM_ARCH).deb
|
||||
ifeq ($(CREATE_DEVEL),true)
|
||||
PCKG_RPM_DEVEL_I386 ?= $(RPM_PROJECT)-devel_$(RPM_VERSION)_$(RPM_ARCH).deb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue