Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-10-23 13:31:58 -05:00
parent 3bda6cfa4d
commit 29fc170bf1

View File

@ -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