From e18628b04921664d8eebe9983a2da01f88764819 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 7 Jan 2025 10:53:29 +0100 Subject: add packagist link --- smarty/templates/rpmphp/zoom.tpl | 2 ++ zoom.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/smarty/templates/rpmphp/zoom.tpl b/smarty/templates/rpmphp/zoom.tpl index 960a908..6bc91d1 100644 --- a/smarty/templates/rpmphp/zoom.tpl +++ b/smarty/templates/rpmphp/zoom.tpl @@ -43,6 +43,8 @@ {if $k eq 'Bugzilla'} Active bugs + {elseif $k eq 'Packagist'} + {$v} {elseif $k eq 'URL' or $k eq 'Pagure' or $k eq 'Packages' or $k eq 'Koschei'} {$v} {else} diff --git a/zoom.php b/zoom.php index bada131..8ce667c 100644 --- a/zoom.php +++ b/zoom.php @@ -140,7 +140,7 @@ if ( !isset($name) || !$name ) { $summary['Type'] = $up['type']; } if ($rpm->pkgname) { - $summary['Composer name'] = $rpm->pkgname; + $summary['Packagist'] = $rpm->pkgname; } else if ($up && $up['channel']) { $summary['Channel'] = $up['channel']; } -- cgit