Require minimum clutter 1.22.3 version

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 13:00:22 +02:00
parent c626d2bff0
commit ba435f1611

View File

@ -1,4 +1,6 @@
%define clutter_version 1.0 %global clutter_version 1.22.3
%global api_ver 1.0
Name: clutter-gtk Name: clutter-gtk
Version: 1.6.2 Version: 1.6.2
@ -10,10 +12,12 @@ License: LGPLv2+
URL: http://www.clutter-project.org URL: http://www.clutter-project.org
Source0: http://download.gnome.org/sources/clutter-gtk/1.6/clutter-gtk-%{version}.tar.xz Source0: http://download.gnome.org/sources/clutter-gtk/1.6/clutter-gtk-%{version}.tar.xz
BuildRequires: clutter-devel >= %{clutter_version}
BuildRequires: gtk3-devel >= 3.0.0 BuildRequires: gtk3-devel >= 3.0.0
BuildRequires: clutter-devel >= 1.9
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
Requires: clutter%{?_isa} >= %{clutter_version}
%description %description
clutter-gtk is a library which allows the embedding of a Clutter clutter-gtk is a library which allows the embedding of a Clutter
canvas (or "stage") into a GTK+ application, as well as embedding canvas (or "stage") into a GTK+ application, as well as embedding
@ -56,18 +60,19 @@ make check %{?_smp_mflags} V=1
%files -f cluttergtk-1.0.lang %files -f cluttergtk-1.0.lang
%doc COPYING NEWS %doc COPYING NEWS
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_libdir}/girepository-1.0/GtkClutter-%{clutter_version}.typelib %{_libdir}/girepository-1.0/GtkClutter-%{api_ver}.typelib
%files devel %files devel
%{_includedir}/clutter-gtk-%{clutter_version}/ %{_includedir}/clutter-gtk-%{api_ver}/
%{_libdir}/pkgconfig/clutter-gtk-%{clutter_version}.pc %{_libdir}/pkgconfig/clutter-gtk-%{api_ver}.pc
%{_libdir}/*.so %{_libdir}/*.so
%{_datadir}/gir-1.0/GtkClutter-%{clutter_version}.gir %{_datadir}/gir-1.0/GtkClutter-%{api_ver}.gir
%{_datadir}/gtk-doc/html/clutter-gtk-1.0 %{_datadir}/gtk-doc/html/clutter-gtk-1.0
%changelog %changelog
* Tue Jun 30 2015 Kalev Lember <klember@redhat.com> - 1.6.2-1 * Tue Jun 30 2015 Kalev Lember <klember@redhat.com> - 1.6.2-1
- Update to 1.6.2 - Update to 1.6.2
- Require minimum clutter 1.22.3 version
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild