From 0f8f8d5921e2509e5921645e7d55e5e0e3eea7bd2a066563a3c16ac93edfa862 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 19 Sep 2011 19:29:30 +0000 Subject: [PATCH] Accepting request 83104 from home:jengelh:bl-c - Remove redundant tags/sections from specfile - Use %_smp_mflags for parallel build OBS-URL: https://build.opensuse.org/request/show/83104 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=79 --- cmake-gui.changes | 6 ++++++ cmake-gui.spec | 11 +---------- cmake.changes | 6 ++++++ cmake.spec | 10 +--------- 4 files changed, 14 insertions(+), 19 deletions(-) diff --git a/cmake-gui.changes b/cmake-gui.changes index 24c52c3..339d777 100644 --- a/cmake-gui.changes +++ b/cmake-gui.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 17 23:11:42 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Fri Jul 29 16:19:45 UTC 2011 - puzel@novell.com diff --git a/cmake-gui.spec b/cmake-gui.spec index b678395..fe7e4e0 100644 --- a/cmake-gui.spec +++ b/cmake-gui.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: cmake-gui @@ -51,11 +50,6 @@ Requires: cmake This is a Graphical User Interface for CMake, a cross-platform, open-source make system. -Authors: --------- - Kitware, Inc., Insight Consortium - - %prep %setup -q -n cmake-%{version} %patch4 @@ -80,7 +74,7 @@ export CFLAGS="$CXXFLAGS" %endif --parallel=0%jobs \ --qt-gui -make VERBOSE=1 %{?jobs:-j %jobs} +make VERBOSE=1 %{?_smp_mflags} %install make DESTDIR=%{buildroot} install @@ -93,9 +87,6 @@ rm -rf %{buildroot}/usr/share/doc/packages/cmake rm -rf %{buildroot}/usr/share/man/man1/{cmake,cmakecommands,cmakecompat}.1 rm -rf %{buildroot}/usr/share/man/man1/{cmakemodules,cmakepolicies,cmakeprops,cmakevars,cpack,ctest}.1 -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %{_bindir}/cmake-gui diff --git a/cmake.changes b/cmake.changes index 7b5398f..f4fef83 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 17 23:11:46 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Fri Jul 29 16:19:27 UTC 2011 - puzel@novell.com diff --git a/cmake.spec b/cmake.spec index d152366..74c3603 100644 --- a/cmake.spec +++ b/cmake.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: cmake @@ -50,10 +49,6 @@ Requires: make %description CMake is a cross-platform, open-source make system -Authors: --------- - Kitware, Inc., Insight Consortium - %prep %setup -q %patch4 @@ -77,7 +72,7 @@ export CFLAGS="$CXXFLAGS" %endif --parallel=0%jobs \ --no-qt-gui -make VERBOSE=1 %{?jobs:-j %jobs} +make VERBOSE=1 %{?_smp_mflags} %install make DESTDIR=%{buildroot} install @@ -88,9 +83,6 @@ cp ChangeLog.manual %{buildroot}/usr/share/doc/packages/%{name}/Changelog %fdupes %buildroot/usr/share/cmake %endif -%clean -rm -rf %{buildroot} - %files %defattr(-,root,root) %{_bindir}/cpack