Use global instead of define.

This commit is contained in:
Richard W.M. Jones 2016-01-05 17:15:13 +00:00
parent 6b0ac28f99
commit 60a48416b3

View File

@ -2,14 +2,14 @@
Name: mingw-glib2
Version: 2.47.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: MinGW Windows GLib2 library
License: LGPLv2+
Group: Development/Libraries
URL: http://www.gtk.org
# first two digits of version
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}')
Source0: http://download.gnome.org/sources/glib/%{release_version}/glib-%{version}.tar.xz
BuildArch: noarch
@ -272,6 +272,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%changelog
* Tue Jan 05 2016 Richard Jones <rjones@redhat.com> - 2.47.4-2
- Use global instead of define.
* Tue Dec 29 2015 Thomas Sailer <t.sailer@alumni.ethz.ch> - 2.47.4-1
- Update to 2.47.4