]> git.pld-linux.org Git - packages/python-gdata.git/commitdiff
- updated to 1.0.9 auto/th/python-gdata-1_0_9-1
authorMarcin Banasiak <marcin.banasiak@gmail.com>
Sat, 27 Oct 2007 19:56:47 +0000 (19:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-gdata.spec -> 1.2

python-gdata.spec

index fa1545383180da8c1326caab6a0b134e210e8b0f..8716d4350dfa6225721ce6b8137ae713ccf86b0f 100644 (file)
@@ -2,14 +2,15 @@
 #
 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)
@@ -32,7 +33,9 @@ python setup.py install \
        --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
@@ -42,3 +45,5 @@ 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}
This page took 0.061711 seconds and 4 git commands to generate.