fix bug
(cherry picked from commit bd106a3c871edfd751a4388d2c965f89556a724b)
This commit is contained in:
parent
a26781f3a9
commit
32e4af6c87
11
c-ares.spec
11
c-ares.spec
@ -1,6 +1,6 @@
|
|||||||
Name: c-ares
|
Name: c-ares
|
||||||
Version: 1.18.1
|
Version: 1.18.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A C library for asynchronous DNS requests
|
Summary: A C library for asynchronous DNS requests
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -30,7 +30,7 @@ shared objects are contained in %{name}-devel package.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
%configure --enable-shared --disable-static --disable-dependency-tracking
|
%configure --enable-shared --disable-dependency-tracking
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -45,6 +45,7 @@ make %{?_smp_mflags}
|
|||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_libdir}/libcares.so
|
%{_libdir}/libcares.so
|
||||||
|
%{_libdir}/libcares.a
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
@ -52,6 +53,12 @@ make %{?_smp_mflags}
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 18 2022 quanhongfei <quanhongfei@h-partners.com> - 1.18.1-2
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add libcares.a to c-ares-devel
|
||||||
|
|
||||||
* Thu Dec 02 2021 quanhongfei <quanhongfei@huawei.com> - 1.18.1-1
|
* Thu Dec 02 2021 quanhongfei <quanhongfei@huawei.com> - 1.18.1-1
|
||||||
- Type:requirements
|
- Type:requirements
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user