Fix enum precision loss issues on 32 bits

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
This commit is contained in:
Dodji Seketeli 2016-01-06 10:45:56 +01:00
parent 0aaedc1b95
commit 48825d3612

View File

@ -3,7 +3,7 @@
Name: libabigail
Version: 1.0
Release: 0.%{tarball_revision}.2%{?dist}
Release: 0.%{tarball_revision}.3%{?dist}
Summary: Set of ABI analysis tools
License: LGPLv3+
@ -16,6 +16,7 @@ URL: https://sourceware.org/libabigail/
# configure
# make dist
Source0: %{tarball_name}.tar.gz
Patch0: enum-value-wide-precision-on-32-bits-machine-patch.txt
BuildRequires: libtool
BuildRequires: elfutils-devel
@ -64,6 +65,7 @@ format.
%prep
%setup -n %{tarball_name}
%patch0 -p1
%build
%configure --disable-silent-rules --disable-zip-archive --disable-static
@ -87,7 +89,7 @@ make -C doc/manuals install-man-and-info-doc DESTDIR=%{buildroot}
dos2unix doc/manuals/html/_static/jquery.js
%check
make check || (cat tests/test-suite.log && exit 2)
make %{?_smp_mflags} check || (cat tests/test-suite.log && exit 2)
if test $? -ne 0; then
cat tests/tests-suite.log
@ -129,6 +131,10 @@ fi
%doc doc/manuals/html/*
%changelog
* Wed Jan 6 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.rc1.3
- Fix precision loss on enum values, on 32 bit systems.
- Run make check in // if possible
* Wed Jan 6 2016 Dodji Seketeli <dodji@seketeli.org> - 1.0-0.rc1.2
- Add/Remove info pages to/from info pages database after install/before remove