aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-22 16:03:02 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-22 16:03:02 +0000
commit4f3f8f961e4eaaa9c971d3ef9f75981a052c1764 (patch)
treefbea2602e914a89ca5dfbce7a1670e7be4ea04a0
parentb619f83d1cd2ac55eaef011bba62ff0d2d5ae1a0 (diff)
downloadperl-URPM-4f3f8f961e4eaaa9c971d3ef9f75981a052c1764.tar
perl-URPM-4f3f8f961e4eaaa9c971d3ef9f75981a052c1764.tar.gz
perl-URPM-4f3f8f961e4eaaa9c971d3ef9f75981a052c1764.tar.bz2
perl-URPM-4f3f8f961e4eaaa9c971d3ef9f75981a052c1764.tar.xz
perl-URPM-4f3f8f961e4eaaa9c971d3ef9f75981a052c1764.zip
(buildarchs) renumber due to sparsed numbers
-rw-r--r--URPM.xs20
1 files changed, 10 insertions, 10 deletions
diff --git a/URPM.xs b/URPM.xs
index eb52923..f7ab449 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1959,11 +1959,11 @@ Pkg_buildarchs(pkg)
exclusivearchs = 2
dirnames = 3
filelinktos = 4
- files_md5sum = 6
- files_owner = 7
- files_group = 8
- changelog_name = 9
- changelog_text = 10
+ files_md5sum = 5
+ files_owner = 6
+ files_group = 7
+ changelog_name = 8
+ changelog_text = 9
PPCODE:
PUTBACK;
rpmTag tag;
@@ -1972,11 +1972,11 @@ Pkg_buildarchs(pkg)
case 2: tag = RPMTAG_EXCLUSIVEARCH; break;
case 3: tag = RPMTAG_DIRNAMES; break;
case 4: tag = RPMTAG_FILELINKTOS; break;
- case 6: tag = RPMTAG_FILEMD5S; break;
- case 7: tag = RPMTAG_FILEUSERNAME; break;
- case 8: tag = RPMTAG_FILEGROUPNAME; break;
- case 9: tag = RPMTAG_CHANGELOGNAME; break;
- case 10: tag = RPMTAG_CHANGELOGTEXT; break;
+ case 5: tag = RPMTAG_FILEMD5S; break;
+ case 6: tag = RPMTAG_FILEUSERNAME; break;
+ case 7: tag = RPMTAG_FILEGROUPNAME; break;
+ case 8: tag = RPMTAG_CHANGELOGNAME; break;
+ case 9: tag = RPMTAG_CHANGELOGTEXT; break;
default: tag = RPMTAG_BUILDARCHS; break;
}
xpush_simple_list_str(pkg->h, tag);