File project.diff of Package cmake
--- _multibuild.orig
+++ _multibuild
@@ -1,5 +1,4 @@
<multibuild>
<flavor>mini</flavor>
<flavor>full</flavor>
- <flavor>gui</flavor>
</multibuild>
--- cmake.spec.orig
+++ cmake.spec
@@ -115,6 +115,8 @@ build system.
echo "`grep cmake-%{version}.tar.gz %{SOURCE5} | grep -Eo '^[0-9a-f]+'` %{SOURCE0}" | sha256sum -c
%autosetup -p1 -n cmake-%{version}
+find . -name \*.orig -exec rm -v {} \;
+
%build
cp %{SOURCE99} .
%if "%{flavor}" != ""
@@ -193,7 +195,7 @@ rm %{buildroot}%{_docdir}/cmake/Copyrigh
# if any other app installs then this test is bogus
# suse specific brp-25-symlink cramps the symlinks, hence the CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne) fail
./bin/ctest --force-new-ctest-process --output-on-failure %{?_smp_mflags} \
- -E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM)"
+ -E "(TestUpload|SimpleInstall|SimpleInstall-Stage2|CPackComponentsForAll-RPM-(default|OnePackPerGroup|IgnoreGroup|AllInOne)|CPack_RPM|RunCMake.(FileAPI|install))"
%endif
%if %{with gui}