!44 [sync] PR-43: delete a static library file and add BuildRequires make to fix build problem
From: @openeuler-sync-bot Reviewed-by: @seuzw Signed-off-by: @seuzw
This commit is contained in:
commit
2b28ecd0f7
14
c-ares.spec
14
c-ares.spec
@ -1,13 +1,13 @@
|
|||||||
Name: c-ares
|
Name: c-ares
|
||||||
Version: 1.18.1
|
Version: 1.18.1
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A C library for asynchronous DNS requests
|
Summary: A C library for asynchronous DNS requests
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/c-ares/c-ares
|
URL: https://github.com/c-ares/c-ares
|
||||||
Source0: https://github.com/c-ares/c-ares/releases/download/cares-1_18_1/%{name}-%{version}.tar.gz
|
Source0: https://github.com/c-ares/c-ares/releases/download/cares-1_18_1/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: gcc autoconf automake libtool g++
|
BuildRequires: gcc make autoconf automake libtool g++
|
||||||
# Patch0 from Redhat is applied for stopping overriding AC_CONFIG_MACRO_DIR
|
# Patch0 from Redhat is applied for stopping overriding AC_CONFIG_MACRO_DIR
|
||||||
Patch0: 0000-Use-RPM-compiler-options.patch
|
Patch0: 0000-Use-RPM-compiler-options.patch
|
||||||
Patch1: backport-disable-live-tests.patch
|
Patch1: backport-disable-live-tests.patch
|
||||||
@ -32,7 +32,7 @@ shared objects are contained in %{name}-devel package.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
%configure --enable-shared --disable-dependency-tracking
|
%configure --enable-shared --disable-static --disable-dependency-tracking
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -51,7 +51,6 @@ 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
|
||||||
@ -59,6 +58,13 @@ make %{?_smp_mflags}
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 25 2023 yanglu <yanglu72@h-partners.com> - 1.18.1-5
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:delete a static library file
|
||||||
|
add BuildRequires make to fix build problem
|
||||||
|
|
||||||
* Fri Feb 10 2023 xingwei <xingwei14@h-partners.com> - 1.18.1-4
|
* Fri Feb 10 2023 xingwei <xingwei14@h-partners.com> - 1.18.1-4
|
||||||
- Type:cves
|
- Type:cves
|
||||||
- CVE:CVE-2022-4904
|
- CVE:CVE-2022-4904
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user