rpms/gnome-python2-extras/devel gnome-python2-extras.spec, 1.12, 1.13
Matthew Barnes (mbarnes)
fedora-extras-commits at redhat.com
Fri Oct 5 17:10:09 UTC 2007
Author: mbarnes
Update of /cvs/pkgs/rpms/gnome-python2-extras/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8506
Modified Files:
gnome-python2-extras.spec
Log Message:
* Fri Oct 05 2007 Matthew Barnes <mbarnes at redhat.com> - 2.19.1-7.fc8
- Use ifarch instead of ExcludeArch to skip building the gdl subpackage
on ppc64. ExcludeArch affects the whole spec.
Index: gnome-python2-extras.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnome-python2-extras/devel/gnome-python2-extras.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- gnome-python2-extras.spec 28 Sep 2007 20:37:05 -0000 1.12
+++ gnome-python2-extras.spec 5 Oct 2007 17:09:34 -0000 1.13
@@ -10,11 +10,17 @@
%define libgda_version 2.99.6
%define anjuta_gdl_version 0.7.1
+%ifarch ppc64
+%define build_gdl 0
+%else
+%define build_gdl 1
+%endif
+
### Abstract ###
Name: gnome-python2-extras
Version: 2.19.1
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPL/LGPL
Group: Development/Languages
Summary: The sources for additional. PyGNOME Python extension modules.
@@ -52,16 +58,17 @@
The gnome-python-extra package contains the source packages for additional
Python bindings for GNOME. It should be used together with gnome-python.
+%if %{build_gdl}
%package -n gnome-python2-gdl
Summary: Python bindings for the GNOME Development Library
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
Requires: anjuta-gdl >= %{anjuta_gdl_version}
-ExcludeArch: ppc64
%description -n gnome-python2-gdl
This module contains a wrapper that allows the use of the GNOME Development
Library (gdl) via Python.
+%endif
%package -n gnome-python2-gtkhtml2
Summary: Python bindings for interacting with gtkhtml2
@@ -145,9 +152,11 @@
%{_libdir}/pkgconfig/gnome-python-extras-2.0.pc
%{_datadir}/pygtk
+%if %{build_gdl}
%files -n gnome-python2-gdl
%defattr(-,root,root,-)
%{python_sitearch}/gtk-2.0/gdl.so
+%endif
%files -n gnome-python2-gtkhtml2
%defattr(-,root,root,-)
@@ -181,6 +190,10 @@
%{_libdir}/pkgconfig/pygda-3.0.pc
%changelog
+* Fri Oct 05 2007 Matthew Barnes <mbarnes at redhat.com> - 2.19.1-7.fc8
+- Use ifarch instead of ExcludeArch to skip building the gdl subpackage
+ on ppc64. ExcludeArch affects the whole spec.
+
* Fri Sep 28 2007 Matthew Barnes <mbarnes at redhat.com> - 2.19.1-6.fc8
- Add a gnome-python2-gdl subpackage (RH bug #303141).
More information about the fedora-extras-commits
mailing list