Build and packaging library
  • Python 54.1%
  • Makefile 33.7%
  • Shell 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 6d60df4497
Some checks failed
CI / Packaging test (pull_request) Has been cancelled
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Has been cancelled
CI / Packaging - Kali Linux (pull_request) Has been cancelled
pkg.sh: Fix broken version macro expansion
pkg-dist.mk queries the package relations with
--dont-expand-version-macros, and build_pkg() expanded the remaining
VERSION and VERSION-REVISION macros with a local sed-based
expand_version_macros(). That substitutes the version of the project being
built for every macro, instead of the version of the dependency the macro
refers to.

Drop --dont-expand-version-macros from the proj_query calls so the macros
resolve to the dependency's own version, and remove expand_version_macros()
from build_pkg(), which passes the PKG_* variables to rpmbuild as they are
queried.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-09-09 15:27:10 +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 conf / scripts: Fix unprivileged "make install" 2026-08-18 17:27:32 +02:00
doc doc: Add subdir 2026-08-19 20:51:11 +02:00
make pkg.sh: Fix broken version macro expansion 2026-09-09 15:27:10 +02:00
scripts pkg.sh: Fix broken version macro expansion 2026-09-09 15:27:10 +02:00
src lib.version: Add API docstrings 2026-09-09 15:27:10 +02:00
test lib.version: Add module to parse dependency specs 2026-09-09 15:22:19 +02:00
.gitignore cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
HASH Release 1.0.0-259@suse-tumbleweed/x86_64 2026-09-05 23:32:53 +00:00
Makefile cache.mk: Include from topdir.mk, not make.mk 2026-07-22 14:38:24 +02:00
RELEASES Release 1.0.0-259@suse-tumbleweed/x86_64 2026-09-05 23:32:53 +00:00
VERSION Start version: 1.0.0-259 2026-09-05 23:10:51 +00:00