Browse Source

upgrading package: mhash 0.9.4a -> 0.9.6

Ralf S. Engelschall 19 years ago
parent
commit
677492a8e5
2 changed files with 10 additions and 26 deletions
  1. 5 17
      mhash/mhash.patch
  2. 5 9
      mhash/mhash.spec

+ 5 - 17
mhash/mhash.patch

@@ -1,18 +1,6 @@
-Index: include/Makefile.in
---- include/Makefile.in.orig	2006-01-10 05:44:15 +0100
-+++ include/Makefile.in	2006-02-19 11:18:48 +0100
-@@ -174,7 +174,7 @@
- target_cpu = @target_cpu@
- target_os = @target_os@
- target_vendor = @target_vendor@
--nobase_include_HEADERS = mhash.h mutils/mhash.h mutils/mglobal.h mutils/mtypes.h mutils/mutils.h mutils/mhash_config.h
-+nobase_include_HEADERS = mhash.h mutils/mhash.h mutils/mglobal.h mutils/mtypes.h mutils/mutils.h mutils/mhash_config.h mutils/mincludes.h
- all: all-am
- 
- .SUFFIXES:
 Index: lib/stdfns.c
---- lib/stdfns.c.orig	2006-01-10 04:47:18 +0100
-+++ lib/stdfns.c	2006-02-19 11:16:56 +0100
+--- lib/stdfns.c.orig	2006-03-15 21:12:36 +0100
++++ lib/stdfns.c	2006-03-16 08:03:44 +0100
 @@ -24,6 +24,7 @@
   */
  
@@ -21,7 +9,7 @@ Index: lib/stdfns.c
  
  /**
   * Some of these are wrappers. The idea is to eventually produce an extremely
-@@ -222,11 +223,11 @@
+@@ -269,11 +270,11 @@
  		{
  			return(0);
  		}
@@ -35,7 +23,7 @@ Index: lib/stdfns.c
  	}
  
  	return(memcmp(s1, s2, n));
-@@ -343,11 +344,11 @@
+@@ -390,11 +391,11 @@
  		{
  			return(0);
  		}
@@ -49,7 +37,7 @@ Index: lib/stdfns.c
  	}
  	return(strcmp((char *) src1, (char *) src2));
  }
-@@ -366,11 +367,11 @@
+@@ -413,11 +414,11 @@
  		{
  			return(0);
  		}

+ 5 - 9
mhash/mhash.spec

@@ -22,10 +22,6 @@
 ##  SUCH DAMAGE.
 ##
 
-#   package versions
-%define       V_vl  0.9.4
-%define       V_pl  a
-
 #   package information
 Name:         mhash
 Summary:      Thread-safe hash library
@@ -36,11 +32,11 @@ Distribution: OpenPKG
 Class:        PLUS
 Group:        Cryptography
 License:      LGPL
-Version:      %{V_vl}%{V_pl}
-Release:      20060219
+Version:      0.9.6
+Release:      20060316
 
 #   list of sources
-Source0:      http://osdn.dl.sourceforge.net/sourceforge/mhash/mhash-%{V_vl}%{V_pl}.tar.gz
+Source0:      http://osdn.dl.sourceforge.net/sourceforge/mhash/mhash-%{version}.tar.gz
 Patch0:       mhash.patch
 
 #   build information
@@ -61,13 +57,13 @@ AutoReqProv:  no
 
 %track
     prog mhash = {
-        version   = %{V_vl}%{V_pl}
+        version   = %{version}
         url       = http://prdownloads.sourceforge.net/mhash/
         regex     = (?<!-)mhash-(__VER__)\.tar\.gz
     }
 
 %prep
-    %setup -q -n mhash-%{V_vl}
+    %setup -q
     %patch -p0
 
 %build