From 132086ee6d5d100ce7556cb32cec613c69cfe98e Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 11 Dec 2018 21:19:21 -0500 Subject: [PATCH] Minor fixes for libmodulemd.spec.in One cosmetic change to the summary of python3-libmodulemd. Change the conditional on the EPEL 7 hack to be <= 7, since RHEL 8 beta has a recent-enough gobject-introspection package. Signed-off-by: Stephen Gallagher --- libmodulemd.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmodulemd.spec.in b/libmodulemd.spec.in index 114784a2f..a752f1228 100644 --- a/libmodulemd.spec.in +++ b/libmodulemd.spec.in @@ -78,7 +78,7 @@ Development files for libmodulemd 1.x %package -n python3-libmodulemd1 -Summary: Python 3 bindings for %{name} +Summary: Python 3 bindings for %{name}1 Version: %{libmodulemd_v1_version} BuildArch: noarch Requires: libmodulemd1 = %{libmodulemd_v1_version}-%{release} @@ -95,7 +95,7 @@ Python 3 bindings for libmodulemd1 %build %meson -Ddeveloper_build=false -Dbuild_api_v1=true -Dbuild_api_v2=true -%if 0%{?rhel} >= 7 +%if 0%{?rhel} <= 7 # ALERT!!! PURE HACK FOR EPEL! # https://bugzilla.redhat.com/show_bug.cgi?id=1546757 sed -r -i -e "/g-ir-scanner/s/-l(gobject-2.0|glib-2.0|yaml)//g" %{_vpath_builddir}/build.ninja