commit 3b540e8ce6f4c13c25458ac12c625e5587ae4947
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Mar 1 13:11:01 2024 +0000
Update to 7.0.7
sources | 2 +-
unrar-6.2.6-build.patch | 4 ++--
unrar.spec | 7 +++++--
3 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/sources b/sources
index 363a5c6..8fd6134 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (unrarsrc-7.0.3.tar.gz) =
2c72f37b36c4a2eba6a37cab10385c465337e75d09a9afafae463e1c7732bdd4c655de34b787ba301f7343790783861b657c1e03cd6f5589a9de7cfc466de752
+SHA512 (unrarsrc-7.0.7.tar.gz) =
7151a42742d4c34a8f03c58dae471f80788b76adbb52188759b7fc7357757f88fa9d980de006ce48732c40f326b92b79fb069e807c2b66d4387ee60433a8accb
diff --git a/unrar-6.2.6-build.patch b/unrar-6.2.6-build.patch
index f873198..cb7dcf5 100644
--- a/unrar-6.2.6-build.patch
+++ b/unrar-6.2.6-build.patch
@@ -1,11 +1,10 @@
-diff -uNrp a/makefile b/makefile
--- a/makefile
+++ b/makefile
@@ -3,12 +3,12 @@
# Linux using GCC
CXX=c++
--CXXFLAGS=-march=native -O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
+-CXXFLAGS=-march=native -O2 -std=c++11 -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
@@ -37,3 +36,4 @@ diff -uNrp a/makefile b/makefile
$(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
$(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
+
diff --git a/unrar.spec b/unrar.spec
index d654ae2..e2b900d 100644
--- a/unrar.spec
+++ b/unrar.spec
@@ -1,6 +1,6 @@
Name: unrar
-Version: 7.0.3
-Release: 2%{?dist}
+Version: 7.0.7
+Release: 1%{?dist}
Summary: Utility for extracting, testing and viewing RAR archives
License: Freeware with further limitations
URL:
https://www.rarlab.com/rar_add.htm
@@ -89,6 +89,9 @@ touch -r license.txt %{buildroot}%{_sysconfdir}/rpm/macros.unrar
%changelog
+* Fri Mar 01 2024 Leigh Scott <leigh123linux(a)gmail.com> - 7.0.7-1
+- Update to 7.0.7
+
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
7.0.3-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild