Browse Source

upgrading package: xvid 1.1.0 -> 1.1.1

Christoph Schug 19 years ago
parent
commit
aad7371b95
1 changed files with 9 additions and 3 deletions
  1. 9 3
      xvid/xvid.spec

+ 9 - 3
xvid/xvid.spec

@@ -32,14 +32,14 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        Graphics
 License:      GPL
-Version:      1.1.0
-Release:      20061013
+Version:      1.1.1
+Release:      20061031
 
 #   package options
 %option       with_asm  no
 
 #   list of sources
-Source0:      http://files.xvid.org/downloads/xvidcore-%{version}.tar.bz2
+Source0:      http://downloads.xvid.org/downloads/xvidcore-%{version}.tar.bz2
 
 #   build information
 Prefix:       %{l_prefix}
@@ -58,6 +58,7 @@ AutoReqProv:  no
 
 %track
     prog xvid = {
+        comment   = "cs: fix in %prep section probably obsolete with next vendor release"
         version   = %{version}
         url       = http://www.xvid.org/downloads.html
         regex     = xvidcore-(\d+\.\d+\.\d+)\.tar\.bz2
@@ -66,6 +67,11 @@ AutoReqProv:  no
 %prep
     %setup -q -n xvidcore-%{version}
 
+    #   fix broken string in release 1.1.1
+    %{l_shtool} subst \
+        -e 's/\(info->build = "xvid-1.1.1\);/\1";/' \
+        src/xvid.c
+
 %build
     ( cd build/generic
       CC="%{l_cc}" \