diff options
Diffstat (limited to 'RPM4/src/RPM4.xs')
-rw-r--r-- | RPM4/src/RPM4.xs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index bc430c2..59dc370 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -446,7 +446,15 @@ void _newspec(rpmts ts, char * filename, SV * svpassphrase, SV * svrootdir, SV * verify = SvIV(svverify); if (filename) { - if (!parseSpec(ts, filename, rootdir, 0, passphrase, cookies, anyarch, force, verify)) + if (!parseSpec(ts, filename, rootdir +#ifndef RPM_4_4_8 + , 0 +#endif + ,0 , passphrase, cookies, anyarch, force +#ifdef RPM_4_4_8 + , verify +#endif + )) spec = rpmtsSetSpec(ts, NULL); #ifdef HHACK } else { |