From fb5edda7ea7817d91579c8bd45479292dc0a7f47 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 22 May 2026 22:42:20 +0200 Subject: [PATCH] phase-M task M50: strip ".orig" for ltrace ltrace's tarball is ltrace_.orig.tar.bz2; after M23 ext-strip + the Name-token strip the candidate is ".orig", and the no-alpha filter drops it on "orig" -> C emitted empty. PS strips ".orig" for ltrace (L4405). Added ".orig" to the per-spec strip tokens. Verified locally: ltrace now "(same version)" = PS. FRD: FRD-011 ADR: ADR-0001 PS-source: photonos-package-report.ps1 L 4405 Parity: strict Co-Authored-By: Claude Opus 4.7 --- .../photonos-package-report/src/check_urlhealth.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/photonos-package-report/photonos-package-report/src/check_urlhealth.c b/photonos-package-report/photonos-package-report/src/check_urlhealth.c index 13114f41..ed2dd9c9 100644 --- a/photonos-package-report/photonos-package-report/src/check_urlhealth.c +++ b/photonos-package-report/photonos-package-report/src/check_urlhealth.c @@ -242,6 +242,10 @@ static void apply_generic_scrape_tokens(const char *spec, char **names, size_t n else if (spec_eq(spec, "linux-api-headers.spec")) tok = "linux-"; else if (spec_eq(spec, "linux-secure.spec")) tok = "linux-"; else if (spec_eq(spec, "linux-aws.spec")) tok = "linux-"; + /* M50 / PS L 4405: ltrace tarball is "ltrace_.orig.tar.bz2"; + * after the Name-strip the candidate is ".orig" and the no-alpha + * filter would drop it on "orig". Strip ".orig". */ + else if (spec_eq(spec, "ltrace.spec")) tok = ".orig"; if (tok == NULL) return; for (size_t i = 0; i < n; i++) { if (names[i] == NULL) continue;