Temporarily disable RunCMake.CPack_RPM, because it fails for the new way RPM handles debug-stuff

This commit is contained in:
Björn Esser 2017-07-28 13:03:43 +02:00
parent 1e56cb0b9c
commit 907e555cfa
1 changed files with 12 additions and 2 deletions

View File

@ -41,7 +41,7 @@
Name: %{orig_name}%{?name_suffix}
Version: %{major_version}.%{minor_version}.0
Release: 3%{?relsuf}%{?dist}
Release: 4%{?relsuf}%{?dist}
Summary: Cross-platform make system
# most sources are BSD
@ -335,7 +335,13 @@ mv -f Modules/FindLibArchive.cmake Modules/FindLibArchive.disabled
%endif
pushd build
#CMake.FileDownload, and CTestTestUpload require internet access
bin/ctest%{?name_suffix} -V -E 'CMake.FileDownload|CTestTestUpload' %{?_smp_mflags}
NO_TEST="CMake.FileDownload|CTestTestUpload"
# RunCMake.CPack_RPM fails for the new way RPM handles debug-stuff
%if 0%{?fedora} >= 27
NO_TEST="$NO_TEST|RunCMake.CPack_RPM"
%endif
export NO_TEST
bin/ctest%{?name_suffix} -V -E "$NO_TEST" %{?_smp_mflags}
popd
%if 0%{?rhel} && 0%{?rhel} <= 6
mv -f Modules/FindLibArchive.disabled Modules/FindLibArchive.cmake
@ -444,6 +450,10 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%changelog
* Fri Jul 28 2017 Björn Esser <besser82@fedoraproject.org> - 3.9.0-4
- Temporarily disable RunCMake.CPack_RPM, because it fails for the new
way RPM handles debug-stuff
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild