Compare commits
3 Commits
0503de333d
...
f382f635ba
Author | SHA1 | Date |
---|---|---|
![]() |
f382f635ba | |
![]() |
e36568a3e4 | |
![]() |
5cd9c6a162 |
|
@ -1,23 +1,24 @@
|
||||||
%global optflags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2//')
|
%global use_cmake 0
|
||||||
|
|
||||||
Summary: A library that performs asynchronous DNS operations
|
Summary: A library that performs asynchronous DNS operations
|
||||||
Name: c-ares
|
Name: c-ares
|
||||||
Version: 1.10.0
|
Version: 1.19.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
URL: http://c-ares.org/
|
||||||
URL: http://c-ares.haxx.se/
|
Source0: http://c-ares.org/download/%{name}-%{version}.tar.gz
|
||||||
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
|
|
||||||
# The license can be obtained at http://c-ares.haxx.se/license.html
|
# The license can be obtained at http://c-ares.haxx.se/license.html
|
||||||
Source1: LICENSE
|
Source1: LICENSE
|
||||||
Patch0: 0001-Use-RPM-compiler-options.patch
|
Patch0: 0001-Use-RPM-compiler-options.patch
|
||||||
Patch1: c-ares-1.10.0-multilib.patch
|
BuildRequires: gcc
|
||||||
|
%if %{use_cmake}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRequires: cmake
|
||||||
|
%else
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
%endif
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%description
|
%description
|
||||||
c-ares is a C library that performs DNS requests and name resolves
|
c-ares is a C library that performs DNS requests and name resolves
|
||||||
|
@ -26,61 +27,167 @@ by Greg Hudson at MIT.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for c-ares
|
Summary: Development files for c-ares
|
||||||
Group: Development/Libraries
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Requires: pkgconfig
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files and libraries needed to
|
This package contains the header files and libraries needed to
|
||||||
compile applications or shared objects that use c-ares.
|
compile applications or shared objects that use c-ares.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1 -b .optflags
|
|
||||||
%patch1 -p1 -b .multilib
|
|
||||||
|
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
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
|
%build
|
||||||
|
source /opt/rh/devtoolset-10/enable
|
||||||
|
# autoreconf -if
|
||||||
|
# %%configure --enable-shared --disable-static \
|
||||||
|
# --disable-dependency-tracking
|
||||||
|
%if %{use_cmake}
|
||||||
|
%{cmake} -DCMAKE_INSTALL_LIBDIR:PATH="%{_libdir}" -DCARES_BUILD_TOOLS:BOOL=OFF
|
||||||
|
D%cmake_build
|
||||||
|
%else
|
||||||
autoreconf -if
|
autoreconf -if
|
||||||
%configure --enable-shared --disable-static \
|
%configure --enable-shared --disable-static \
|
||||||
--disable-dependency-tracking
|
--disable-dependency-tracking
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%if %{use_cmake}
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%cmake_install
|
||||||
|
%else
|
||||||
|
%make_install
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
|
||||||
|
%endif
|
||||||
|
|
||||||
%clean
|
%pre -p /usr/sbin/ldconfig
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%post -p /usr/sbin/ldconfig
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%license LICENSE
|
||||||
%doc README README.cares CHANGES NEWS LICENSE
|
%doc README.cares CHANGES NEWS
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root, 0755)
|
|
||||||
%{_includedir}/ares.h
|
%{_includedir}/ares.h
|
||||||
%{_includedir}/ares_build.h
|
%{_includedir}/ares_build.h
|
||||||
%{_includedir}/ares_dns.h
|
%{_includedir}/ares_dns.h
|
||||||
|
%{_includedir}/ares_nameser.h
|
||||||
%{_includedir}/ares_rules.h
|
%{_includedir}/ares_rules.h
|
||||||
%{_includedir}/ares_version.h
|
%{_includedir}/ares_version.h
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
%if %{use_cmake}
|
||||||
|
%{_libdir}/cmake/c-ares/
|
||||||
|
%endif
|
||||||
%{_libdir}/pkgconfig/libcares.pc
|
%{_libdir}/pkgconfig/libcares.pc
|
||||||
%{_mandir}/man3/ares_*
|
%{_mandir}/man3/ares_*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.10.0-3
|
* Wed May 24 2023 Tom Callaway <spot@fedoraproject.org> - 1.19.1-1
|
||||||
- Mass rebuild 2014-01-24
|
- update to 1.19.1
|
||||||
|
- fixes CVE-2023-32067
|
||||||
|
|
||||||
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.10.0-2
|
* Fri Feb 17 2023 Tom Callaway <spot@fedoraproject.org> - 1.19.0-1
|
||||||
- Mass rebuild 2013-12-27
|
- update to 1.19.0
|
||||||
|
- fixes CVE-2022-4904
|
||||||
|
|
||||||
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Aug 16 2021 Tom Callaway <spot@fedoraproject.org> - 1.17.2-1
|
||||||
|
- update to 1.17.2
|
||||||
|
- fixes multiple security issues including CVE-2021-3672
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 20 2020 Tom Callaway <spot@fedoraproject.org> - 1.17.1-1
|
||||||
|
- update to 1.17.1
|
||||||
|
|
||||||
|
* Tue Nov 17 2020 Tom Callaway <spot@fedoraproject.org> - 1.17.0-1
|
||||||
|
- update to 1.17.0
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.16.1-2
|
||||||
|
- Use make macros
|
||||||
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||||
|
|
||||||
|
* Mon May 11 2020 Tom Callaway <spot@fedoraproject.org> - 1.16.1-1
|
||||||
|
- update to 1.16.1
|
||||||
|
|
||||||
|
* Fri Mar 13 2020 Tom Callaway <spot@fedoraproject.org> - 1.16.0-1
|
||||||
|
- update to 1.16.0
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Mar 12 2019 Tom Callaway <spot@fedoraproject.org> - 1.15.0-3
|
||||||
|
- use cmake to build so we get cmake helpers (bz1687844)
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 13 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.16.0-1
|
||||||
|
- Update to the latest upstream
|
||||||
|
|
||||||
|
* Mon Sep 3 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.14.0-1
|
||||||
|
- Update to the latest upstream
|
||||||
|
- Resolves: rhbz#1624499 - RFE: New c-ares release 1.14.0 available
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 20 2017 Jakub Hrozek <jhrozek@redhat.com> - 1.13.0-1
|
||||||
|
- update to 1.13.0
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Sep 29 2016 Tom Callaway <spot@fedoraproject.org> - 1.12.0-1
|
||||||
|
- update to 1.12.0
|
||||||
|
|
||||||
|
* Fri Feb 19 2016 Jakub Hrozek <jhrozek@redhat.com> - 1.11.0
|
||||||
|
- New upstream version 1.11.0
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
* Mon May 13 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.10.1-1
|
* Mon May 13 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.10.1-1
|
||||||
- New upstream release 1.10
|
- New upstream release 1.10
|
||||||
|
@ -217,3 +324,4 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
|
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
|
||||||
- initial package creation
|
- initial package creation
|
||||||
|
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
%global gohostarch s390x
|
%global gohostarch s390x
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global go_api 1.20.3
|
%global go_api 1.24.4
|
||||||
%global go_version %{go_api}
|
%global go_version %{go_api}
|
||||||
|
|
||||||
# For rpmdev-bumpspec and releng automation
|
# For rpmdev-bumpspec and releng automation
|
||||||
|
@ -156,8 +156,8 @@ Requires: %{name}-src = %{version}-%{release}
|
||||||
Requires: go-srpm-macros
|
Requires: go-srpm-macros
|
||||||
|
|
||||||
#Patch1: 0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
|
#Patch1: 0001-Don-t-use-the-bundled-tzdata-at-runtime-except-for-t.patch
|
||||||
Patch2: 0002-syscall-expose-IfInfomsg.X__ifi_pad-on-s390x.patch
|
#Patch2: 0002-syscall-expose-IfInfomsg.X__ifi_pad-on-s390x.patch
|
||||||
Patch3: 0003-cmd-go-disable-Google-s-proxy-and-sumdb.patch
|
#Patch3: 0003-cmd-go-disable-Google-s-proxy-and-sumdb.patch
|
||||||
|
|
||||||
# Having documentation separate was broken
|
# Having documentation separate was broken
|
||||||
Obsoletes: %{name}-docs < 1.1-4
|
Obsoletes: %{name}-docs < 1.1-4
|
||||||
|
@ -343,7 +343,7 @@ mkdir -p $RPM_BUILD_ROOT%{goroot}
|
||||||
|
|
||||||
# install everything into libdir (until symlink problems are fixed)
|
# install everything into libdir (until symlink problems are fixed)
|
||||||
# https://code.google.com/p/go/issues/detail?id=5830
|
# https://code.google.com/p/go/issues/detail?id=5830
|
||||||
cp -apv api bin doc lib pkg src misc test VERSION \
|
cp -apv api bin doc lib pkg src misc test VERSION go.env \
|
||||||
$RPM_BUILD_ROOT%{goroot}
|
$RPM_BUILD_ROOT%{goroot}
|
||||||
echo "== 2 =="
|
echo "== 2 =="
|
||||||
# bz1099206
|
# bz1099206
|
||||||
|
@ -485,6 +485,7 @@ fi
|
||||||
%dir %{goroot}
|
%dir %{goroot}
|
||||||
%{goroot}/api/
|
%{goroot}/api/
|
||||||
%{goroot}/lib/time/
|
%{goroot}/lib/time/
|
||||||
|
/usr/lib/golang/go.env
|
||||||
|
|
||||||
# ensure directory ownership, so they are cleaned up if empty
|
# ensure directory ownership, so they are cleaned up if empty
|
||||||
%dir %{gopath}
|
%dir %{gopath}
|
||||||
|
|
2788
SPECS/ruby.spec
2788
SPECS/ruby.spec
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue