diff --git a/peazip-8.6.0.src.zip b/peazip-8.6.0.src.zip
deleted file mode 100644
index 22f11c3..0000000
--- a/peazip-8.6.0.src.zip
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a0dd9e5fb45594904e3f2c45dd1077fe4e4ec426471483240ea5b1a8bccd2e1b
-size 5832576
diff --git a/peazip-8.7.0.src.zip b/peazip-8.7.0.src.zip
new file mode 100644
index 0000000..699de83
--- /dev/null
+++ b/peazip-8.7.0.src.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:40fb0a399164f6af4118329d005ac25847f900f2654a4d5918a0a5c28e3c6ef8
+size 5744273
diff --git a/peazip-build_PIE.patch b/peazip-build_PIE.patch
index 54c4da3..afdcd6c 100644
--- a/peazip-build_PIE.patch
+++ b/peazip-build_PIE.patch
@@ -5,10 +5,10 @@ Subject: Build PIE binaries
Set lazarus project files so that we produce position
independent executables.
-Index: peazip-8.6.0.src/project_pea.lpi
+Index: peazip-8.6.0.src/dev/project_pea.lpi
===================================================================
---- peazip-8.6.0.src.orig/project_pea.lpi
-+++ peazip-8.6.0.src/project_pea.lpi
+--- peazip-8.6.0.src.orig/dev/project_pea.lpi
++++ peazip-8.6.0.src/dev/project_pea.lpi
@@ -552,6 +552,8 @@
@@ -18,10 +18,10 @@ Index: peazip-8.6.0.src/project_pea.lpi
-Index: peazip-8.6.0.src/project_peach.lpi
+Index: peazip-8.6.0.src/dev/project_peach.lpi
===================================================================
---- peazip-8.6.0.src.orig/project_peach.lpi
-+++ peazip-8.6.0.src/project_peach.lpi
+--- peazip-8.6.0.src.orig/dev/project_peach.lpi
++++ peazip-8.6.0.src/dev/project_peach.lpi
@@ -1591,6 +1591,8 @@
diff --git a/peazip-debuginfo.patch b/peazip-debuginfo.patch
index cbe6385..3482db8 100644
--- a/peazip-debuginfo.patch
+++ b/peazip-debuginfo.patch
@@ -1,7 +1,7 @@
-Index: peazip-8.6.0.src/project_peach.lpi
+Index: peazip-8.6.0.src/dev/project_peach.lpi
===================================================================
---- peazip-8.6.0.src.orig/project_peach.lpi
-+++ peazip-8.6.0.src/project_peach.lpi
+--- peazip-8.6.0.src.orig/dev/project_peach.lpi
++++ peazip-8.6.0.src/dev/project_peach.lpi
@@ -1588,7 +1588,7 @@
@@ -11,10 +11,10 @@ Index: peazip-8.6.0.src/project_peach.lpi
-Index: peazip-8.6.0.src/project_pea.lpi
+Index: peazip-8.6.0.src/dev/project_pea.lpi
===================================================================
---- peazip-8.6.0.src.orig/project_pea.lpi
-+++ peazip-8.6.0.src/project_pea.lpi
+--- peazip-8.6.0.src.orig/dev/project_pea.lpi
++++ peazip-8.6.0.src/dev/project_pea.lpi
@@ -548,7 +548,7 @@
diff --git a/peazip-help_path.patch b/peazip-help_path.patch
index edb1648..7cae6a3 100644
--- a/peazip-help_path.patch
+++ b/peazip-help_path.patch
@@ -1,7 +1,7 @@
-Index: peazip-8.6.0.src/peach.pas
+Index: peazip-8.6.0.src/dev/peach.pas
===================================================================
---- peazip-8.6.0.src.orig/peach.pas
-+++ peazip-8.6.0.src/peach.pas
+--- peazip-8.6.0.src.orig/dev/peach.pas
++++ peazip-8.6.0.src/dev/peach.pas
@@ -41307,7 +41307,7 @@ end;
procedure TForm_peach.baboutlocalhelpClick(Sender: TObject);
diff --git a/peazip.changes b/peazip.changes
index 19d7265..39d7b10 100644
--- a/peazip.changes
+++ b/peazip.changes
@@ -1,3 +1,25 @@
+-------------------------------------------------------------------
+Sun Jun 26 13:12:27 UTC 2022 - Paolo Stivanin
+
+- Update to 8.7.0:
+ BACKEND
+ * 7z 22.00
+ * Pea 1.08
+ CODE
+ * Can now optionally check hash of backend binaries called by PeaZip in order to detect modified ones
+ * Can now optionally hardcode paths of backend binaries, configuration, and non-binary resources directories as absoulte paths at compile time
+ FILE MANAGER
+ * Added "Open in a new tab" to breadcrumb navigation menu
+ * Can now export content of navigation/search filter as CSV, from column's header menu, and Main menu > Navigation submenu
+ * CSV separator can now be customised from Options > Settings, General Tab, on the right of Localization selector
+ * File manager now displays file size and compressed file size of directories inside archives, CRC column displays files and sub-directores count for directories
+ * Many visual enhancements
+ EXTRACTION and ARCHIVING
+ * Can now remember default archive creation action (force new archive, add, update, sync...)
+ * Improved displaying directory size in archive creation screen: items are now recursively enumerated asynchronously (non blocking) by default, so it is possible to proceed with archiving operations (confirm, cancel, modify parameters...) without needing the input count to be completed
+ * Re-organized Archive manager settings page in Options > Settings
+ * For Zpaq format now "Absolute paths" extraction option is enabled by default (in Advanced tab of extraction screen)
+
-------------------------------------------------------------------
Thu Apr 14 05:38:23 UTC 2022 - Paolo Stivanin
diff --git a/peazip.spec b/peazip.spec
index 98acacf..7a0fd18 100644
--- a/peazip.spec
+++ b/peazip.spec
@@ -17,9 +17,9 @@
%define _peazipinstalldir %{_libdir}/peazip
-%define _helpver 8.6.0
+%define _helpver 8.7.0
Name: peazip
-Version: 8.6.0
+Version: 8.7.0
Release: 0
Summary: Graphical file archiver
License: LGPL-3.0-only
@@ -98,6 +98,7 @@ mv res/share/copying/copying.txt .
cp %{SOURCE2} peazip_help.pdf
%build
+cd dev
lazbuild \
--lazarusdir=%{_libdir}/lazarus \
%ifarch x86_64
@@ -127,9 +128,9 @@ ln -s %{_bindir}/brotli %{buildroot}%{_peazipinstalldir}/res/brotli/brotli
ln -s %{_bindir}/zpaq %{buildroot}%{_peazipinstalldir}/res/zpaq/zpaq
ln -s %{_bindir}/zstd %{buildroot}%{_peazipinstalldir}/res/zstd/zstd
-install -m755 peazip %{buildroot}%{_peazipinstalldir}
+install -m755 dev/peazip %{buildroot}%{_peazipinstalldir}
ln -s %{_peazipinstalldir}/peazip %{buildroot}%{_bindir}/peazip
-install -m755 pea %{buildroot}%{_peazipinstalldir}/res
+install -m755 dev/pea %{buildroot}%{_peazipinstalldir}/res
ln -s %{_peazipinstalldir}/res/pea %{buildroot}%{_bindir}/pea
mkdir -p %{buildroot}%{_datadir}/applications/
diff --git a/peazip_help.pdf b/peazip_help.pdf
index 93be885..f0d8ad6 100644
--- a/peazip_help.pdf
+++ b/peazip_help.pdf
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:686942b3c926ac60b7166f4befc46d8bfb2284d95fe047b6f4c7bd999ed12037
-size 1423653
+oid sha256:225f4884e8acb03461b32ff3c5c6e5c4af339c77ce7fb015f7e6122b34011754
+size 1427284