deb-mock/debian/deb-mock.postinst.debhelper
robojerk 811b639407
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 1m32s
Comprehensive CI/CD Pipeline / Security Audit (push) Successful in 42s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 59s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
Fix multi-package build: Rename packages to match source name
- Rename all packages from 'deb-mock-*' to 'mock-*' to match source name 'mock'
- Update debian/control package definitions and dependencies
- Rename .install files to match new package names
- Update CI workflow to look for 'mock_*.deb' instead of 'deb-mock_*.deb'

This fixes the core issue where only 1 package was being built instead of 6.
The Debian build system now correctly recognizes all 6 packages:
- mock (main package)
- mock-cache (cache utilities)
- mock-configs (configuration files)
- mock-dev (development tools)
- mock-filesystem (filesystem layout)
- mock-plugins (plugin system)

All 6 packages now build successfully locally and should work in CI.
2025-09-04 15:12:13 -07:00

10 lines
234 B
Text

# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
py3compile -p deb-mock
fi
if command -v pypy3compile >/dev/null 2>&1; then
pypy3compile -p deb-mock || true
fi
# End automatically added section