diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2007-07-04 22:21:18 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2007-07-04 22:21:18 +0000 |
commit | 704f3ca524156d5851c7bd01d0566536e221f141 (patch) | |
tree | 2f4cb052aab82d316658337373ce829688e724ea | |
parent | 35fa4dafd3ed825805c1ef1561ba81cb8983bc1b (diff) | |
download | perl-URPM-704f3ca524156d5851c7bd01d0566536e221f141.tar perl-URPM-704f3ca524156d5851c7bd01d0566536e221f141.tar.gz perl-URPM-704f3ca524156d5851c7bd01d0566536e221f141.tar.bz2 perl-URPM-704f3ca524156d5851c7bd01d0566536e221f141.tar.xz perl-URPM-704f3ca524156d5851c7bd01d0566536e221f141.zip |
- fix parseSpec argument
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3753,7 +3753,9 @@ Urpm_spec2srcheader(specfile) #define SPEC_ANYARCH 1 /* Do not verify whether sources exist */ #define SPEC_FORCE 1 - if (!parseSpec(ts, specfile, "/", NULL, 0, NULL, NULL, SPEC_ANYARCH, SPEC_FORCE)) { +/* check what it does */ +#define SPEC_VERIFY 0 + if (!parseSpec(ts, specfile, "/", 0, NULL, NULL, SPEC_ANYARCH, SPEC_FORCE, SPEC_VERIFY)) { const char *zero = ""; SV *sv_pkg; spec = rpmtsSetSpec(ts, NULL); |