1 |
%define name gobject-introspection |
%define name gobject-introspection |
2 |
%define version 1.29.16 |
%define version 1.29.16 |
3 |
%define git 0 |
%define git 0 |
4 |
%define rel 3 |
%define rel 4 |
5 |
|
|
6 |
%if %git |
%if %git |
7 |
%define release %mkrel -c %{git} %{rel} |
%define release %mkrel -c %{git} %{rel} |
309 |
|
|
310 |
%apply_patches |
%apply_patches |
311 |
|
|
|
# From Ubuntu: |
|
|
# Roll back to gir/glib-2.0 as of before upstream commit 6d30588c1. |
|
|
# Later commits have a GVariant which current pygobject does not |
|
|
# deal with. This is fixed in the invoke-rewrite branch of |
|
|
# pygobject, so until this lands we need the older annotations. |
|
|
pushd gir |
|
|
rm -rf glib-2.0.c |
|
|
cp %{SOURCE1} . |
|
|
popd |
|
|
|
|
312 |
%build |
%build |
313 |
|
|
314 |
%if %{git} |
%if %{git} |