From a67c23265f051189c5795246037439561a7859bb1d508f94b6d535201498f833 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Wed, 28 Aug 2019 01:06:03 +0000 Subject: [PATCH] Accepting request 726347 from home:jengelh:branches:devel:tools:building - Trim metadata redundancies from description. - Avoid use of em dashes in summaries. OBS-URL: https://build.opensuse.org/request/show/726347 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=375 --- cmake.changes | 6 ++++++ cmake.spec | 28 ++++++++++++++++------------ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/cmake.changes b/cmake.changes index 4fc77c8..9ec5094 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 27 06:35:24 UTC 2019 - Jan Engelhardt + +- Trim metadata redundancies from description. +- Avoid use of em dashes in summaries. + ------------------------------------------------------------------- Tue Aug 13 12:43:58 UTC 2019 - Martin Pluskal diff --git a/cmake.spec b/cmake.spec index a75aaf0..4e74bb6 100644 --- a/cmake.spec +++ b/cmake.spec @@ -18,10 +18,19 @@ %define flavor @BUILD_FLAVOR@%{nil} %define shortversion 3.15 -Version: 3.15.1 -Release: 0 +%if "%flavor" == "gui" +Name: cmake-%{flavor} +Summary: CMake graphical user interface License: BSD-3-Clause Group: Development/Tools/Building +%else +Name: cmake +Summary: Cross-platform make system +License: BSD-3-Clause +Group: Development/Tools/Building +%endif +Version: 3.15.1 +Release: 0 URL: https://www.cmake.org/ Source0: https://www.cmake.org/files/v%{shortversion}/cmake-%{version}.tar.gz Source1: cmake.macros @@ -54,33 +63,29 @@ BuildRequires: zlib-devel BuildRequires: pkgconfig(liblzma) Requires: make %if "%flavor" == "gui" -Name: cmake-%{flavor} -Summary: CMake graphical user interface BuildRequires: python-sphinx BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Widgets) Requires: cmake Recommends: cmake-man %else -Name: cmake -Summary: Cross-platform, open-source make system # bnc#953842 - A python file is shipped so require python base so it can be run. Requires: python3-base %endif %if "%flavor" == "gui" %description -This is a Graphical User Interface for CMake, a cross-platform, -open-source build system. +This is a Graphical User Interface for CMake, a cross-platform +build system. %package -n cmake-man -Summary: Cross-platform, open-source make system - manual pages +Summary: Manual pages for cmake, a cross-platform make system Group: Development/Tools/Building %description -n cmake-man -Manual pages for cmake, Cross-platform, open-source make system +Manual pages for cmake, a cross-platform make system. %else %description -CMake is a cross-platform, open-source build system +CMake is a cross-platform build system. %endif %prep @@ -151,7 +156,6 @@ rm %{buildroot}%{_docdir}/%{name}/Copyright.txt %fdupes %{buildroot}%{_datadir}/cmake - %check # Excluded tests: # TestUpload: uses internet connection