From b432478a1cdc2b41514eb4087f1536423aa5675c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Sep 2007 10:00:35 +0000 Subject: fix typo in previous typo fix --- URPM.xs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/URPM.xs b/URPM.xs index e03062d..216fa90 100644 --- a/URPM.xs +++ b/URPM.xs @@ -1433,7 +1433,7 @@ Pkg_is_arch_compat(pkg) get_fullname_parts(pkg, NULL, NULL, NULL, &arch, &eos); *eos = 0; #ifdef RPM_448 - if (platform) platform = rpmExpand(arch, "-%{_real_vendor}-%{_target_os}%{?_gnu}", NULL); + if (!platform) platform = rpmExpand(arch, "-%{_real_vendor}-%{_target_os}%{?_gnu}", NULL); RETVAL = rpmPlatformScore(platform, NULL, 0); #else RETVAL = rpmMachineScore(RPM_MACHTABLE_INSTARCH, arch); -- cgit v1.2.1