From 1d80a1520ccf97b46a2434e2c0ae0747787af912 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 5 Sep 2015 22:25:38 +0200 Subject: [PATCH] compat-librpm3: Explicitly conflict with older rpm-libs Add explicit conflicts as they both ship the same files. --- rpm.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpm.spec b/rpm.spec index 54d4740..875e5ac 100644 --- a/rpm.spec +++ b/rpm.spec @@ -164,6 +164,9 @@ Summary: Compat package with RPM libraries Group: Development/Libraries License: GPLv2+ and LGPLv2+ with exceptions Requires: rpm = %{version}-%{release} +# Explicitly conflict with older rpm-libs that ship libraries +# with the same soname as this compat package +Conflicts: rpm-libs < 4.12.90 %description -n compat-librpm3 Compatibility package with RPM libraries ABI version 3.