aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-13 18:43:32 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-13 18:43:32 +0000
commitf7968c40fc9970fd84b502a3a10502fa450c5b0e (patch)
tree8568981bc435ceaef8f446848392da698c92d9a1
parente0ac198176950496b271ca23c5dd6ce73c3460dd (diff)
downloadperl-URPM-f7968c40fc9970fd84b502a3a10502fa450c5b0e.tar
perl-URPM-f7968c40fc9970fd84b502a3a10502fa450c5b0e.tar.gz
perl-URPM-f7968c40fc9970fd84b502a3a10502fa450c5b0e.tar.bz2
perl-URPM-f7968c40fc9970fd84b502a3a10502fa450c5b0e.tar.xz
perl-URPM-f7968c40fc9970fd84b502a3a10502fa450c5b0e.zip
(spec2srcheader) kill useless define
-rw-r--r--URPM.xs2
1 files changed, 0 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index b4c2001..12ac156 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -3418,9 +3418,7 @@ Urpm_spec2srcheader(specfile)
/* ensure the config is in memory with all macro */
read_config_files(0);
/* Do not verify architecture */
-#define SPEC_ANYARCH 1
/* Do not verify whether sources exist */
-#define SPEC_FORCE 1
spec = rpmSpecParse(specfile, RPMSPEC_ANYARCH|RPMSPEC_FORCE, NULL);
if (spec) {
header = rpmSpecSourceHeader(spec);