Hello community,
here is the log from the commit of package unrar for openSUSE:Factory
checked in at Fri Jan 7 12:45:20 CET 2011.
--------
--- unrar/unrar.changes 2010-08-18 11:54:50.000000000 +0200
+++ /mounts/work_src_done/STABLE/unrar/unrar.changes 2011-01-05 03:49:58.000000000 +0100
@@ -1,0 +2,48 @@
+Wed Jan 5 00:41:21 UTC 2011 - davejplater@gmail.com
+
+- Update to 4.0.4 and remade updated man page with help2man
+- Upstream changes :
+ *previous beta versions could truncate some of files,
+ extracted from ISO 9660 archives.
+ *Version 4.00 beta 3
+ *Now switch -ep3 converts not only disk letters, but also UNC paths.
+ So \\server\share will be converted to __server\share when archiving
+ and restored to the original \\server\share when extracting with -ep3.
+ *previous beta could fail to unpack self-extracting and multivolume
+ CAB archives;
+ *"Create a new folder" command always created new folders
+ in the root archive folder;
+ *"Remove redundant folders from extraction path" option did not work;
+ *previous beta crashed when displaying archive comments
+ with ANSI escape sequences;
+ *switches -cl and -cu did not work.
+ *Version 4.00 beta 2
+ *If you enabled "Use for all archives" option when entering the default
+ password (Ctrl+P) and specified the empty password, extract and test
+ commands will skip all encrypted archives.
+ *Version 4.00 beta 1
+ *RAR decompression speed is improved. Depending on data type,
+ decompression can be up to 30% faster than in previous versions.
+ Both the general RAR algorithm and most of special RAR multimedia
+ methods benefit from this improvement. The only module of RAR
+ algorithm, which is not affected, is "Text compression" method.
+ *UDF support is upgraded to UDF 2.50 revision. It makes possible
+ to unpack most of Blu-ray ISO files;
+ *Changes in -x switch syntax. Now you can specify a wildcard
+ exclusion mask for folders. Such mask must have the trailing '\'
+ character, like -x*tmp*\ or -x*\temp\
+ *New error code 10 ("no files") is added to list of error codes
+ returned in command line mode by RAR and WinRAR. This new code
+ can be returned by archive, extract, delete and repair commands.
+ It means that RAR did not find any files matched the specified
+ file or archive mask.
+ *Now switch -ep3 converts not only disk letters, but also UNC paths.
+ So \\server\share will be converted to __server\share when archiving
+ and restored to the original \\server\share when extracting with -ep3.
+ *renaming a file in archive could also rename all other files
+ with the same name in other folders of the same archive;
+ *previous versions displayed the wrong total packed size
+ in "Info" command for multivolume CAB archives;
+- See "http://www.rarlab.com/rarnew.htm" for more details
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
unrarsrc-3.9.10.tar.bz2
unrarsrc-man.patch
New:
----
unrar.1
unrarsrc-4.0.4.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unrar.spec ++++++
--- /var/tmp/diff_new_pack.T9nV9F/_old 2011-01-07 12:43:14.000000000 +0100
+++ /var/tmp/diff_new_pack.T9nV9F/_new 2011-01-07 12:43:14.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package unrar (Version 3.90.10)
+# spec file for package unrar (Version 4.0.4)
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,23 +17,25 @@
# norootforbuild
+# majorversion should match the major version number.
+%define majorversion 4
+%define libsuffix 4_0_4
Name: unrar
BuildRequires: gcc-c++
-Version: 3.90.10
+Version: 4.0.4
Release: 1
-AutoReqProv: on
Group: Productivity/Archiving/Compression
License: Unrar License. Freely distributable
-#http://www.rarlab.com/rar/unrarsrc-%{version}.tar.gz
+#http://www.rarlab.com/rar/unrarsrc-%%{version}.tar.gz
Url: http://www.rarlab.com
Summary: A program to extract, test, and view RAR archives
-Source: unrarsrc-3.9.10.tar.bz2
+Source: %{name}src-%{version}.tar.bz2
+Source1: unrar.1
Patch1: unrarsrc-3.9-types.patch
Patch2: unrarsrc-3.9-gcc.patch
Patch3: unrarsrc-3.9-variablesize.patch
Patch4: unrarsrc-3.9-soname.patch
-Patch5: unrarsrc-man.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -45,12 +47,13 @@
--------
Eugene Roshal
-%package -n libunrar3_9_10
+%package -n libunrar%{libsuffix}
+
License: Unrar License. Freely distributable
Summary: Decompress library for RAR v3 archives
Group: Productivity/Archiving/Compression
-%description -n libunrar3_9_10
+%description -n libunrar%{libsuffix}
The libunrar library allows programs linking against it to decompress
existing RAR v3 archives.
@@ -59,7 +62,7 @@
License: Unrar License. Freely distributable
Summary: Development files for libunrar
Group: Development/Libraries/C and C++
-Requires: libunrar3_9_10 = %{version}-%{release}
+Requires: libunrar%{libsuffix} = %{version}-%{release}
Provides: libunrar3_9_10-devel
%description -n libunrar-devel
@@ -72,28 +75,27 @@
%patch2
%patch3
%patch4
-%patch5
%build
-make -f makefile.unix CXXFLAGS="$RPM_OPT_FLAGS -Wall -fPIC \
+make -j %{?jobs} -f makefile.unix CXXFLAGS="$RPM_OPT_FLAGS -Wall -fPIC \
-fmessage-length=0 -fno-strict-aliasing -fstack-protector" STRIP=true
-make -f makefile.unix lib CXXFLAGS="$RPM_OPT_FLAGS -Wall -fPIC \
+make -j %{?jobs} -f makefile.unix lib libversion=%{version} CXXFLAGS="$RPM_OPT_FLAGS -Wall -fPIC \
-fmessage-length=0 -fno-strict-aliasing -fstack-protector" STRIP=true
%install
install -Dm 755 unrar $RPM_BUILD_ROOT%{_bindir}/unrar
-install -Dm 644 unrar.1 %{buildroot}%{_mandir}/man1/unrar.1
-install -Dm 755 libunrar.so.3.9.10 %{buildroot}%{_libdir}/libunrar.so.3.9.10
+install -Dm 644 %{S:1} %{buildroot}%{_mandir}/man1/unrar.1
+install -Dm 755 libunrar.so.%{version} %{buildroot}%{_libdir}/libunrar.so.%{version}
install -Dm 644 dll.hpp %{buildroot}/%{_includedir}/unrar/dll.hpp
-ln -s libunrar.so.3.9.10 %{buildroot}%{_libdir}/libunrar.so.3
-ln -s libunrar.so.3 %{buildroot}%{_libdir}/libunrar.so
+ln -s libunrar.so.%{version} %{buildroot}%{_libdir}/libunrar.so.%{majorversion}
+ln -s libunrar.so.%{majorversion} %{buildroot}%{_libdir}/libunrar.so
%clean
rm -rf $RPM_BUILD_ROOT
-%post -n libunrar3_9_10 -p /sbin/ldconfig
+%post -n libunrar%{libsuffix} -p /sbin/ldconfig
-%postun -n libunrar3_9_10 -p /sbin/ldconfig
+%postun -n libunrar%{libsuffix} -p /sbin/ldconfig
%files
%defattr(-,root,root)
@@ -101,10 +103,10 @@
%{_bindir}/unrar
%{_mandir}/man1/unrar.1*
-%files -n libunrar3_9_10
+%files -n libunrar%{libsuffix}
%defattr(-,root,root)
%doc license.txt readme.txt
-%{_libdir}/*.so.*
+%{_libdir}/*.so.%{majorversion}*
%files -n libunrar-devel
%defattr(-,root,root)
++++++ unrarsrc-3.9.10.tar.bz2 -> unrar.1 ++++++
Files unrar/unrarsrc-3.9.10.tar.bz2 and /mounts/work_src_done/STABLE/unrar/unrar.1 differ
++++++ unrarsrc-3.9-gcc.patch ++++++
--- /var/tmp/diff_new_pack.T9nV9F/_old 2011-01-07 12:43:14.000000000 +0100
+++ /var/tmp/diff_new_pack.T9nV9F/_new 2011-01-07 12:43:14.000000000 +0100
@@ -1,7 +1,7 @@
Index: rar.hpp
===================================================================
---- rar.hpp.orig
-+++ rar.hpp
+--- rar.hpp.orig 2011-01-04 14:28:47.000000000 +0200
++++ rar.hpp 2011-01-05 01:25:54.667105215 +0200
@@ -20,6 +20,7 @@
#include "array.hpp"
#include "timefn.hpp"
@@ -10,7 +10,7 @@
#include "headers.hpp"
#include "pathfn.hpp"
#include "strfn.hpp"
-@@ -71,7 +72,6 @@
+@@ -73,7 +74,6 @@
#include "smallfn.hpp"
#include "ulinks.hpp"
++++++ unrarsrc-3.9-soname.patch ++++++
--- /var/tmp/diff_new_pack.T9nV9F/_old 2011-01-07 12:43:14.000000000 +0100
+++ /var/tmp/diff_new_pack.T9nV9F/_new 2011-01-07 12:43:14.000000000 +0100
@@ -1,13 +1,13 @@
Index: makefile.unix
===================================================================
---- makefile.unix.orig
-+++ makefile.unix
+--- makefile.unix.orig 2010-03-30 17:26:26.000000000 +0200
++++ makefile.unix 2011-01-05 01:27:11.092105262 +0200
@@ -133,7 +133,7 @@ sfx: $(OBJECTS)
lib: WHAT=RARDLL
lib: $(OBJECTS) $(LIB_OBJ)
@rm -f libunrar.so
- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
-+ $(LINK) -shared -Wl,-soname,libunrar.so.3.9.10 -o libunrar.so.3.9.10 $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
++ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
install-unrar:
- install unrar $(DESTDIR)/bin
+ install -D unrar $(DESTDIR)/bin/unrar
++++++ unrarsrc-3.9-variablesize.patch ++++++
--- /var/tmp/diff_new_pack.T9nV9F/_old 2011-01-07 12:43:14.000000000 +0100
+++ /var/tmp/diff_new_pack.T9nV9F/_new 2011-01-07 12:43:14.000000000 +0100
@@ -1,9 +1,9 @@
Index: match.cpp
===================================================================
---- match.cpp.orig
-+++ match.cpp
-@@ -58,7 +58,7 @@ bool CmpName(char *Wildcard,char *Name,i
- }
+--- match.cpp.orig 2011-01-04 14:28:47.000000000 +0200
++++ match.cpp 2011-01-05 01:26:05.813980804 +0200
+@@ -59,7 +59,7 @@ bool CmpName(const char *Wildcard,const
+
char Path1[NM],Path2[NM];
GetFilePath(Wildcard,Path1,ASIZE(Path1));
- GetFilePath(Name,Path2,ASIZE(Path1));
++++++ unrarsrc-3.9.10.tar.bz2 -> unrarsrc-4.0.4.tar.bz2 ++++++
++++ 8502 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org