From: Mariusz Mazur Date: Wed, 8 Sep 2004 15:14:59 +0000 (+0000) Subject: - activate _dont_compare_distversion macro X-Git-Tag: auto/ac/rpm-4_4-0_20040614_0_7~12 X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=commitdiff_plain;h=9d84627a6e3746ee605ba4ba60b8e6e41a7b2fe2 - activate _dont_compare_distversion macro Changed files: rpm-distver.patch -> 1.2 --- diff --git a/rpm-distver.patch b/rpm-distver.patch index eef2562..de42b09 100644 --- a/rpm-distver.patch +++ b/rpm-distver.patch @@ -110,9 +110,9 @@ + const char * cdist; /* current package */ + const char * idist; /* installed package */ + -+/* rc = rpmExpandNumeric("%{?_dont_compare_distversion}"); ++ rc = rpmExpandNumeric("%{?_dont_compare_distversion}"); + if (rc == 1) -+ return 0;*/ ++ return 0; + + if (!headerGetEntry(h, RPMTAG_DISTRIBUTION, NULL, (void **) &idist, NULL)) + return 0;