From 32e4af6c874834526b8a43fdbd4d207f113d1253 Mon Sep 17 00:00:00 2001 From: quanhongfei <2506045831@qq.com> Date: Mon, 18 Apr 2022 11:08:58 +0800 Subject: [PATCH] fix bug (cherry picked from commit bd106a3c871edfd751a4388d2c965f89556a724b) --- c-ares.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/c-ares.spec b/c-ares.spec index 8ce20cc..7398077 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -1,6 +1,6 @@ Name: c-ares Version: 1.18.1 -Release: 1 +Release: 2 Summary: A C library for asynchronous DNS requests License: MIT @@ -30,7 +30,7 @@ shared objects are contained in %{name}-devel package. %build autoreconf -if -%configure --enable-shared --disable-static --disable-dependency-tracking +%configure --enable-shared --disable-dependency-tracking make %{?_smp_mflags} %install @@ -45,6 +45,7 @@ make %{?_smp_mflags} %files devel %{_libdir}/pkgconfig/*.pc %{_libdir}/libcares.so +%{_libdir}/libcares.a %{_includedir}/*.h %files help @@ -52,6 +53,12 @@ make %{?_smp_mflags} %{_mandir}/man3/* %changelog +* Mon Apr 18 2022 quanhongfei - 1.18.1-2 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:add libcares.a to c-ares-devel + * Thu Dec 02 2021 quanhongfei - 1.18.1-1 - Type:requirements - Id:NA