diff --git a/python-smmap.spec b/python-smmap.spec
index d2e9b50de78946aef79395bd6056b413e3ccabb8..a8b739eeeefbf8f5922af8bf29bd072d0cfceddd 100644
--- a/python-smmap.spec
+++ b/python-smmap.spec
@@ -1,11 +1,11 @@
 %global _empty_manifest_terminate_build 0
 Name:           python-smmap
-Version:        3.0.5
-Release:        2
+Version:        5.0.0
+Release:        1
 Summary:        A pure Python implementation of a sliding window memory map manager
 License:        BSD
 URL:            https://github.com/gitpython-developers/smmap
-Source0:        https://files.pythonhosted.org/packages/2b/6f/d48bbed5aa971943759f4ede3f12dca40aa7faa44f22bad483de86780508/smmap-3.0.5.tar.gz
+Source0:        https://github.com/gitpython-developers/smmap/archive/v%{version}/smmap-%{version}.tar.gz
 BuildArch:      noarch
 
 %description
@@ -76,6 +76,9 @@ mv %{buildroot}/doclist.lst .
 %{_docdir}/*
 
 %changelog
+* Tue Jun 28 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 5.0.0-1
+- Upgrade version to 5.0.0
+
 * Fri Feb 11 2022 wangxiyuan <wangxiyuan1007@gmail.com> - 3.0.5-2
 - Remove nosecover BuildRequire since the required nose library has been removed from openEuler already.
 
diff --git a/smmap-3.0.5.tar.gz b/smmap-3.0.5.tar.gz
deleted file mode 100644
index 8410fe094d032c4f9b133a05a5e9e750fd09b477..0000000000000000000000000000000000000000
Binary files a/smmap-3.0.5.tar.gz and /dev/null differ
diff --git a/smmap-5.0.0.tar.gz b/smmap-5.0.0.tar.gz
new file mode 100644
index 0000000000000000000000000000000000000000..608fe0251f3949120fd9bc7e9a7f56d2df2f16eb
Binary files /dev/null and b/smmap-5.0.0.tar.gz differ