Disable numpy to reduce the dependency chain

This commit is contained in:
Miro Hrončok 2019-11-27 15:52:06 +01:00
parent b375c14e96
commit 020c301a20

View File

@ -15,7 +15,7 @@
Name: pygtk2
Version: 2.24.0
Release: 27%{?dist}
Release: 28%{?dist}
License: LGPLv2+
Summary: Python bindings for GTK+
URL: http://www.pygtk.org/
@ -49,7 +49,6 @@ BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libglade2-devel >= %{libglade2_version}
BuildRequires: libtool
BuildRequires: libxslt
BuildRequires: numpy
BuildRequires: pango-devel >= %{pango_version}
BuildRequires: pycairo-devel >= %{pycairo_version}
BuildRequires: pygobject2-devel >= %{pygobject2_version}
@ -110,7 +109,7 @@ do
done
%build
%configure --enable-thread --enable-numpy
%configure --enable-thread --disable-numpy
%{make_build}
%install
@ -145,6 +144,9 @@ find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
%{_datadir}/gtk-doc/html/pygtk/
%changelog
* Wed Nov 27 2019 Miro Hrončok <mhroncok@redhat.com> - 2.24.0-28
- Disable numpy to reduce the dependency chain
* Wed Nov 27 2019 Kalev Lember <klember@redhat.com> - 2.24.0-27
- Fix the build with pango 1.44 (#1763401)