Add abidiff ignore file and add ABI gating test

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2020-04-17 11:35:25 -04:00
parent e9b975a3cb
commit 6b0145725c
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11
2 changed files with 14 additions and 1 deletions

6
libuv.abignore Normal file
View File

@ -0,0 +1,6 @@
[suppress_function]
symbol_name_regexp = ^uv__.*
[suppress_function]
symbol_name_regexp = .*
change_kind = added-function

View File

@ -1,7 +1,7 @@
Name: libuv
Epoch: 1
Version: 1.36.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Platform layer for node.js
# the licensing breakdown is described in detail in the LICENSE file
@ -9,6 +9,7 @@ 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
@ -48,6 +49,8 @@ Static library (.a) version of libuv.
%make_install
rm -f %{buildroot}%{_libdir}/libuv.la
install -Dm0755 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3}
%check
# Tests are currently disabled because some require network access
# Working with upstream to split these out
@ -61,6 +64,7 @@ rm -f %{buildroot}%{_libdir}/libuv.la
%doc ChangeLog
%license LICENSE
%{_libdir}/%{name}.so.*
%{_libdir}/libuv/libuv.abignore
%files devel
%{_libdir}/%{name}.so
@ -72,6 +76,9 @@ rm -f %{buildroot}%{_libdir}/libuv.la
%{_libdir}/%{name}.a
%changelog
* Fri Apr 17 2020 Stephen Gallagher <sgallagh@redhat.com> - 1.36.0-2
- Add abidiff ignore file and add ABI gating test
* Thu Apr 16 2020 Stephen Gallagher <sgallagh@redhat.com> - 1.36.0-1
- Update to 1.36.0
- https://github.com/libuv/libuv/blob/v1.36.0/ChangeLog