diff --git a/rpm-ostree.spec b/rpm-ostree.spec index 501107c..fd651c8 100644 --- a/rpm-ostree.spec +++ b/rpm-ostree.spec @@ -114,7 +114,13 @@ The %{name}-devel package includes the header files for %{name}-libs. %build env NOCONFIGURE=1 ./autogen.sh +%if 0%{?rhel} != 0 && 0%{?rhel} <= 7 +# https://github.com/projectatomic/rpm-ostree/pull/1732/ +# https://bugzilla.redhat.com/show_bug.cgi?id=1672404 +%configure --disable-silent-rules --enable-gtk-doc --disable-dfd-over-dbus +%else %configure --disable-silent-rules --enable-gtk-doc +%endif make %{?_smp_mflags} %install