From c3eff2cd4f13637adaccb2134179eca7214fb1fc Mon Sep 17 00:00:00 2001 From: Matt Domsch Date: Sep 01 2009 15:45:02 +0000 Subject: fix prerelease versioning --- diff --git a/python-GeoIP.spec b/python-GeoIP.spec index 5ec68c7..02b67af 100644 --- a/python-GeoIP.spec +++ b/python-GeoIP.spec @@ -1,14 +1,14 @@ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - +%define tarballversion 1.2.4 Name: python-GeoIP Version: 1.2.5 -Release: 0.1.20090931cvs%{?dist} +Release: 0.2.20090931cvs%{?dist} Summary: Python bindings for the GeoIP geographical lookup libraries Group: Development/Languages License: LGPLv2+ URL: http://www.maxmind.com/download/geoip/api/python/ -Source0: http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-%{version}.tar.gz +Source0: http://www.maxmind.com/download/geoip/api/python/GeoIP-Python-%{tarballversion}.tar.gz Patch0: python-GeoIP-1.2.4-ipv6.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -20,7 +20,7 @@ This package contains the Python bindings for the GeoIP API, allowing IP to location lookups to country, city and organization level within Python code. %prep -%setup -q -n GeoIP-Python-%{version} +%setup -q -n GeoIP-Python-%{tarballversion} %patch0 -p1 %build @@ -45,6 +45,9 @@ rm -rf %{buildroot} %changelog +* Tue Sep 1 2009 Matt Domsch - 1.2.5-0.2.20090931cvs +- fix prerelease versioning + * Mon Aug 31 2009 Matt Domsch - 1.2.5-0.1.20090931cvs - add IPv6 functions from CVS HEAD