Fix #1863634 - FTBFS in Fedora rawhide/f33

f41
Joonas Sarajärvi 4 years ago
parent 7119deaade
commit f3cc3433d1

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

Loading…
Cancel
Save