aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-04 22:21:18 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-04 22:21:18 +0000
commit704f3ca524156d5851c7bd01d0566536e221f141 (patch)
tree2f4cb052aab82d316658337373ce829688e724ea /URPM.xs
parent35fa4dafd3ed825805c1ef1561ba81cb8983bc1b (diff)
downloadperl-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
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs4
1 files changed, 3 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index 6633c7b..c27e362 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -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);