OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [email protected]
  Module: openpkg-src                      Date:   22-Feb-2009 23:05:23
  Branch: HEAD                             Handle: 2009022222052300

  Modified files:
    openpkg-src/supose      supose.sh supose.spec

  Log:
    upgrading package: supose 0.5.0a1.165 -> 0.5.1

  Summary:
    Revision    Changes     Path
    1.3         +11 -1      openpkg-src/supose/supose.sh
    1.4         +7  -8      openpkg-src/supose/supose.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/supose/supose.sh
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 supose.sh
  --- openpkg-src/supose/supose.sh      17 Jan 2009 10:42:48 -0000      1.2
  +++ openpkg-src/supose/supose.sh      22 Feb 2009 22:05:23 -0000      1.3
  @@ -3,8 +3,18 @@
   ##  supose.sh -- SupoSE CLI wrapper
   ##
   
  +cp=""
  +for jar in @l_prefix@/libexec/supose/*.jar; do
  +    if [ ".$cp" = . ]; then
  +        cp="$jar"
  +    else
  +        cp="$cp:$jar"
  +    fi
  +done
   exec @l_prefix@/bin/java \
       -Vsun-jdk \
  -    -jar @l_prefix@/libexec/supose/supose.jar \
  +    -Xms512m -Xmx1024m 
  +    -cp "$cp" \
  +    com.soebes.supose.cli.SuposeCLI \
       ${1+"$@"}
   
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/supose/supose.spec
  ============================================================================
  $ cvs diff -u -r1.3 -r1.4 supose.spec
  --- openpkg-src/supose/supose.spec    17 Jan 2009 10:42:48 -0000      1.3
  +++ openpkg-src/supose/supose.spec    22 Feb 2009 22:05:23 -0000      1.4
  @@ -22,8 +22,8 @@
   ##
   
   #   package versions
  -%define       V_dist  0.5.0-alpha-1-165
  -%define       V_opkg  0.5.0a1.165
  +%define       V_dist  0.5.1-232
  +%define       V_opkg  0.5.1
   
   #   package information
   Name:         supose
  @@ -36,10 +36,10 @@
   Group:        SCM
   License:      GPL
   Version:      %{V_opkg}
  -Release:      20090117
  +Release:      20090222
   
   #   list of sources
  -Source0:      
http://redmine.soebes.de/attachments/download/20/supose-%{V_dist}.one-jar.jar
  +Source0:      
http://redmine.soebes.de/attachments/download/33/supose-%{V_dist}-bin.tar.gz
   Source1:      supose.sh
   
   #   build information
  @@ -59,11 +59,11 @@
       prog supose = {
           version   = %{V_dist}
           url       = http://redmine.soebes.de/projects/list_files/supose
  -        regex     = supose-(__VER__)\.jar
  +        regex     = supose-(__VER__)-bin\.tar\.gz
       }
   
   %prep
  -    %setup -q -T -c
  +    %setup -q
   
   %build
   
  @@ -75,8 +75,7 @@
       %{l_shtool} install -c -m 755 %{l_value -s -a} \
           %{SOURCE supose.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/supose
       %{l_shtool} install -c -m 644 \
  -        %{SOURCE supose-%{V_dist}.one-jar.jar} \
  -        $RPM_BUILD_ROOT%{l_prefix}/libexec/supose/supose.jar
  +        lib/*.jar $RPM_BUILD_ROOT%{l_prefix}/libexec/supose/
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
   
   %files -f files
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to