diff --git a/pcollections-4.0.2.tar.gz b/pcollections-4.0.2.tar.gz
deleted file mode 100644
index bb46014..0000000
--- a/pcollections-4.0.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e61ff213475b36db85cb31bf3989193c8c7b0914977064d18d6338180f36056d
-size 117746
diff --git a/pcollections-4.0.2.pom b/pcollections-5.0.0.pom
similarity index 98%
rename from pcollections-4.0.2.pom
rename to pcollections-5.0.0.pom
index de96b0a..053ed4a 100644
--- a/pcollections-4.0.2.pom
+++ b/pcollections-5.0.0.pom
@@ -9,7 +9,7 @@
4.0.0
org.pcollections
pcollections
- 4.0.2
+ 5.0.0
PCollections
A Persistent Java Collections Library
https://github.com/hrldcpr/pcollections
diff --git a/pcollections-5.0.0.tar.gz b/pcollections-5.0.0.tar.gz
new file mode 100644
index 0000000..a92e678
--- /dev/null
+++ b/pcollections-5.0.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5a2b3ddda301a142107b979a61063e5d059061d0118aa6041f31d5689c222958
+size 123775
diff --git a/pcollections.changes b/pcollections.changes
index dfbf300..47421a3 100644
--- a/pcollections.changes
+++ b/pcollections.changes
@@ -1,3 +1,11 @@
+-------------------------------------------------------------------
+Wed Dec 24 22:17:55 UTC 2025 - Anton Shvetz
+
+- Update to v5.0.0
+ * Faster OrderedPMap.containsKey() and OrderedPSet.contains()
+ * Dropped Java 8 support, as it was getting harder to maintain
+ the build system
+
-------------------------------------------------------------------
Wed Mar 20 12:55:56 UTC 2024 - Anton Shvetz
diff --git a/pcollections.spec b/pcollections.spec
index 3ae95b0..0a86d75 100644
--- a/pcollections.spec
+++ b/pcollections.spec
@@ -1,7 +1,7 @@
#
# spec file for package pcollections
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: pcollections
-Version: 4.0.2
+Version: 5.0.0
Release: 0
Summary: A Persistent Java Collections Library
License: MIT
@@ -46,15 +46,14 @@ Group: Documentation/HTML
API documentation for %{name}.
%prep
-%setup -q
+%autosetup
+
cp %{SOURCE1} pom.xml
%{mvn_file} : %{name}
%build
-%{mvn_build} -f -- \
- -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
- -Dmaven.compiler.release=11
+%{mvn_build} -f -- -Dmaven.compiler.release=11
%install
%mvn_install