commit 1db7b793a04e00da39d3276dc59fe7e8f09bedef
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Mon Feb 11 16:47:05 2019 +0000
Update to 5.7.1
.gitignore | 1 +
sources | 2 +-
unrar.spec | 13 ++++++++-----
3 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4428473..2f565dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@ unrarsrc-5.2.3.tar.gz
/unrarsrc-5.6.3.tar.gz
/unrarsrc-5.6.6.tar.gz
/unrarsrc-5.6.8.tar.gz
+/unrarsrc-5.7.1.tar.gz
diff --git a/sources b/sources
index 06cf85e..44addfd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-def579782da17dc85940cda559b92287 unrarsrc-5.6.8.tar.gz
+1695c966688dd26f7ba34f6f9f279d0c unrarsrc-5.7.1.tar.gz
diff --git a/unrar.spec b/unrar.spec
index ce15bea..9bbfea5 100644
--- a/unrar.spec
+++ b/unrar.spec
@@ -1,9 +1,9 @@
Name: unrar
-Version: 5.6.8
+Version: 5.7.1
Release: 1%{?dist}
Summary: Utility for extracting, testing and viewing RAR archives
License: Freeware with further limitations
-URL:
http://www.rarlab.com/rar_add.htm
+URL:
https://www.rarlab.com/rar_add.htm
Source0:
https://www.rarlab.com/rar/unrarsrc-%{version}.tar.gz
# Man page from Debian
Source1: unrar-nonfree.1
@@ -46,16 +46,15 @@ cp -p %SOURCE1 .
%build
make %{?_smp_mflags} -f makefile \
- CXX="%{__cxx}" CXXFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
LDFLAGS="$RPM_LD_FLAGS -pthread" \
+ CXX="%{__cxx}" CXXFLAGS="%{optflags} -fPIC -DPIC"
LDFLAGS="%{?__global_ldflags} -pthread" \
STRIP=: RANLIB=ranlib
make %{?_smp_mflags} -f makefile clean
make %{?_smp_mflags} -f makefile lib \
- CXX="%{__cxx}" CXXFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC"
LDFLAGS="$RPM_LD_FLAGS -pthread" \
+ CXX="%{__cxx}" CXXFLAGS="%{optflags} -fPIC -DPIC"
LDFLAGS="%{?__global_ldflags} -pthread" \
STRIP=: RANLIB=ranlib
%install
-rm -rf %{buildroot}
install -Dpm 755 unrar %{buildroot}%{_bindir}/unrar-nonfree
install -Dpm 644 unrar-nonfree.1 %{buildroot}%{_mandir}/man1/unrar-nonfree.1
install -Dpm 755 libunrar.so %{buildroot}%{_libdir}/libunrar.so
@@ -111,6 +110,10 @@ fi
%changelog
+* Mon Feb 11 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 5.7.1-1
+- Update to 5.7.1
+-
+
* Wed Jan 02 2019 Sérgio Basto <sergio(a)serjux.com> - 5.6.8-1
- Update to 5.6.8