From c18fc8ef76f092519efc2eab0c8d226b7db38ae9 Mon Sep 17 00:00:00 2001 From: sjxur Date: Mon, 24 Apr 2023 11:41:16 +0800 Subject: [PATCH] fix:Compatible with peripheral specified compilers --- ...-with-peripheral-specified-compilers.patch | 25 +++++++++++++++++++ python-pycurl.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 10000-Compatible-with-peripheral-specified-compilers.patch diff --git a/10000-Compatible-with-peripheral-specified-compilers.patch b/10000-Compatible-with-peripheral-specified-compilers.patch new file mode 100644 index 0000000..0d8e396 --- /dev/null +++ b/10000-Compatible-with-peripheral-specified-compilers.patch @@ -0,0 +1,25 @@ +From 43682efaa2c82533213a512450a09f11e8549939 Mon Sep 17 00:00:00 2001 +From: sjxur +Date: Mon, 24 Apr 2023 11:33:51 +0800 +Subject: [PATCH] Compatible with peripheral specified compilers + +--- + tests/fake-curl/libcurl/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/fake-curl/libcurl/Makefile b/tests/fake-curl/libcurl/Makefile +index b5d0816..485af2b 100644 +--- a/tests/fake-curl/libcurl/Makefile ++++ b/tests/fake-curl/libcurl/Makefile +@@ -11,7 +11,7 @@ clean: + + .SUFFIXES: .c .so + +-CC = `curl-config --cc` ++CC ?= `curl-config --cc` + CFLAGS += `curl-config --cflags` + UNAME := $(shell uname -s) + ifeq ($(UNAME),Darwin) +-- +2.33.0 + diff --git a/python-pycurl.spec b/python-pycurl.spec index 54bb2f8..0d48284 100644 --- a/python-pycurl.spec +++ b/python-pycurl.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 7.45.2 -Release: 2 +Release: 3 Summary: A Python interface to libcurl License: LGPL-2.0+ or MIT URL: http://pycurl.sourceforge.net/ @@ -15,6 +15,7 @@ Source0: %{pypi_source} # drop link-time vs. run-time TLS backend check (#1446850) Patch1: 0002-python-pycurl-7.45.2-disable-test_http_version_3.patch +Patch2: 10000-Compatible-with-peripheral-specified-compilers.patch BuildRequires: gcc libcurl-devel openssl-devel vsftpd @@ -99,6 +100,9 @@ rm -fv tests/fake-curl/libcurl/*.so %{python3_sitearch}/pycurl-%{version}-*.egg-info %changelog +* Mon Apr 24 2023 sjxur - 7.45.2-3 +- fix Compatible with peripheral specified compilers + * Tue Mar 21 2023 zhuofeng - 7.45.2-2 - Type:bugfix - CVE:NA -- Gitee