From d449cdcc32394497e8474bd0209614e9d81d4cab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=A1=90=E5=B0=8F=E5=93=A5?= <shixuantong@huawei.com>
Date: Tue, 23 Nov 2021 11:34:09 +0000
Subject: [PATCH] Optimize Source0 in spec file

---
 python-pycryptodome.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/python-pycryptodome.spec b/python-pycryptodome.spec
index 71aac21..06cec34 100644
--- a/python-pycryptodome.spec
+++ b/python-pycryptodome.spec
@@ -35,13 +35,13 @@ are implemented as C extensions.\
 For more information, see the `homepage`_.\
 All the code can be downloaded from `GitHub`_.\
 
-Name:		python-pycryptodome
+Name:		python-%{pypi_name}
 Version:	3.9.7
-Release:	8
+Release:	9
 Summary:	Cryptographic library for Python
 License:	BSD, Public Domain, Apache-2.0
 URL:		https://www.pycryptodome.org
-Source0:	https://files.pythonhosted.org/packages/69/2a/298b2689bee8e88c502c7e85ba1c9f07c7e182ea91c705c449f693056c9f/pycryptodome-3.9.7.tar.gz
+Source0:	%{pypi_source}
 
 %description
 %{common_description}
@@ -100,6 +100,9 @@ BuildRequires:	gdb
 %exclude %{python3_sitearch}/Crypto/SelfTest/Publickey/test_vectors/RSA/*.pem
 
 %changelog
+* Tue Nov 23 2021 shixuantong<shixuantong@huawei.com> - 3.9.7-9
+- Optimize Source0 in spec file
+
 * Thu Jun 10 2021 liudabo <liudabo1@huawei.com> - 3.9.7-8
 - Refresh the original the original certificate file and delete the insercure certificates
 
-- 
Gitee