Update of /cvsroot/freevo/freevo/contrib/rpm
In directory sc8-pr-cvs1:/tmp/cvs-serv25595

Modified Files:
        freevo-cvs.spec freevo-src.spec freevo.spec 
Log Message:
Update spec file to use RH distro system python(2) instead of runtime
to work around GLIBC_PRIVATE label error.



Index: freevo-cvs.spec
===================================================================
RCS file: /cvsroot/freevo/freevo/contrib/rpm/freevo-cvs.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** freevo-cvs.spec     4 Aug 2003 07:01:27 -0000       1.3
--- freevo-cvs.spec     6 Aug 2003 03:00:49 -0000       1.4
***************
*** 232,236 ****
  
  %post
! cd %{_prefix}; ./freevo setup --compile=%{_optimize},%{_prefix}
  mkdir -p %{_cachedir}/freevo
  mkdir -p %{_cachedir}/freevo/{thumbnails,audio}
--- 232,242 ----
  
  %post
! #cd %{_prefix}; ./freevo setup --compile=%{_optimize},%{_prefix}
! cd %{_prefix}
! if [ -x /usr/bin/python2 ]; then
! /usr/bin/python2 src/setup_freevo.py --compile=%{_optimize},%{_prefix}
! else
! /usr/bin/python src/setup_freevo.py --compile=%{_optimize},%{_prefix}
! fi
  mkdir -p %{_cachedir}/freevo
  mkdir -p %{_cachedir}/freevo/{thumbnails,audio}
***************
*** 302,317 ****
  %{_cachedir}/freevo/testfiles
  
! %post boot
! if [ -x /sbin/chkconfig ]; then
!   chkconfig --add freevo
! fi
! depmod -a
! 
! %preun boot
! if [ "$1" = 0 ] ; then
!   if [ -x /sbin/chkconfig ]; then
!     chkconfig --del freevo
!   fi
! fi
  
  %post testfiles
--- 308,326 ----
  %{_cachedir}/freevo/testfiles
  
! #
! # The boot scripts were not chkconfig enabled
! #
! #%post boot
! #if [ -x /sbin/chkconfig ]; then
! #  chkconfig --add freevo
! #fi
! #depmod -a
! #
! #%preun boot
! #if [ "$1" = 0 ] ; then
! #  if [ -x /sbin/chkconfig ]; then
! #    chkconfig --del freevo
! #  fi
! #fi
  
  %post testfiles
***************
*** 323,326 ****
--- 332,338 ----
  
  %changelog
+ * Wed Aug  6 2003 TC Wan <[EMAIL PROTECTED]>
+ - Fixed python compile error on RH systems, disabled chkconfig for freevo-boot
+ 
  * Mon Aug  4 2003 TC Wan <[EMAIL PROTECTED]>
  - 1.3.4 release cleanup
***************
*** 328,332 ****
  * Mon Jun 30 2003 TC Wan <[EMAIL PROTECTED]>
  - 1.3.2 release cleanup
!                                                                                 
  * Tue Jun 24 2003 TC Wan <[EMAIL PROTECTED]>
  - 1.3.2-preX and runtime v.7 cleanup
--- 340,344 ----
  * Mon Jun 30 2003 TC Wan <[EMAIL PROTECTED]>
  - 1.3.2 release cleanup
! 
  * Tue Jun 24 2003 TC Wan <[EMAIL PROTECTED]>
  - 1.3.2-preX and runtime v.7 cleanup

Index: freevo-src.spec
===================================================================
RCS file: /cvsroot/freevo/freevo/contrib/rpm/freevo-src.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** freevo-src.spec     4 Aug 2003 07:01:27 -0000       1.3
--- freevo-src.spec     6 Aug 2003 03:00:49 -0000       1.4
***************
*** 232,236 ****
  
  %post
! cd %{_prefix}; ./freevo setup --compile=%{_optimize},%{_prefix}
  mkdir -p %{_cachedir}/freevo
  mkdir -p %{_cachedir}/freevo/{thumbnails,audio}
--- 232,242 ----
  
  %post
