from gtkmm30.spec, via Kalev Lember, automatically adjust release version
This commit is contained in:
parent
14877c8031
commit
e7486a00d7
@ -13,7 +13,9 @@ Summary: MinGW Windows GLib2 library
|
||||
License: LGPLv2+
|
||||
Group: Development/Libraries
|
||||
URL: http://www.gtk.org
|
||||
Source0: http://download.gnome.org/sources/glib/2.27/glib-%{version}.tar.bz2
|
||||
# first two digits of version
|
||||
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
||||
Source0: http://download.gnome.org/sources/glib/%{release_version}/glib-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Loading…
Reference in New Issue
Block a user