Automatically figure out ftp download dir
This commit is contained in:
parent
f4eec76380
commit
3cc20b1a25
@ -1,3 +1,6 @@
|
||||
# first two digits of version
|
||||
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
|
||||
|
||||
Name: libsigc++20
|
||||
Version: 2.2.8
|
||||
Release: 4%{?dist}
|
||||
@ -6,7 +9,7 @@ Summary: Typesafe signal framework for C++
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://libsigc.sourceforge.net/
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-%{version}.tar.bz2
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.bz2
|
||||
# fix compilation with GCC 4.6 (upstream ticket: GNOME BZ #641471)
|
||||
Patch0: %{name}-gcc46.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -96,6 +99,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%changelog
|
||||
* Tue Mar 01 2011 Kalev Lember <kalev@smartlink.ee> - 2.2.8-4
|
||||
- Spec cleanup
|
||||
- Use macro for automatically calculating ftp directory name with
|
||||
first two digits of tarball version.
|
||||
|
||||
* Mon Feb 21 2011 Haïkel Guémar <hguemar@fedoraproject.org> - 2.2.8-3
|
||||
- fix documentation location (RHBZ #678981)
|
||||
|
Loading…
Reference in New Issue
Block a user