Add minimum version requirements for a few deps

dnf's depsolver uses the equivalent of --skip-broken by default, so try
to be a little bit more careful here with versions to make sure we don't
end up with too old dependencies.
This commit is contained in:
Kalev Lember 2015-06-30 12:51:36 +02:00
parent 4cfddcf59e
commit 38c19f5790

View File

@ -6,9 +6,14 @@
%global with_tests 1
%global cogl_version 1.20.0
%global json_glib_version 0.12.0
%global cairo_version 1.14.0
%global libinput_version 0.8
Name: clutter
Version: 1.23.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Open Source software library for creating rich graphical user interfaces
Group: Development/Libraries
@ -16,12 +21,14 @@ License: LGPLv2+
URL: http://www.clutter-project.org/
Source0: http://download.gnome.org/sources/clutter/1.23/clutter-%{version}.tar.xz
BuildRequires: atk-devel
BuildRequires: cairo-gobject-devel >= %{cairo_version}
BuildRequires: cogl-devel >= %{cogl_version}
BuildRequires: gdk-pixbuf2-devel
BuildRequires: glib2-devel mesa-libGL-devel pkgconfig pango-devel
BuildRequires: cairo-gobject-devel gdk-pixbuf2-devel atk-devel
BuildRequires: cogl-devel >= 1.15.1
BuildRequires: gobject-introspection-devel >= 0.9.6
BuildRequires: gtk3-devel
BuildRequires: json-glib-devel >= 0.12.0
BuildRequires: json-glib-devel >= %{json_glib_version}
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXi-devel
@ -32,10 +39,16 @@ BuildRequires: libwayland-client-devel
BuildRequires: libwayland-cursor-devel
BuildRequires: libwayland-server-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libinput-devel >= 0.8
BuildRequires: libinput-devel >= %{libinput_version}
%endif
Requires: cairo%{?_isa} >= %{cairo_version}
Requires: cogl%{?_isa} >= %{cogl_version}
Requires: gobject-introspection
Requires: json-glib%{?_isa} >= %{json_glib_version}
%if 0%{?with_wayland}
Requires: libinput%{?_isa} >= %{libinput_version}
%endif
%description
Clutter is an open source software library for creating fast,
@ -128,6 +141,9 @@ find %{buildroot} -name '*.la' -delete
%endif
%changelog
* Tue Jun 30 2015 Kalev Lember <klember@redhat.com> - 1.23.2-2
- Add minimum version requirements for a few deps
* Mon Jun 29 2015 Kalev Lember <klember@redhat.com> - 1.23.2-1
- Update to 1.23.2