Blame SOURCES/0013-Fix-build-with-rpm-4.16.patch

3e90b9
From 1afddd618629a97479560bedbdcfa11b2c492a0e Mon Sep 17 00:00:00 2001
3e90b9
From: Javier Martinez Canillas <javierm@redhat.com>
3e90b9
Date: Fri, 26 Jun 2020 10:02:51 +0200
3e90b9
Subject: [PATCH] Fix build with rpm-4.16
3e90b9
3e90b9
rpmvercmp() was moved to librpmio, so link against this library instead.
3e90b9
3e90b9
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
3e90b9
---
3e90b9
 Makefile | 2 +-
3e90b9
 1 file changed, 1 insertion(+), 1 deletion(-)
3e90b9
3e90b9
diff --git a/Makefile b/Makefile
3e90b9
index 1ab58aeb039..a54b053a30b 100644
3e90b9
--- a/Makefile
3e90b9
+++ b/Makefile
3e90b9
@@ -59,7 +59,7 @@ grubby:: $(OBJECTS)
3e90b9
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(grubby_LIBS)
3e90b9
 
3e90b9
 rpm-sort::rpm-sort.o
3e90b9
-	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lrpm
3e90b9
+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lrpmio
3e90b9
 
3e90b9
 clean:
3e90b9
 	rm -f *.o grubby rpm-sort *~
3e90b9
-- 
3e90b9
2.26.2
3e90b9