! #cd %{_prefix}; ./freevo setup --compile=%{_optimize},%{_prefix}
! cd %{_prefix}
! if [ -x /usr/bin/python2 ]; then
! /usr/bin/python2 src/setup_freevo.py --compile=%{_optimize},%{_prefix}
! else
! /usr/bin/python src/setup_freevo.py --compile=%{_optimize},%{_prefix}
! fi
  mkdir -p %{_cachedir}/freevo
  mkdir -p %{_cachedir}/freevo/{thumbnails,audio}
***************
*** 302,317 ****
  %{_cachedir}/freevo/testfiles
  
! %post boot
! if [ -x /sbin/chkconfig ]; then
!   chkconfig --add freevo
! fi
! depmod -a
! 
! %preun boot
! if [ "$1" = 0 ] ; then
!   if [ -x /sbin/chkconfig ]; then
!     chkconfig --del freevo
!   fi
! fi
  
  %post testfiles
--- 308,326 ----
  %{_cachedir}/freevo/testfiles
  
! #
! # The boot scripts were not chkconfig enabled
! #
! #%post boot
! #if [ -x /sbin/chkconfig ]; then
! #  chkconfig --add freevo
! #fi
! #depmod -a
! #
! #%preun boot
! #if [ "$1" = 0 ] ; then
! #  if [ -x /sbin/chkconfig ]; then
! #    chkconfig --del freevo
! #  fi
! #fi
  
  %post testfiles
***************
*** 323,326 ****
--- 332,338 ----
  
  %changelog
+ * Wed Aug  6 2003 TC Wan <[EMAIL PROTECTED]>
+ - Fixed python compile error on RH systems, disabled chkconfig for freevo-boot
+ 
  * Mon Aug  4 2003 TC Wan <[EMAIL PROTECTED]>
  - 1.3.4 release cleanup

Index: freevo.spec
===================================================================
RCS file: /cvsroot/freevo/freevo/contrib/rpm/freevo.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** freevo.spec 4 Aug 2003 07:01:27 -0000       1.3
--- freevo.spec 6 Aug 2003 03:00:49 -0000       1.4
***************
*** 232,236 ****
  
  %post
! cd %{_prefix}; ./freevo setup --compile=%{_optimize},%{_prefix}
  mkdir -p %{_cachedir}/freevo
  mkdir -p %{_cachedir}/freevo/{thumbnails,audio}
--- 232,242 ----
  
  %post
! #cd %{_prefix}; ./freevo setup --compile=%{_optimize},%{_prefix}
! cd %{_prefix}
! if [ -x /usr/bin/python2 ]; then
! /usr/bin/python2 src/setup_freevo.py --compile=%{_optimize},%{_prefix}
! else
! /usr/bin/python src/setup_freevo.py --compile=%{_optimize},%{_prefix}
! fi
  mkdir -p %{_cachedir}/freevo
  mkdir -p %{_cachedir}/freevo/{thumbnails,audio}
***************
*** 302,317 ****
  %{_cachedir}/freevo/testfiles
  
! %post boot
! if [ -x /sbin/chkconfig ]; then
!   chkconfig --add freevo
! fi
! depmod -a
! 
! %preun boot
! if [ "$1" = 0 ] ; then
!   if [ -x /sbin/chkconfig ]; then
!     chkconfig --del freevo
!   fi
! fi
  
  %post testfiles
--- 308,326 ----
  %{_cachedir}/freevo/testfiles
  
! #
! # The boot scripts were not chkconfig enabled
! #
! #%post boot
! #if [ -x /sbin/chkconfig ]; then
! #  chkconfig --add freevo
! #fi
! #depmod -a
! #
! #%preun boot
! #if [ "$1" = 0 ] ; then
! #  if [ -x /sbin/chkconfig ]; then
! #    chkconfig --del freevo
! #  fi
! #fi
  
  %post testfiles
***************
*** 323,326 ****
--- 332,338 ----
  
  %changelog
+ * Wed Aug  6 2003 TC Wan <[EMAIL PROTECTED]>
+ - Fixed python compile error on RH systems, disabled chkconfig for freevo-boot
+ 
  * Mon Aug  4 2003 TC Wan <[EMAIL PROTECTED]>
  - 1.3.4 release cleanup




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to