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