#
Summary: Google Data API for Python
Name: python-%{module}
-Version: 1.0.8
+Version: 1.0.9
Release: 1
License: Apache Group License v2.0
Group: Development/Languages/Python
Source0: http://gdata-python-client.googlecode.com/files/%{module}.py-%{version}.tar.gz
-# Source0-md5: b6f6aa192446047d8045d3c30345f1ef
+# Source0-md5: adbc747e1073072eff6a74b4d89473d7
URL: http://code.google.com/p/gdata-python-client/
-BuildRequires: python >= 2.5
+BuildRequires: python >= 1:2.5
+BuildRequires: rpmbuild(macros) >= 1.219
%pyrequires_eq python-libs
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
--root=$RPM_BUILD_ROOT \
--optimize=2
-find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} -name \*.py | xargs rm -f
+cp -r samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
%doc README.txt RELEASE_NOTES.txt
%{py_sitescriptdir}/%{module}
%{py_sitescriptdir}/atom
+%{py_sitescriptdir}/gdata.py-*.egg-info
+%{_examplesdir}/%{name}-%{version}