Hello community, here is the log from the commit of package libspe checked in at Fri May 11 15:37:18 CEST 2007. -------- --- arch/ppc/libspe/libspe.changes 2007-04-13 16:12:16.000000000 +0200 +++ /mounts/work_src_done/STABLE/libspe/libspe.changes 2007-05-11 10:57:52.858122000 +0200 @@ -1,0 +2,6 @@ +Fri May 11 10:55:04 CEST 2007 - sassmann@suse.de + +- added post-install script to mount spufs filesystem +- added example program + +------------------------------------------------------------------- New: ---- libspe-example.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libspe.spec ++++++ --- /var/tmp/diff_new_pack.S20327/_old 2007-05-11 15:36:50.000000000 +0200 +++ /var/tmp/diff_new_pack.S20327/_new 2007-05-11 15:36:50.000000000 +0200 @@ -15,11 +15,13 @@ Group: Development/Libraries/Cross Autoreqprov: on Version: 2.1.0 -Release: 2 +Release: 8 Summary: Helper for standalong SPE applications URL: http://www.bsc.es/plantillaH.php?cat_id=253 +PreReq: %insserv_prereq grep Source: %{name}2-%{version}.tar.gz Source1: elfspe +Source2: libspe-example.tar.bz2 Patch: libspe.patch Patch1: event-public.diff Patch2: initevent.diff @@ -27,7 +29,6 @@ Patch4: ps.patch Patch5: binfmt.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -#BuildArchitectures: noarch ExclusiveArch: ppc ppc64 %description @@ -40,7 +41,7 @@ %prep -%setup -n %{name}2-%{version} +%setup -n %{name}2-%{version} -a 2 %patch -p1 %patch2 -p1 %patch1 -p1 @@ -57,9 +58,15 @@ mkdir -p $RPM_BUILD_ROOT/etc/init.d/ cp %{S:1} $RPM_BUILD_ROOT/etc/init.d/elfspe -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%post +if grep -q 'Cell Broadband Engine' < /proc/cpuinfo ; then + %{fillup_and_insserv -y elfspe } +fi +%run_ldconfig + +%postun +%run_ldconfig +%{insserv_cleanup} %files %defattr(-,root,root) @@ -67,8 +74,12 @@ /usr/include/* %attr(755,root,root) /usr/bin/* %attr(755,root,root) /etc/init.d/elfspe +%doc libspe-example %changelog +* Fri May 11 2007 - sassmann@suse.de +- added post-install script to mount spufs filesystem +- added example program * Fri Apr 13 2007 - sassmann@suse.de -fixed problem if binfmt_misc module wasn't loaded in elfspe/scripts/elfspe-register * Wed Apr 04 2007 - sassmann@suse.de ++++++ binfmt.patch ++++++ --- /var/tmp/diff_new_pack.S20327/_old 2007-05-11 15:36:50.000000000 +0200 +++ /var/tmp/diff_new_pack.S20327/_new 2007-05-11 15:36:50.000000000 +0200 @@ -2,9 +2,11 @@ =================================================================== --- libspe2-2.1.0.orig/elfspe/scripts/elfspe-register +++ libspe2-2.1.0/elfspe/scripts/elfspe-register -@@ -1,4 +1,5 @@ +@@ -1,4 +1,7 @@ #!/bin/sh ++mount -t spufs spufs /spu +modprobe binfmt_misc ++ if test -f /proc/sys/fs/binfmt_misc/spe then echo "elfspe already registered" ++++++ elfspe ++++++ --- arch/ppc/libspe/elfspe 2007-04-13 16:12:17.000000000 +0200 +++ /mounts/work_src_done/STABLE/libspe/elfspe 2007-05-11 10:57:52.854122000 +0200 @@ -19,7 +19,7 @@ # USA. ### BEGIN INIT INFO -# Provides: FOO +# Provides: elfspe # Required-Start: # Should-Start: $remote_fs # Required-Stop: @@ -159,6 +159,7 @@ # considered a success. start() { + mkdir -p /spu echo -n "Starting elfspe: " sh /usr/bin/elfspe-register return 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de