fix: libmng - remove flagged files - #18771
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The source hash is still a placeholder, and the lock and rendered outputs have not been regenerated.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Removes a prebuilt Windows DLL from libmng’s upstream archive.
Changes:
- Moves libmng into a dedicated component definition.
- Adds a metadata-backed
file-removeoverlay. - Declares the repacked archive as an overlay-generated source.
File summaries
| File | Description |
|---|---|
base/comps/components.toml |
Removes the inline libmng entry. |
base/comps/libmng/libmng.comp.toml |
Defines the customized component and repacked source. |
base/comps/libmng/overlays/0001-remove-prebuilt-windows-dll.overlay.toml |
Removes the DLL from the archive. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 2
- Review effort level: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
aa7301d to
9c6c459
Compare
|
Local verification on Build — Overlay effect — the tarball embedded in the built SRPM is 315 members (was 316). Inspect — Smoke test — mock chroot, compiled against
Drift — |
|
/azp run |
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. |
Remove the prebuilt Win32 DLL
bcb/win32dll/libmng.dllfrom libmng.It is a UPX-packed PE32 DLL shipped alongside upstream's Borland C++ Builder project files, and the package-signing scan rejects the
.src.rpmbecause of it. Nothing in the build references it (bcb/win32dllappear in no*.am,*.ac,*.inorMakefile*), and it is not installed into any binary RPM.file-remove) drops the DLL and repacks the tarball; the post-overlay hash is pinned viaorigin = { type = "overlay" }.contrib/msvc/libmng-msvc.lib/libmng.libis left in place - a plainarimport library rather than a packed executable, and out of scope here.Base, devel, debuginfo and debugsource RPMs all build, and
azldev comp render --check-onlyreports no drift.