Hello community, here is the log from the commit of package python-geopy for openSUSE:Factory checked in at Mon Sep 26 10:15:14 CEST 2011.
-------- --- python-geopy/python-geopy.changes 2011-03-25 00:37:29.000000000 +0100 +++ /mounts/work_src_done/STABLE/python-geopy/python-geopy.changes 2011-09-21 11:26:36.000000000 +0200 @@ -1,0 +2,7 @@ +Wed Sep 21 09:25:03 UTC 2011 - [email protected] + +- Spec file cleanup: + * Removed %clean section (not needed anymore) + * Removed CFLAGS (not a C extension) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-geopy.spec ++++++ --- /var/tmp/diff_new_pack.vBHhHn/_old 2011-09-26 10:15:11.000000000 +0200 +++ /var/tmp/diff_new_pack.vBHhHn/_new 2011-09-26 10:15:11.000000000 +0200 @@ -11,36 +11,32 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. - +# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -%define mod_name geopy -Name: python-%{mod_name} +Name: python-geopy Version: 0.94.1 -Release: 1 +Release: 0 Url: http://www.geopy.org/ Summary: Python Geocoding Toolbox License: MIT Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.bz2 +Source: geopy-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-distribute BuildRequires: python-simplejson BuildRequires: python-xml +Requires: python-xml %if 0%{?suse_version} %py_requires %if 0%{?suse_version} > 1110 BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description geopy makes it easy for developers to locate the coordinates of addresses, cities, @@ -52,22 +48,20 @@ extension), and Semantic MediaWiki pages. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n geopy-%{version} %build -export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %{buildroot} +# TODO: Disable only tests that need network access +#%%check +#python setup.py test %files %defattr(-,root,root,-) -# You may have to add additional files here (documentation and binaries mostly) -%python_sitelib/%{mod_name}* -%python_sitelib/*.egg-info +%python_sitelib/* %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
