diff --git a/dnspython-2.2.1.tar.gz b/dnspython-2.2.1.tar.gz deleted file mode 100644 index a5fd64892dea774b206dac21d572dd4c6e87befb..0000000000000000000000000000000000000000 Binary files a/dnspython-2.2.1.tar.gz and /dev/null differ diff --git a/dnspython-2.3.0.tar.gz b/dnspython-2.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..aef403c5560cb178d46d6012b8754aa26e9326d5 Binary files /dev/null and b/dnspython-2.3.0.tar.gz differ diff --git a/python-dns.spec b/python-dns.spec index ecdb28bd7456f5197147e1260057fe5d9acbea07..d12fec2d943b302853f16e72cf8f82bed0f8b7ea 100644 --- a/python-dns.spec +++ b/python-dns.spec @@ -1,4 +1,4 @@ -%define anolis_release 2 +%define anolis_release 1 %global pypi_name dnspython %bcond_with trio @@ -6,7 +6,7 @@ %bcond_with doh Name: python-dns -Version: 2.2.1 +Version: 2.3.0 Release: %{anolis_release}%{?dist} Summary: DNS toolkit for Python @@ -41,6 +41,14 @@ Summary: %{summary} %generate_buildrequires %pyproject_buildrequires -r %{?with_trio:-x trio} %{?with_curio:-x curio} %{?with_doh:-x doh} +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup -p1 -n %{pypi_name}-%{version} # Update trio from 0.20 to 0.21 @@ -59,6 +67,7 @@ find examples -type f | xargs chmod a-x %pyproject_save_files dns %check +export OPENSSL_ENABLE_SHA1_SIGNATURES=yes %pytest %files -n python3-dns -f %{pyproject_files} @@ -83,7 +92,13 @@ find examples -type f | xargs chmod a-x %pycached %{python3_sitelib}/dns/_curio_backend.py %endif +%files doc +%doc SECURITY.md README.md + %changelog +* Mon Feb 27 2023 Xuchun Shang - 2.3.0-1 +- Update to version 2.3.0 + * Sat Dec 17 2022 Chunmei Xu - 2.2.1-2 - rebuild with python-cryptography update