[Rpm-maint] [Patch 3/19] Enable PREREQ

Jason Corley jason.corley at gmail.com
Fri Feb 9 12:50:02 UTC 2007


This is another one that could use some further details and explanation.
Jason

On 2/9/07, Paul Nasrat <pnasrat at redhat.com> wrote:
> This patch reverts the change to disable prereqs, which are still used
> as a hint for loop cutting.
>
> Index: rpm-4.4.2/lib/rpmlib.h
> ===================================================================
> --- rpm-4.4.2.orig/lib/rpmlib.h
> +++ rpm-4.4.2/lib/rpmlib.h
> @@ -504,8 +504,7 @@ typedef     enum rpmsenseFlags_e {
>      RPMSENSE_EQUAL     = (1 << 3),
>      RPMSENSE_PROVIDES  = (1 << 4), /* only used internally by builds */
>      RPMSENSE_CONFLICTS = (1 << 5), /* only used internally by builds */
> -       /* bit 6 used to be RPMSENSE_PREREQ */
> -#define        RPMSENSE_PREREQ RPMSENSE_ANY
> +    RPMSENSE_PREREQ     = (1 << 6),     /*!< @todo Legacy. */
>      RPMSENSE_OBSOLETES = (1 << 7), /* only used internally by builds */
>      RPMSENSE_INTERP    = (1 << 8),     /*!< Interpreter used by scriptlet. */
>      RPMSENSE_SCRIPT_PRE        = ((1 << 9)|RPMSENSE_PREREQ), /*!< %pre dependency. */
>
>
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> https://lists.rpm.org/mailman/listinfo/rpm-maint
>



More information about the Rpm-maint mailing list