Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/glm.git#5019a44bfa7145a028dcb791d75cbd26d3fb752e
This commit is contained in:
DistroBaker 2021-02-03 19:39:48 +00:00
parent e0af385fa0
commit 368a8853f8

View File

@ -3,7 +3,7 @@
Name: glm
Version: 0.9.9.6
Release: 6%{?dist}
Release: 8%{?dist}
Summary: C++ mathematics library for graphics programming
License: MIT
@ -15,6 +15,7 @@ Patch1: glm-0.9.9.6-noarch.patch
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake >= 3.14
BuildRequires: make
%description
GLM is a C++ library for doing mathematics operations
@ -86,10 +87,12 @@ sed -i 's/\r//' test/core/core_setup_message.cpp
%patch1 -p1
%build
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%{cmake} -DGLM_TEST_ENABLE=ON
%cmake_build
%check
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
cd %{_vpath_builddir}
# Some tests are disabled due to failing tests (to be reported)
@ -126,6 +129,12 @@ rmdir $RPM_BUILD_ROOT%{_libdir}
%doc doc/api/
%changelog
* Tue Feb 02 2021 Jeff Law <law@redhat.com> - 0.9.9.6-8
- Disable strict aliasing due to bugs in testsuite (#1923456)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Oct 26 2020 Joonas Sarajärvi <muep@iki.fi> - 0.9.9.6-6
- Fix #1863634 - FTBFS in Fedora rawhide/f33