diff --git a/.gitignore b/.gitignore index 497cd9a..2c61ac1 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,24 @@ /libuv-1.21.0-1.fc28.src.rpm /libuv-v1.21.0.tar.gz /libuv-v1.22.0.tar.gz +/libuv-v1.23.0.tar.gz +/libuv-v1.23.2.tar.gz +/libuv-v1.24.1.tar.gz +/libuv-v1.26.0.tar.gz +/libuv-v1.27.0.tar.gz +/libuv-v1.28.0.tar.gz +/libuv-v1.29.0.tar.gz +/libuv-v1.29.1.tar.gz +/libuv-v1.30.0.tar.gz +/libuv-v1.30.1.tar.gz +/libuv-v1.31.0.tar.gz +/libuv-v1.32.0.tar.gz +/libuv-v1.33.0.tar.gz +/libuv-v1.33.1.tar.gz +/libuv-v1.34.0.tar.gz +/libuv-v1.34.1.tar.gz +/libuv-v1.34.2.tar.gz +/libuv-v1.36.0.tar.gz +/libuv-v1.37.0.tar.gz +/libuv-v1.38.0.tar.gz +/libuv-v1.38.1.tar.gz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..66d9028 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,15 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} + +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} diff --git a/libuv.abignore b/libuv.abignore new file mode 100644 index 0000000..41cabc6 --- /dev/null +++ b/libuv.abignore @@ -0,0 +1,6 @@ +[suppress_function] +symbol_name_regexp = ^uv__.* + +[suppress_function] +symbol_name_regexp = .* +change_kind = added-function diff --git a/libuv.spec b/libuv.spec index 71d5f47..b467056 100644 --- a/libuv.spec +++ b/libuv.spec @@ -1,6 +1,11 @@ +# Some of the tests do not work with the network-free environment in Koji +# The packager should run `fedpkg local --with tests` on their machine +# before pushing to Koji +%bcond_with tests + Name: libuv Epoch: 1 -Version: 1.22.0 +Version: 1.38.1 Release: 1%{?dist} Summary: Platform layer for node.js @@ -9,10 +14,13 @@ License: MIT and BSD and ISC URL: http://libuv.org/ Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz Source2: %{name}.pc.in +Source3: libuv.abignore BuildRequires: autoconf automake libtool BuildRequires: gcc +# -- Patches -- # + %description libuv is a new platform layer for Node. Its purpose is to abstract IOCP on Windows and libev on Unix systems. We intend to eventually contain all platform @@ -32,6 +40,7 @@ Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release} %description static Static library (.a) version of libuv. + %prep %autosetup -n %{name}-v%{version} -p1 @@ -44,11 +53,13 @@ Static library (.a) version of libuv. %make_install rm -f %{buildroot}%{_libdir}/libuv.la +mkdir -p %{buildroot}%{_libdir}/libuv/ +install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3} + %check -# Tests are currently disabled because some require network access -# Working with upstream to split these out -#./run-tests -#./run-benchmarks +%if %{with tests} +%make_build check +%endif %ldconfig_scriptlets @@ -57,6 +68,7 @@ rm -f %{buildroot}%{_libdir}/libuv.la %doc ChangeLog %license LICENSE %{_libdir}/%{name}.so.* +%{_libdir}/libuv/libuv.abignore %files devel %{_libdir}/%{name}.so @@ -68,10 +80,123 @@ rm -f %{buildroot}%{_libdir}/libuv.la %{_libdir}/%{name}.a %changelog +* Fri Jul 31 2020 Stephen Gallagher - 1.38.1-1 +- Update to 1.38.1 +- https://github.com/libuv/libuv/blob/v1.38.1/ChangeLog + +* Tue Jul 28 2020 Fedora Release Engineering - 1:1.38.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon May 18 2020 Stephen Gallagher - 1.38.0-2 +- Fix up gating tests + +* Mon May 18 2020 Stephen Gallagher - 1.38.0-1 +- Update to 1.38.0 +- https://github.com/libuv/libuv/blob/v1.38.0/ChangeLog + +* Mon Apr 20 2020 Stephen Gallagher - 1.37.0-1 +- Update to 1.37.0 +- https://github.com/libuv/libuv/blob/v1.37.0/ChangeLog + +* Fri Apr 17 2020 Stephen Gallagher - 1.36.0-3 +- Actually add gating.yaml +- Fix build for EPEL 7 + +* Fri Apr 17 2020 Stephen Gallagher - 1.36.0-2 +- Add abidiff ignore file and add ABI gating test + +* Thu Apr 16 2020 Stephen Gallagher - 1.36.0-1 +- Update to 1.36.0 +- https://github.com/libuv/libuv/blob/v1.36.0/ChangeLog + +* Thu Feb 06 2020 Stephen Gallagher - 1.34.2-1 +- Update to 1.34.2 +- https://github.com/libuv/libuv/blob/v1.34.2/ChangeLog + +* Wed Jan 29 2020 Fedora Release Engineering - 1:1.34.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 13 2020 Stephen Gallagher - 1.34.1-1 +- Update to 1.34.1 +- https://github.com/libuv/libuv/blob/v1.34.1/ChangeLog + +* Fri Dec 06 2019 Stephen Gallagher - 1.34.0-1 +- Update to 1.34.0 +- https://github.com/libuv/libuv/blob/v1.34.0/ChangeLog + +* Mon Dec 02 2019 Stephen Gallagher - 1.33.1-1 +- Update to 1.33.1 +- Drop upstreamed patch +- https://github.com/libuv/libuv/blob/v1.33.1/ChangeLog + +* Mon Oct 21 2019 Stephen Gallagher - 1.33.0-2 +- Add upstream patch to fix aarch64 builds + +* Fri Oct 18 2019 Stephen Gallagher - 1.33.0-1 +- Update to 1.33.0 +- https://github.com/libuv/libuv/blob/v1.33.0/ChangeLog + +* Wed Oct 02 2019 Stephen Gallagher - 1.32.0-1 +- Update to 1.32.0 +- https://github.com/libuv/libuv/blob/v1.32.0/ChangeLog + +* Wed Aug 21 2019 Stephen Gallagher - 1.31.0-0 +- Update to 1.31.0 +- https://github.com/libuv/libuv/blob/v1.31.0/ChangeLog + +* Thu Jul 25 2019 Fedora Release Engineering - 1:1.30.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 02 2019 Stephen Gallagher - 1.30.1-1 +- Update to 1.30.1 +- https://github.com/libuv/libuv/blob/v1.30.1/ChangeLog + +* Thu Jun 27 2019 Stephen Gallagher - 1.30.0-1 +- Update to 1.30.0 +- https://github.com/libuv/libuv/blob/v1.30.0/ChangeLog + +* Tue May 21 2019 Stephen Gallagher - 1.29.1-1 +- Update to 1.29.1 +- https://github.com/libuv/libuv/blob/v1.29.1/ChangeLog + +* Wed May 15 2019 Stephen Gallagher - 1.29.0-1 +- Update to 1.29.0 +- Drop upstreamed patch + +* Fri May 03 2019 Stephen Gallagher - 1.28.0-2 +- Fix regression in uv_fs_poll_stop() (BZ 1703935) + +* Tue Apr 23 2019 Stephen Gallagher - 1.28.0-1 +- Update to libuv 1.28.0 +- https://github.com/libuv/libuv/blob/v1.28.0/ChangeLog + +* Mon Mar 18 2019 Stephen Gallagher - 1.27.0-1 +- Update to libuv 1.27.0 +- https://github.com/libuv/libuv/blob/v1.27.0/ChangeLog + +* Wed Feb 13 2019 Stephen Gallagher - 1.26.0-1 +- Update to 1.26.0 +- https://github.com/libuv/libuv/blob/v1.26.0/ChangeLog + +* Fri Jan 18 2019 Stephen Gallagher - 1.24.1-1 +- Update to 1.24.1 +- https://github.com/libuv/libuv/blob/v1.24.1/ChangeLog + +* Thu Oct 11 2018 Stephen Gallagher - 1.23.2-1 +- Update to 1.23.2 +- https://github.com/libuv/libuv/blob/v1.23.2/ChangeLog + +* Tue Sep 11 2018 Stephen Gallagher - 1.23.0-1 +- Update to 1.23.0 +- https://github.com/libuv/libuv/blob/v1.23.0/ChangeLog + * Mon Jul 16 2018 Stephen Gallagher - 1.22.0-1 - Update to 1.22.0 - https://github.com/libuv/libuv/blob/v1.22.0/ChangeLog +* Fri Jul 13 2018 Fedora Release Engineering - 1:1.21.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Jul 06 2018 Stephen Gallagher - 1.21.0-1 - Update to 1.21.0 - https://github.com/libuv/libuv/blob/v1.21.0/ChangeLog diff --git a/package.cfg b/package.cfg new file mode 100644 index 0000000..ae26b1b --- /dev/null +++ b/package.cfg @@ -0,0 +1,2 @@ +[koji] +targets = master fedora epel7 diff --git a/sources b/sources index 07e723d..e727243 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libuv-v1.22.0.tar.gz) = 2c70e75bd41ec5b86706686d0fc25fe57fdacc7943f4cc49f5f74f229739416a2a655df258ec34906756224ae91cdb31f27ba82e58ec4a8f30d143b4a844aad4 +SHA512 (libuv-v1.38.1.tar.gz) = 694156590bea55d47146fbee0864850773ef5fdee00532ca87c5c791855cc94c88a82dbe3b8c59fd1a4f463ea2a2508e7978cb4165209d636fe19fb74383b305