Browse Source

c-ares-1.17.2-1

Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
c7ce4e799f
1 changed files with 11 additions and 7 deletions
  1. 11 7
      c/c-ares/c-ares-vl.spec

+ 11 - 7
c/c-ares/c-ares-vl.spec

@@ -2,7 +2,7 @@
 
 Summary: A library that performs asynchronous DNS operations
 Name: c-ares
-Version: 1.17.1
+Version: 1.17.2
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -15,6 +15,7 @@ Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
 Source1: LICENSE
 Patch0: 0001-Use-RPM-compiler-options.patch
 Patch1: c-ares-1.10.0-multilib.patch
+Patch1000: ares_nameser_h.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -41,7 +42,7 @@ compile applications or shared objects that use c-ares.
 
 %package -n compat32-%{name}
 Summary: A library that performs asynchronous DNS operations
-Group: system
+Group: system,legacy
 
 %description -n compat32-%{name}
 c-ares is a C library that performs DNS requests and name resolves 
@@ -51,7 +52,7 @@ by Greg Hudson at MIT.
 
 %package -n compat32-%{name}-devel
 Summary: Development files for c-ares
-Group: programming
+Group: programming,legacy
 Requires: compat32-%{name} = %{version}-%{release}
 Requires: %{name}-devel = %{version}-%{release}
 
@@ -67,6 +68,7 @@ compile applications or shared objects that use c-ares.
 %setup -q
 %patch0 -p1 -b .optflags
 #%patch1 -p1 -b .multilib
+%patch1000 -p1 -b .ares_nameser
 
 cp %{SOURCE1} .
 f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
@@ -89,10 +91,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
 rm -rf $RPM_BUILD_ROOT
 
 
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
-
 %files
 %defattr(-, root, root)
 %license LICENSE*
@@ -104,6 +102,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/ares.h
 %{_includedir}/ares_build.h
 %{_includedir}/ares_dns.h
+%{_includedir}/ares_nameser.h
 %{_includedir}/ares_rules.h
 %{_includedir}/ares_version.h
 %{_libdir}/*.so
@@ -124,6 +123,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Aug 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.17.2-1
+- updated to 1.17.2.
+- imported Patch1000 from upstream.
+- dropped ldconfig scriptlets.
+
 * Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.17.1-1
 - updated to 1.17.1.