add bcond for building with cheating (disabled by default)
[packages/rpm.git] / rpm-enable_cheating.patch
1 diff --color -urN rpm-4.16.0.orig/build/pack.c rpm-4.16.0/build/pack.c
2 --- rpm-4.16.0.orig/build/pack.c        2020-06-23 14:13:01.894628368 +0200
3 +++ rpm-4.16.0/build/pack.c     2020-10-30 21:38:40.630227852 +0100
4 @@ -709,10 +709,6 @@
5         headerPutBin(pkg->header, RPMTAG_SOURCEPKGID, spec->sourcePkgId,16);
6      }
7  
8 -    if (cheating) {
9 -       (void) rpmlibNeedsFeature(pkg, "ShortCircuited", "4.9.0-1");
10 -    }
11 -
12      if ((rc = getPkgFilename(pkg->header, filename)))
13         return rc;
14  
This page took 0.039124 seconds and 3 git commands to generate.