|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: glm
|
|
|
|
|
Version: 0.9.9.6
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: C++ mathematics library for graphics programming
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -86,13 +86,11 @@ sed -i 's/\r//' test/core/core_setup_message.cpp
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
%{cmake} -DGLM_TEST_ENABLE=ON ..
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%{cmake} -DGLM_TEST_ENABLE=ON
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
cd build
|
|
|
|
|
cd %{_vpath_builddir}
|
|
|
|
|
|
|
|
|
|
# Some tests are disabled due to failing tests (to be reported)
|
|
|
|
|
# - test-core_func_common fails on aarch64
|
|
|
|
@ -100,7 +98,7 @@ cd build
|
|
|
|
|
ctest --output-on-failure -E '(test-core_func_common|test-gtc_packing)'
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
cd build
|
|
|
|
|
cd %{_vpath_builddir}
|
|
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
@ -128,6 +126,9 @@ rmdir $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
|
%doc doc/api/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Oct 26 2020 Joonas Sarajärvi <muep@iki.fi> - 0.9.9.6-6
|
|
|
|
|
- Fix #1863634 - FTBFS in Fedora rawhide/f33
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9.6-5
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|