Build and packaging library
  • Python 55%
  • Makefile 32.4%
  • Shell 12.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann c33d72f4d4
pkg-dist.mk, pkg.sh: Build RPMs in dist/build
pkg.sh hardcodes $HOME/rpmbuild as the rpmbuild topdir while make computes
the same location separately as PKG_DIR_BUILD, and a sandboxed shell cannot
build at all: rpmbuild writes its scratch trees and results under the
topdir, outside the project.

- Default PKG_DIR_BUILD to $(TOPDIR)/dist/build for non-root builds and
  pass it to pkg.sh as the new -T option (root keeps /usr/src/packages;
  local.mk can still override)
- Build with --define _topdir pointing at that directory, resolved to an
  absolute path, so the scratch tree, RPMS and SRPMS stay in the project
  tree where make clean drops them

Signed-off-by: Jan Lindemann <jan@janware.com>
Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.87.0
2026-09-24 13:03:27 +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 run-success.mk: Record last successful run 2026-09-16 18:16:17 +02:00
doc doc: Add subdir 2026-08-19 20:51:11 +02:00
make pkg-dist.mk, pkg.sh: Build RPMs in dist/build 2026-09-24 13:03:27 +02:00
scripts pkg-dist.mk, pkg.sh: Build RPMs in dist/build 2026-09-24 13:03:27 +02:00
src cmds.projects.lib.pkg_relations(): Skip excluded modules 2026-09-23 17:35:58 +02:00
test test/integration/projects/pkg-requires: Add 2026-09-23 17:35:58 +02:00
.gitignore run-success.mk: Record last successful run 2026-09-16 18:16:17 +02:00
HASH Release 1.0.0-270@suse-tumbleweed/x86_64 2026-09-23 23:38:01 +00:00
Makefile .gitignore: Run make gitignore 2026-09-13 23:09:26 +02:00
RELEASES Release 1.0.0-270@suse-tumbleweed/x86_64 2026-09-23 23:38:01 +00:00
VERSION Start version: 1.0.0-270 2026-09-23 23:11:18 +00:00