John Ellson wrote:
In gst/Makefile.am it needs "pygstdir = $(pkgpyexecdir)" instead of
"pygstdir = $(pkgpythondir)"
I've attached a patch for this and a patch to the .spec to apply that
patch.
Oops, I missed the patch for Makefile.am. The patch to Makefile.in is
sufficient for the rpm to build, but the
source of the problem is in Makefile.am.
John
--- gst/Makefile.am.orig 2006-03-07 22:04:59.000000000 -0500
+++ gst/Makefile.am 2006-03-07 22:05:41.000000000 -0500
@@ -5,7 +5,7 @@
pkgpythondir = $(pythondir)/gst
pkgpyexecdir = $(pyexecdir)/gst
-pygstdir = $(pkgpythondir)
+pygstdir = $(pkgpyexecdir)
pygst_PYTHON = __init__.py
pygstexecdir = $(pkgpyexecdir)
--- gst/Makefile.in.orig 2006-03-07 22:07:18.000000000 -0500
+++ gst/Makefile.in 2006-03-07 21:43:58.000000000 -0500
@@ -263,7 +263,7 @@
common_cflags = $(PYGTK_CFLAGS) $(GST_CFLAGS) $(PYGST_CFLAGS) -fno-strict-aliasing
common_libadd = $(GST_LIBS)
common_ldflags = -module -avoid-version
-pygstdir = $(pkgpythondir)
+pygstdir = $(pkgpyexecdir)
pygst_PYTHON = __init__.py
pygstexecdir = $(pkgpyexecdir)
pygstexec_LTLIBRARIES = _gst.la $(interface_lib) $(play_lib)
--- gstreamer08-python.spec.orig 2006-03-07 21:45:24.000000000 -0500
+++ gstreamer08-python.spec 2006-03-07 21:43:56.000000000 -0500
@@ -13,6 +13,7 @@
License: LGPL
URL: http://gstreamer.freedesktop.org/
Source: http://gstreamer.freedesktop.org/src/gst-python/gst-python-%{version}.tar.bz2
+Patch1: gst_lib64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python >= 2
@@ -42,6 +43,7 @@
%prep
%setup -q -n gst-python-%{version}
+%patch1 -p0
%build
# the "docs" were built when disting the tarball, so we don't need to
--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list