diff options
Diffstat (limited to 'RPM4/src')
-rw-r--r-- | RPM4/src/Makefile.PL | 1 | ||||
-rw-r--r-- | RPM4/src/RPM4.xs | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/RPM4/src/Makefile.PL b/RPM4/src/Makefile.PL index 7296a07..7474562 100644 --- a/RPM4/src/Makefile.PL +++ b/RPM4/src/Makefile.PL @@ -35,6 +35,7 @@ foreach (qw( 4.9.1 4.9.1.1 4.9.1.2 + 4.12.90 )) { my $v = $_; $v =~ s/\./_/g; 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 |