From 0e42be791ba5a5581f60ac97ff79da5cb5bd6795 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 30 Jan 2008 22:19:13 +0000 Subject: [PATCH] - update to 5.0.1, however isn't %epoch 0 in rpm.macros already sufficent? Changed files: rpm-epoch0.patch -> 1.5 --- rpm-epoch0.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm-epoch0.patch b/rpm-epoch0.patch index 1ce9a75..59b9f94 100644 --- a/rpm-epoch0.patch +++ b/rpm-epoch0.patch @@ -6,7 +6,7 @@ + if (headerGetEntry(pkg->header, RPMTAG_EPOCH, NULL, NULL, NULL) == 0) { + int num = 0; -+ headerAddEntry(pkg->header, RPMTAG_EPOCH, RPM_INT32_TYPE, &num, 1); ++ headerAddEntry(pkg->header, RPMTAG_EPOCH, RPM_UINT32_TYPE, &num, 1); + addMacro(spec->macros, "epoch", NULL, "0", RMIL_SPEC); + } + -- 2.44.0