Hello community,

here is the log from the commit of package unrar for openSUSE:Factory:NonFree 
checked in at 2020-06-10 01:01:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory:NonFree/unrar (Old)
 and      /work/SRC/openSUSE:Factory:NonFree/.unrar.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "unrar"

Wed Jun 10 01:01:49 2020 rev:88 rq:812034 version:5.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory:NonFree/unrar/unrar.changes      2020-04-02 
17:41:27.229217535 +0200
+++ /work/SRC/openSUSE:Factory:NonFree/.unrar.new.3606/unrar.changes    
2020-06-10 01:01:50.409050699 +0200
@@ -1,0 +2,7 @@
+Sat Jun  6 08:06:11 UTC 2020 - Ismail Dönmez <[email protected]>
+
+- Update to version 5.9.3
+  * Based on WinRAR version 5.91 beta 1
+- Refresh and rename unrarsrc-5.0.5-soname.patch to soname.patch
+
+-------------------------------------------------------------------

Old:
----
  unrarsrc-5.0.5-soname.patch
  unrarsrc-5.9.2.tar.gz

New:
----
  soname.patch
  unrarsrc-5.9.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.YyeBXU/_old  2020-06-10 01:01:51.109052543 +0200
+++ /var/tmp/diff_new_pack.YyeBXU/_new  2020-06-10 01:01:51.113052553 +0200
@@ -18,10 +18,10 @@
 
 # majorversion should match the major version number.
 %define majorversion 5
-%define libsuffix 5_9_2
+%define libsuffix 5_9_3
 
 Name:           unrar
-Version:        5.9.2
+Version:        5.9.3
 Release:        0
 Summary:        A program to extract, test, and view RAR archives
 License:        NonFree
@@ -29,7 +29,7 @@
 URL:            http://www.rarlab.com
 Source0:        http://www.rarlab.com/rar/%{name}src-%{version}.tar.gz
 Source1:        unrar.1
-Patch1:         unrarsrc-5.0.5-soname.patch
+Patch1:         soname.patch
 BuildRequires:  gcc-c++
 
 %description
@@ -61,12 +61,7 @@
 sed -i 's/\r$//' *.txt
 
 %build
-make %{?_smp_mflags} -f makefile CXXFLAGS="%{optflags} \
-    -fPIC -fno-strict-aliasing" STRIP=true
-#bnc#693890
-rm -f *.o
-make %{?_smp_mflags} -f makefile lib libversion=%{version} \
-    CXXFLAGS="%{optflags} -fPIC -fno-strict-aliasing" STRIP=true
+make %{?_smp_mflags} -f makefile unrar lib libversion=%{version} 
CXXFLAGS="%{optflags} -fPIC -fno-strict-aliasing" STRIP=true
 
 %install
 install -Dpm 0755 unrar \

++++++ soname.patch ++++++
Index: unrar/makefile
===================================================================
--- unrar.orig/makefile
+++ unrar/makefile
@@ -157,7 +157,7 @@ lib:        WHAT=RARDLL
 lib:   CXXFLAGS+=$(LIBFLAGS)
 lib:   clean $(OBJECTS) $(LIB_OBJ)
        @rm -f libunrar.*
-       $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+       $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o 
libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
        $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
 
 install-unrar:
++++++ unrarsrc-5.9.2.tar.gz -> unrarsrc-5.9.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/arcread.cpp new/unrar/arcread.cpp
--- old/unrar/arcread.cpp       2020-03-26 11:04:32.000000000 +0100
+++ new/unrar/arcread.cpp       2020-06-04 20:26:42.000000000 +0200
@@ -1262,6 +1262,7 @@
     IntToExt(FileName,FileName,ASIZE(FileName));
     CharToWide(FileName,FileHead.FileName,ASIZE(FileHead.FileName));
     ConvertNameCase(FileHead.FileName);
+    ConvertFileHeader(&FileHead);
 
     if (Raw.Size()!=0)
       NextBlockPos=CurBlockPos+FileHead.HeadSize+FileHead.PackSize;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/crc.cpp new/unrar/crc.cpp
--- old/unrar/crc.cpp   2020-03-26 11:04:32.000000000 +0100
+++ new/unrar/crc.cpp   2020-06-04 20:26:42.000000000 +0200
@@ -73,7 +73,7 @@
                crc_tables[5][(byte)(StartCRC >> 16)] ^
                crc_tables[4][(byte)(StartCRC >> 24)] ^
                crc_tables[3][(byte) NextData       ] ^
-               crc_tables[2][(byte)(NextData >>8 ) ] ^
+               crc_tables[2][(byte)(NextData >> 8) ] ^
                crc_tables[1][(byte)(NextData >> 16)] ^
                crc_tables[0][(byte)(NextData >> 24)];
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/dll.rc new/unrar/dll.rc
--- old/unrar/dll.rc    2020-03-26 11:02:02.000000000 +0100
+++ new/unrar/dll.rc    2020-06-04 20:22:24.000000000 +0200
@@ -2,8 +2,8 @@
 #include <commctrl.h>
 
 VS_VERSION_INFO VERSIONINFO
-FILEVERSION 5, 90, 100, 3379
-PRODUCTVERSION 5, 90, 100, 3379
+FILEVERSION 5, 91, 1, 3449
+PRODUCTVERSION 5, 91, 1, 3449
 FILEOS VOS__WINDOWS32
 FILETYPE VFT_APP
 {
@@ -14,8 +14,8 @@
       VALUE "CompanyName", "Alexander Roshal\0"
       VALUE "ProductName", "RAR decompression library\0"
       VALUE "FileDescription", "RAR decompression library\0"
-      VALUE "FileVersion", "5.90.0\0"
-      VALUE "ProductVersion", "5.90.0\0"
+      VALUE "FileVersion", "5.91.1\0"
+      VALUE "ProductVersion", "5.91.1\0"
       VALUE "LegalCopyright", "Copyright � Alexander Roshal 1993-2020\0"
       VALUE "OriginalFilename", "Unrar.dll\0"
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/makefile new/unrar/makefile
--- old/unrar/makefile  2017-11-22 07:53:39.000000000 +0100
+++ new/unrar/makefile  2020-05-21 11:13:21.000000000 +0200
@@ -138,7 +138,9 @@
 uninstall:     uninstall-unrar
 
 clean:
-       @rm -f *.o *.bak *~
+       @rm -f *.bak *~
+       @rm -f $(OBJECTS) $(UNRAR_OBJ) $(LIB_OBJ)
+       @rm -f unrar libunrar.*
 
 unrar: clean $(OBJECTS) $(UNRAR_OBJ)
        @rm -f unrar
@@ -154,8 +156,7 @@
 lib:   WHAT=RARDLL
 lib:   CXXFLAGS+=$(LIBFLAGS)
 lib:   clean $(OBJECTS) $(LIB_OBJ)
-       @rm -f libunrar.so
-       @rm -f libunrar.a
+       @rm -f libunrar.*
        $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
        $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unrar/version.hpp new/unrar/version.hpp
--- old/unrar/version.hpp       2020-03-26 11:04:34.000000000 +0100
+++ new/unrar/version.hpp       2020-06-04 20:26:44.000000000 +0200
@@ -1,6 +1,6 @@
 #define RARVER_MAJOR     5
-#define RARVER_MINOR    90
-#define RARVER_BETA      0
-#define RARVER_DAY      26
-#define RARVER_MONTH     3
+#define RARVER_MINOR    91
+#define RARVER_BETA      1
+#define RARVER_DAY       4
+#define RARVER_MONTH     6
 #define RARVER_YEAR   2020


Reply via email to