diff options
Diffstat (limited to 'RPM4/src/RPM4.xs')
-rw-r--r-- | RPM4/src/RPM4.xs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index fe8d712..9bfae55 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -471,7 +471,11 @@ int _headername_vs_dep(Header h, rpmds dep, int nopromote) { /* Hight level function */ int rpmsign(char *passphrase, const char *rpm) { +#ifdef RPM4_12_90 + return rpmPkgSign(rpm, NULL); +#else return rpmPkgSign(rpm, NULL, passphrase); +#endif } MODULE = RPM4 PACKAGE = RPM4 |