Build and packaging library
  • Python 55.2%
  • Makefile 32.6%
  • Shell 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann c23a2e4ab2
lib.version.Dependency.constraint_str(): Delimit by comma
A multi-boundary constraint is rendered as 'foo >= 1.2.3-45 foo < 1.2.4',
which is invalid: the RPM spec template writes the Requires: line from it
verbatim, and RPM entries are comma-separated, so the second clause is
swallowed into one bad entry. Debian's format_depends() normalizes runs of
whitespace to commas, so it tolerates the space join, but the comma is the
only delimiter that is correct for both.

Join the boundary clauses with ', ' instead of a space.

Also:

- Drop the stray trailing comma in the version_boundaries() call.
- Fix the untemplated docstring, which describes the opposite of the code:
  untemplated = True (the default) resolves the macros, untemplated = False
  keeps them as written.

Tests written by AI.

Signed-off-by: Jan Lindemann <jan@janware.com>
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.85.1
2026-09-15 21:43:47 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf pyproject.toml: Set isort include_trailing_comma 2026-09-14 21:37:01 +02:00
doc doc: Add subdir 2026-08-19 20:51:11 +02:00
make projects-dir.mk: Resolve JWB_SCRIPT_DIR from JWBDIR 2026-09-13 23:49:26 +02:00
scripts jw-pkg-create-project.sh: Use make gitignore 2026-09-13 23:09:25 +02:00
src lib.version.Dependency.constraint_str(): Delimit by comma 2026-09-15 21:43:47 +02:00
test lib.version.Dependency.constraint_str(): Delimit by comma 2026-09-15 21:43:47 +02:00
.gitignore gitignore: Fix duplicates and typos 2026-09-14 21:10:58 +02:00
HASH Release 1.0.0-265@suse-tumbleweed/x86_64 2026-09-14 23:32:29 +00:00
Makefile .gitignore: Run make gitignore 2026-09-13 23:09:26 +02:00
RELEASES Release 1.0.0-265@suse-tumbleweed/x86_64 2026-09-14 23:32:29 +00:00
VERSION Start version: 1.0.0-265 2026-09-14 23:10:33 +00:00