aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-27 20:42:26 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-27 20:42:26 +0000
commitc4a297bd12c87bf2a5eaaaa3d259dc8f03b6a0a7 (patch)
treecd3b7f8746d77366426d71aaabbdbdab54614b9e
parent737bebe5addf93473768e0ccc741bdafabe4bc0c (diff)
downloadperl-URPM-c4a297bd12c87bf2a5eaaaa3d259dc8f03b6a0a7.tar
perl-URPM-c4a297bd12c87bf2a5eaaaa3d259dc8f03b6a0a7.tar.gz
perl-URPM-c4a297bd12c87bf2a5eaaaa3d259dc8f03b6a0a7.tar.bz2
perl-URPM-c4a297bd12c87bf2a5eaaaa3d259dc8f03b6a0a7.tar.xz
perl-URPM-c4a297bd12c87bf2a5eaaaa3d259dc8f03b6a0a7.zip
better pack package structure
-rw-r--r--URPM.xs6
1 files changed, 3 insertions, 3 deletions
diff --git a/URPM.xs b/URPM.xs
index f9164e3..44b87b4 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -45,8 +45,10 @@ typedef struct rpmSpec_s * Spec;
#include <rpm/rpmlog.h>
struct s_Package {
- char *info;
+ Header h;
int filesize;
+ unsigned flag;
+ char *info;
char *requires;
char *suggests;
char *obsoletes;
@@ -54,8 +56,6 @@ struct s_Package {
char *provides;
char *rflags;
char *summary;
- unsigned flag;
- Header h;
};
struct s_Transaction {