rpms/gstreamer-python/devel gstreamer-python.spec,1.16,1.17

Denis Leroy (denis) fedora-extras-commits at redhat.com
Wed Feb 21 08:44:29 UTC 2007


Author: denis

Update of /cvs/extras/rpms/gstreamer-python/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2986

Modified Files:
	gstreamer-python.spec 
Log Message:
- Ship examples in doc directory only, fixes multilib conflict (#228363)
- rpmlint cleanup



Index: gstreamer-python.spec
===================================================================
RCS file: /cvs/extras/rpms/gstreamer-python/devel/gstreamer-python.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- gstreamer-python.spec	14 Feb 2007 07:08:38 -0000	1.16
+++ gstreamer-python.spec	21 Feb 2007 08:43:57 -0000	1.17
@@ -2,7 +2,7 @@
 
 Name:           gstreamer-python
 Version:        0.10.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python bindings for GStreamer
 
 Group:          Development/Languages
@@ -36,19 +36,22 @@
 
 %prep
 %setup -q -n gst-python-%{version}
+%{__sed} -i 's|^#!/usr/bin/env python$|#|' gst/extend/*.py
 
 
 %build
-# the "docs" were built when disting the tarball, so we don't need to
-# rebuild them
-%configure --disable-docs
+%configure
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT docs-to-include
 make install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
+mkdir -p docs-to-include/examples
+chmod -x examples/*.py
+cp examples/*.py docs-to-include/examples/
+rm -fr $RPM_BUILD_ROOT%{_datadir}/gst-python/%{majorminor}/examples
 
 
 %clean
@@ -58,17 +61,20 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING ChangeLog NEWS README
-%doc examples/*.py
+%doc docs-to-include/*
 %{_libdir}/python?.?/site-packages/gst-%{majorminor}
 %{_libdir}/python?.?/site-packages/pygst.py*
 %{_libdir}/python?.?/site-packages/pygst.pth
 %dir %{_datadir}/gst-python
-%{_datadir}/gst-python/%{majorminor}/examples
 %{_datadir}/gst-python/%{majorminor}/defs/*.defs
 %{_libdir}/pkgconfig/gst-python-%{majorminor}.pc
 
 
 %changelog
+* Tue Feb 20 2007 Denis Leroy <denis at poolshark.org> - 0.10.7-2
+- Ship examples in doc directory only, fixes multilib conflict (#228363)
+- rpmlint cleanup
+
 * Wed Feb 14 2007 Denis Leroy <denis at poolshark.org> - 0.10.7-1
 - Update to 0.10.7
 - Some spec cleanups




More information about the scm-commits mailing list