diff mbox series

[meta-oe,02/39] mailcap: Fetch from github.com/InfrastructureServices/mailcap

Message ID 20261127003543.2167775-3-khem.raj@oss.qualcomm.com
State New
Headers show
Series Source fixes, upgrades and build fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:35 a.m. UTC
releases.pagure.org is gone and upstream moved to GitHub, which has no
release tarballs. Fetch the r2-1-54 tag with git; its tree matches the
old release tarball (a GitHub tag archive would fail the src-uri-bad QA
check).

The tags use dashes (r2-1-54), which the git tag check cannot map to PV,
and the listings with dotted versions (Fedora) are behind a bot wall, so
mark the upstream version as unknown.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb b/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb
index 4b47b3a9d4..0e2cdef478 100644
--- a/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb
+++ b/meta-oe/recipes-support/mailcap/mailcap_2.1.54.bb
@@ -1,5 +1,5 @@ 
 SUMMARY = "Helper application and MIME type associations for file types"
-HOMEPAGE = "https://pagure.io/mailcap"
+HOMEPAGE = "https://github.com/InfrastructureServices/mailcap"
 DESCRIPTION = "The mailcap file is used by the metamail program. Metamail reads the \
 mailcap file to determine how it should display non-text or multimedia \
 material. Basically, mailcap associates a particular type of file \
@@ -16,9 +16,11 @@  SECTION = "System Environment/Base"
 LICENSE = "MIT AND LicenseRef-PD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8dce08227d135cfda1f19d4c0c6689de"
 
-SRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz"
+SRC_URI = "git://github.com/InfrastructureServices/mailcap.git;protocol=https;branch=master;tag=r${@d.getVar('PV').replace('.', '-')}"
+SRCREV = "9699055a1b4dfb90f7594ee2e8dda705fa56d3b8"
 
-SRC_URI[sha256sum] = "9a4032202fc0d2b0858f41b167389a9cfe52ac24ec282e6479b90765319de113"
+# Release tags are r2-1-54, which the git tag check cannot map to PV
+UPSTREAM_VERSION_UNKNOWN = "1"
 
 inherit update-alternatives