commit 12e82e2ad183b583642e463370559b2e9b5e788c
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Nov 16 17:12:50 2023 +0000
Update to 7.0.3
sources | 2 +-
unrar-6.2.6-build.patch | 10 +++++-----
unrar.spec | 5 ++++-
3 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/sources b/sources
index ea67fe7..363a5c6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (unrarsrc-6.2.12.tar.gz) =
261ac3728f917f36a03c7c3c563d7775abdb06b598ab48a299d837e8fc0ca75ad885ec8e292aeb1775e87e775ed274e9e0f033001598229ec96db69d69824ddb
+SHA512 (unrarsrc-7.0.3.tar.gz) =
2c72f37b36c4a2eba6a37cab10385c465337e75d09a9afafae463e1c7732bdd4c655de34b787ba301f7343790783861b657c1e03cd6f5589a9de7cfc466de752
diff --git a/unrar-6.2.6-build.patch b/unrar-6.2.6-build.patch
index 0b54621..f873198 100644
--- a/unrar-6.2.6-build.patch
+++ b/unrar-6.2.6-build.patch
@@ -1,11 +1,11 @@
diff -uNrp a/makefile b/makefile
---- a/makefile 2023-02-06 10:31:30.000000000 +0000
-+++ b/makefile 2023-03-21 07:50:16.381759963 +0000
+--- a/makefile
++++ b/makefile
@@ -3,12 +3,12 @@
# Linux using GCC
CXX=c++
--CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+-CXXFLAGS=-march=native -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+CXXFLAGS=$(RPM_OPT_FLAGS) -fPIC -DPIC -Wno-parentheses -Wno-switch -Wno-sign-compare
-Wno-class-memaccess -Wno-unused-variable -Wno-unused-function -Wno-dangling-else
LIBFLAGS=-fPIC
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
@@ -15,8 +15,8 @@ diff -uNrp a/makefile b/makefile
+LDFLAGS=$(RPM_LD_FLAGS) -pthread
DESTDIR=/usr
- # Linux using LCC
-@@ -146,20 +146,17 @@ clean:
+ ##########################
+@@ -45,20 +45,17 @@
# 'make -Jn' builds.
unrar: $(OBJECTS) $(UNRAR_OBJ)
diff --git a/unrar.spec b/unrar.spec
index f82e3d5..1beb43e 100644
--- a/unrar.spec
+++ b/unrar.spec
@@ -1,5 +1,5 @@
Name: unrar
-Version: 6.2.12
+Version: 7.0.3
Release: 1%{?dist}
Summary: Utility for extracting, testing and viewing RAR archives
License: Freeware with further limitations
@@ -89,6 +89,9 @@ touch -r license.txt %{buildroot}%{_sysconfdir}/rpm/macros.unrar
%changelog
+* Thu Nov 16 2023 Leigh Scott <leigh123linux(a)gmail.com> - 7.0.3-1
+- Update to 7.0.3
+
* Thu Nov 02 2023 Leigh Scott <leigh123linux(a)gmail.com> - 6.2.12-1
- Update to 6.2.12