From b19e152d60c6cb9a4d70f3a62dc904d8a30676f7 Mon Sep 17 00:00:00 2001
From: Marcin Krol <hawk@tld-linux.org>
Date: Sun, 21 Mar 2021 20:54:27 +0100
Subject: [PATCH] - fix %_target_platform macro in platform.in

---
 rpm.spec  | 2 +-
 x32.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rpm.spec b/rpm.spec
index d3ba0ad..a0cfec4 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -34,7 +34,7 @@ Summary(ru.UTF-8):	Менеджер пакетов от RPM
 Summary(uk.UTF-8):	Менеджер пакетів від RPM
 Name:		rpm
 Version:	4.16.1.2
-Release:	8
+Release:	8.1
 Epoch:		1
 License:	GPL v2 / LGPL v2.1
 Group:		Base
diff --git a/x32.patch b/x32.patch
index 43b2f2b..197f905 100644
--- a/x32.patch
+++ b/x32.patch
@@ -132,7 +132,7 @@ diff -ur rpm-4.15.1.orig/platform.in rpm-4.15.1/platform.in
  %_os			@RPMCANONOS@
  %_gnu			@RPMRC_GNU@
 -%_target_platform	%{_target_cpu}-%{_vendor}-%{_target_os}
-+%_target_platform	@TARGETCPU@-%{_vendor}-%{_target_os}%{?_gnu}
++%_target_platform	@TARGETCPU@-%{_vendor}-%{_target_os}
  %optflags		@RPMRC_OPTFLAGS@
  
  %__isa_name		@ISANAME@
-- 
2.49.0