diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-02 14:38:08 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-03-02 14:38:08 +0000 |
commit | 6528818c8fad263a8e5eba1340a1cdcd41229c23 (patch) | |
tree | 83265f2bb474821190bd5d700005592048b9fa59 | |
parent | cf924fe5a98167ae7f7f3cd6288c931f87b22f5c (diff) | |
download | perl-URPM-6528818c8fad263a8e5eba1340a1cdcd41229c23.tar perl-URPM-6528818c8fad263a8e5eba1340a1cdcd41229c23.tar.gz perl-URPM-6528818c8fad263a8e5eba1340a1cdcd41229c23.tar.bz2 perl-URPM-6528818c8fad263a8e5eba1340a1cdcd41229c23.tar.xz perl-URPM-6528818c8fad263a8e5eba1340a1cdcd41229c23.zip |
Prepare for obsolescence of PREREQ, introduce equivalent RPMSENSE_SCRIPT_* tags
-rw-r--r-- | URPM.xs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -400,7 +400,7 @@ print_list_entry(char *buff, int sz, char *name, int_32 flags, char *evr) { if (len >= sz || !strncmp(name, "rpmlib(", 7)) return -1; memcpy(p, name, len); p += len; - if (flags & RPMSENSE_PREREQ) { + if (flags & (RPMSENSE_PREREQ|RPMSENSE_SCRIPT_PREUN|RPMSENSE_SCRIPT_PRE|RPMSENSE_SCRIPT_POSTUN|RPMSENSE_SCRIPT_POST)) { if (p - buff + 3 >= sz) return -1; memcpy(p, "[*]", 4); p += 3; } |