diff --git a/python-kdcproxy.spec b/python-kdcproxy.spec index f26498640e109fb142499dc35ea7c2760dcdce13..2f6311b709cd898854b8334f020290b78fa4e7d5 100644 --- a/python-kdcproxy.spec +++ b/python-kdcproxy.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %global realname kdcproxy %if 0%{?fedora} || 0%{?rhel} > 7 @@ -14,7 +15,7 @@ Name: python-%{realname} Version: 0.4 -Release: 5%{?dist} +Release: 5%{anolis_release}%{?dist} Summary: MS-KKDCP (kerberos proxy) WSGI module License: MIT @@ -24,6 +25,7 @@ Source0: https://github.com/npmccallum/%{realname}/archive/%{realname}-%{ Patch0: Make-webtest-an-optional-dependency.patch Patch1: Correct-addrs-sorting-to-be-by-TCP-UDP.patch Patch2: Always-buffer-TCP-data-in-__handle_recv.patch +Patch1000: remove-requires-text.patch BuildArch: noarch BuildRequires: git @@ -125,6 +127,9 @@ KDCPROXY_ASN1MOD=asn1crypto %{__python3} -m pytest %endif %changelog +* Tue Jan 31 2023 Zhao Hang - 0.4-5.0.1 +- Remove requires.txt + * Fri Oct 25 2019 Robbie Harwood - 0.4-5 - Always buffer TCP data in __handle_recv() - Resolves: #1747144 diff --git a/remove-requires-text.patch b/remove-requires-text.patch new file mode 100644 index 0000000000000000000000000000000000000000..be900dd9ec79d517d6eb361de92020f4d8da3239 --- /dev/null +++ b/remove-requires-text.patch @@ -0,0 +1,21 @@ +diff -Nur kdcproxy-0.4/kdcproxy.egg-info/requires.txt kdcproxy-0.4.new/kdcproxy.egg-info/requires.txt +--- kdcproxy-0.4/kdcproxy.egg-info/requires.txt 2018-08-09 05:47:48.000000000 +0800 ++++ kdcproxy-0.4.new/kdcproxy.egg-info/requires.txt 1970-01-01 08:00:00.000000000 +0800 +@@ -1,17 +0,0 @@ +-asn1crypto>=0.23 +- +-[:python_version<'3'] +-dnspython +- +-[:python_version>='3'] +-dnspython3 +- +-[test_pep8] +-flake8 +-flake8-import-order +-pep8-naming +- +-[tests] +-WebTest +-coverage +-pytest