diff --git a/.gitignore b/.gitignore index ad2206f..2667643 100644 --- a/.gitignore +++ b/.gitignore @@ -21,10 +21,3 @@ c-ares-1.7.3.tar.gz /c-ares-1.25.0.tar.gz /c-ares-1.28.0.tar.gz /c-ares-1.28.1.tar.gz -/c-ares-1.30.0.tar.gz -/c-ares-1.31.0.tar.gz -/c-ares-1.33.0.tar.gz -/c-ares-1.34.2.tar.gz -/c-ares-1.34.4.tar.gz -/c-ares-1.34.5.tar.gz -/c-ares-1.34.6.tar.gz diff --git a/c-ares.spec b/c-ares.spec index 44fb72e..81fb908 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -2,11 +2,11 @@ Summary: A library that performs asynchronous DNS operations Name: c-ares -Version: 1.34.6 +Version: 1.28.1 Release: 1%{?dist} License: MIT URL: http://c-ares.org/ -Source0: https://github.com/c-ares/c-ares/releases/download/v%{version}/c-ares-%{version}.tar.gz +Source0: http://c-ares.org/download/%{name}-%{version}.tar.gz BuildRequires: gcc %if %{use_cmake} BuildRequires: cmake @@ -33,14 +33,14 @@ compile applications or shared objects that use c-ares. %prep %autosetup -p1 -# f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f +f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f %build # autoreconf -if # %%configure --enable-shared --disable-static \ # --disable-dependency-tracking %if %{use_cmake} -%{cmake} -DCARES_BUILD_TOOLS:BOOL=OFF +%{cmake} -DCMAKE_INSTALL_LIBDIR:PATH="%{_libdir}" -DCARES_BUILD_TOOLS:BOOL=OFF %cmake_build %else autoreconf -if @@ -61,7 +61,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la %files %license LICENSE.md -%doc README.md RELEASE-NOTES.md +%doc README.cares CHANGES NEWS %{_libdir}/*.so.* %files devel @@ -70,7 +70,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la %{_includedir}/ares_dns.h %{_includedir}/ares_dns_record.h %{_includedir}/ares_nameser.h -# %%{_includedir}/ares_rules.h +%{_includedir}/ares_rules.h %{_includedir}/ares_version.h %{_libdir}/*.so %if %{use_cmake} @@ -80,40 +80,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la %{_mandir}/man3/ares_* %changelog -* Wed Dec 17 2025 Tom Callaway - 1.34.6-1 -- update to 1.34.6 -- fixes CVE-2025-62408 (among other fixes) - -* Wed Jul 23 2025 Fedora Release Engineering - 1.34.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Apr 8 2025 Tom Callaway - 1.34.5-1 -- update to 1.34.5 - -* Fri Feb 14 2025 Tom Callaway - 1.34.4-3 -- fix pkgconfig file (do not need to mess with cmake for libdir) - -* Thu Jan 16 2025 Fedora Release Engineering - 1.34.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Dec 14 2024 Tom Callaway - 1.34.4-1 -- update to 1.34.4 - -* Fri Oct 18 2024 Tom Callaway - 1.34.2-1 -- update to 1.34.2 - -* Wed Aug 7 2024 Tom Callaway - 1.33.0-1 -- update to 1.33.0 - -* Wed Jul 17 2024 Fedora Release Engineering - 1.31.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Mon Jul 1 2024 Tom Callaway - 1.31.0-1 -- update to 1.31.0 - -* Mon Jun 10 2024 Tom Callaway - 1.30.0-1 -- update to 1.30.0 - * Sun Mar 31 2024 Tom Callaway - 1.28.1-1 - update to 1.28.1 diff --git a/sources b/sources index 8681ea7..c58d584 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (c-ares-1.34.6.tar.gz) = 826eecdb40942caf75da982b9ca57fbe7c3e7c23af43a908683c7c1523c46b06ebac68405c26db8bf4c8b0774ca415666866249a3bde663a71c278f4ec7b1827 +SHA512 (c-ares-1.28.1.tar.gz) = 9a24f40002b661d97c9b49a617d2e6b12bad1c9f22e872611252d051ec650f886c010207939fac6992610b3cd5a87588f802d7dfa1310ced7c6621ea2f99dd90