Set minimum required glib2 version
This commit is contained in:
parent
915a2c257b
commit
e835e4d903
@ -1,3 +1,5 @@
|
|||||||
|
%global glib2_version 2.45.2
|
||||||
|
|
||||||
Name: gobject-introspection
|
Name: gobject-introspection
|
||||||
Version: 1.45.2
|
Version: 1.45.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -11,7 +13,7 @@ Source0: http://download.gnome.org/sources/gobject-introspection/1.45/%{n
|
|||||||
|
|
||||||
Obsoletes: gir-repository
|
Obsoletes: gir-repository
|
||||||
|
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel >= %{glib2_version}
|
||||||
BuildRequires: python-devel >= 2.5
|
BuildRequires: python-devel >= 2.5
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
@ -32,6 +34,8 @@ BuildRequires: gtk-doc
|
|||||||
# For doctool
|
# For doctool
|
||||||
BuildRequires: python-mako
|
BuildRequires: python-mako
|
||||||
|
|
||||||
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GObject Introspection can scan C header and source files in order to
|
GObject Introspection can scan C header and source files in order to
|
||||||
generate introspection "typelib" files. It also provides an API to examine
|
generate introspection "typelib" files. It also provides an API to examine
|
||||||
@ -96,6 +100,7 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|||||||
%changelog
|
%changelog
|
||||||
* Sun May 31 2015 Kalev Lember <kalevlember@gmail.com> - 1.45.2-1
|
* Sun May 31 2015 Kalev Lember <kalevlember@gmail.com> - 1.45.2-1
|
||||||
- Update to 1.45.2
|
- Update to 1.45.2
|
||||||
|
- Set minimum required glib2 version
|
||||||
|
|
||||||
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 1.44.0-1
|
* Tue Mar 24 2015 Kalev Lember <kalevlember@gmail.com> - 1.44.0-1
|
||||||
- Update to 1.44.0
|
- Update to 1.44.0
|
||||||
|
Loading…
Reference in New Issue
Block a user