libuv/libuv.spec
shixuantong c4836e140b add epoch number to changelog
(cherry picked from commit 9bdd091e6723fbb4c8169aa8f45ca396e84dc957)
2024-02-19 15:54:18 +08:00

79 lines
1.8 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: libuv
Epoch: 1
Version: 1.42.0
Release: 2
Summary: A multi-platform support library with a focus on asynchronous I/O
# from README.md
License: MIT and CC-BY-4.0
URL: http://libuv.org/
Source0: http://dist.libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz
Patch6000: backport-0001-CVE-2024-24806.patch
Patch6001: backport-0002-CVE-2024-24806.patch
Patch6002: backport-0003-CVE-2024-24806.patch
BuildRequires: autoconf automake libtool gcc
%description
libuv is a multi-platform support library with a focus on asynchronous I/O.
It was primarily developed for use by Node.js, but its also used by Luvit,
Julia, pyuv, and others.
%package devel
Summary: Development libraries for libuv
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-static
Provides: %{name}-static
%description devel
Development libraries for libuv
%package_help
%prep
%autosetup -p1 -n %{name}-v%{version}
%build
./autogen.sh
%configure --disable-silent-rules
%make_build
%install
%make_install
%delete_la
%check
%ldconfig_scriptlets
%files
%license LICENSE
%{_libdir}/%{name}.so.*
%files devel
%{_libdir}/%{name}.so
%{_libdir}/%{name}.a
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/uv.h
%{_includedir}/uv/
%files help
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
%doc ChangeLog
%changelog
* Sun Feb 18 2024 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-2
- fix CVE-2024-24806
* Thu Mar 24 2022 wangkai <wangkai385@huawei.com> - 1:1.42.0-1
- upgrade version to 1.42.0
* Mon Dec 14 2020 wangxiao <wangxiao65@huawei.com> - 1:1.38.1-2
- fix CVE-2020-8252
* Wed Aug 5 2020 hanxinke <hanxinke@huawei.com> - 1:1.38.1-1
- update to 1.38.1
* Tue Dec 3 2019 mengxian <mengxian@huawei.com> - 1:1.23.0-2
- Package init