Use macro for figuring out first two digits of version
This commit is contained in:
parent
68a33b853b
commit
fb5bc4c549
@ -1,4 +1,6 @@
|
||||
%define apiver 1.4
|
||||
# first two digits of version
|
||||
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
||||
|
||||
Name: pangomm
|
||||
Version: 2.27.1
|
||||
@ -8,7 +10,7 @@ Summary: C++ interface for Pango
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://www.gtkmm.org/
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.26/%{name}-%{version}.tar.bz2
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/%{release_version}/%{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: glibmm24-devel >= 2.14.1
|
||||
@ -94,6 +96,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%changelog
|
||||
* Thu Jan 13 2011 Kalev Lember <kalev@smartlink.ee> - 2.27.1-1
|
||||
- Update to 2.27.1
|
||||
- Use macro for figuring out first two digits of version
|
||||
|
||||
* Wed Sep 29 2010 jkeating - 2.26.2-3
|
||||
- Rebuilt for gcc bug 634757
|
||||
|
||||
Loading…
Reference in New Issue
Block a user