]> git.pld-linux.org Git - packages/poldek.git/blob - poldek-prereq.patch
This commit was manufactured by cvs2git to create tag 'auto-ac-poldek-
[packages/poldek.git] / poldek-prereq.patch
1 --- poldek-0.19.0-cvs20050613.22/pm/rpm/rpm_pkg_ld.c.orig       2004-12-02 18:40:14.000000000 +0100
2 +++ poldek-0.19.0-cvs20050613.22/pm/rpm/rpm_pkg_ld.c    2005-07-28 14:54:52.000000000 +0200
3 @@ -170,10 +170,13 @@
4                  }
5  #else
6                  
7 +#  if RPMSENSE_PREREQ != RPMSENSE_ANY /* rpm 4.4 drops legacy PreReq support */
8                  if (isLegacyPreReq(flag)) /* prepared by rpm < 4.0.2  */
9                      cr_flags |= CAPREQ_PREREQ | CAPREQ_PREREQ_UN;
10                      
11 -                else if (isInstallPreReq(flag))
12 +                else
13 +#  endif
14 +               if (isInstallPreReq(flag))
15                      cr_flags |= CAPREQ_PREREQ;
16  
17                  if (isErasePreReq(flag))
This page took 0.022775 seconds and 3 git commands to generate.