Small cleaning (macros in Version etc.)

This commit is contained in:
survolog (Andrey Grigorev) 2020-01-13 02:21:17 +03:00
parent d5ba0ddbd9
commit 85e267cba3

View file

@ -1,13 +1,11 @@
%define bld 20
Summary: Settlers II clone Summary: Settlers II clone
Name: widelands Name: widelands
Version: %{bld} Version: 20
Release: 1 Release: 1
License: GPLv2+ License: GPLv2+
Group: Games/Strategy Group: Games/Strategy
Url: http://www.widelands.org/ Url: http://www.widelands.org/
Source0: https://launchpad.net/widelands/build20/build20/+download/%{name}-build%{bld}.tar.bz2 Source0: https://launchpad.net/widelands/build20/build20/+download/%{name}-build%{version}.tar.bz2
Source1: %{name}.desktop Source1: %{name}.desktop
Source100: widelands.rpmlintrc Source100: widelands.rpmlintrc
BuildRequires: cmake BuildRequires: cmake
@ -131,7 +129,7 @@ These are not needed, but may improve fun while playing.
%prep %prep
%setup -qn %{name}-build%{bld} %setup -qn %{name}-build%{version}
%build %build
%cmake -DCMAKE_BUILD_TYPE="Release" \ %cmake -DCMAKE_BUILD_TYPE="Release" \