summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk3.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk3.spec b/gtk3.spec
index 756f02e..87e9f48 100644
--- a/gtk3.spec
+++ b/gtk3.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} > 7
%global with_wayland 1
%global with_broadway 1
%endif
@@ -22,7 +22,7 @@
Name: gtk3
Version: 3.22.24
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: GTK+ graphical user interface library
License: LGPLv2+
@@ -87,7 +87,7 @@ Requires: libwayland-cursor%{?_isa} >= %{wayland_version}
Requires: gdk-pixbuf2-modules%{?_isa}
# make sure we have a reasonable gsettings backend
-%if 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel} > 7
Recommends: dconf%{?_isa}
%else
Requires: dconf%{?_isa}
@@ -340,6 +340,9 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache &>/dev/null || :
%{_datadir}/installed-tests
%changelog
+* Mon Oct 23 2017 Troy Dawson <tdawson@redhat.com> - 3.22.24-2
+- Cleanup spec file conditionals
+
* Wed Oct 04 2017 Kalev Lember <klember@redhat.com> - 3.22.24-1
- Update to 3.22.24
bgstack15