Hello community, here is the log from the commit of package python-gdata for openSUSE:Factory checked in at Thu Jun 9 15:38:41 CEST 2011. -------- --- python-gdata/python-gdata.changes 2010-12-07 12:15:54.000000000 +0100 +++ python-gdata/python-gdata.changes 2011-06-09 12:43:22.000000000 +0200 @@ -1,0 +2,15 @@ +Thu Jun 9 10:41:21 UTC 2011 - saschpe@suse.de + +- Remove shebang lines for files in Python sitelibdir instead of + fixing their executable bit. + +------------------------------------------------------------------- +Wed Jun 1 09:37:52 UTC 2011 - saschpe@suse.de + +- Update to version 2.0.14: + * Fixed issues 456, 462, 482, 491, 493, 501 +- Spec file cleanup: + * Removed rpmlintrc and fixed warnings instead + * Use fdupes for duplicates + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- gdata-2.0.13.tar.bz2 rpmlintrc New: ---- gdata-2.0.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gdata.spec ++++++ --- /var/tmp/diff_new_pack.eSCtTZ/_old 2011-06-09 15:38:08.000000000 +0200 +++ /var/tmp/diff_new_pack.eSCtTZ/_new 2011-06-09 15:38:08.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-gdata (Version 2.0.13) +# spec file for package python-gdata # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,25 +15,31 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: python-gdata -BuildRequires: python-devel python-setuptools -License: Apache Software License 2.0 (ASL2) -Group: Development/Libraries/Python -Version: 2.0.13 +Version: 2.0.14 Release: 1 -Summary: Python library to access data through Google Data APIs Url: http://code.google.com/p/gdata-python-client -# http://gdata-python-client.googlecode.com/files/gdata-%{version}.tar.gz -Source: gdata-%{version}.tar.bz2 -Source99: rpmlintrc +Summary: Python library to access data through Google Data APIs +Group: Development/Libraries/Python +License: Apache Software License 2.0 (ASL2) +# http://gdata-python-client.googlecode.com/files/gdata-%%{version}.tar.gz +Source: gdata-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-distribute +%if 0%{?suse_version} %py_requires -%if 0%{?suse_version} >= 1120 +%if 0%{?suse_version} > 1110 BuildArch: noarch %endif +%if 0%{?suse_version} > 1010 +BuildRequires: fdupes +%endif +%endif +%{!?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)")} %description The Google data Python Client Library provides a library and source @@ -42,28 +48,28 @@ %prep %setup -q -n gdata-%{version} -# replace python shebangs with %__python -find . -type f -exec %__sed -i -r '1s|^#! *(.+)/python(.*)$|#!%__python|' {} \; -find . -type f -exec %__sed -i -r '1s|^#! */usr/bin/env +python.*$|#!%__python|' {} \; +find samples/oauth src/gdata -type f -name "*.py" -exec sed -i 's|\r||' {} \; # Fix wrong EOL encoding +find samples -type f -name "*.py" -exec chmod 0644 {} \; # Remove executable perms on samples -# remove executable perms on samples -find ./samples/ -type f -exec %__chmod 0644 {} \; +# Remove unnecessary Python shebangs +find . -type f -exec sed -i -r '1s|^#! *(.+)/python(.*)$||' {} \; +find . -type f -exec sed -i -r '1s|^#! */usr/bin/env +python.*$||' {} \; %build -%__python ./setup.py build +python setup.py build %install -%__python ./setup.py install \ - --prefix="%{_prefix}" \ - --root="%{buildroot}" \ - --record-rpm=files.lst +python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" +%if 0%{?suse_version} > 1010 +%fdupes %{buildroot}%{python_sitelib} +%endif %clean -%{?buildroot:%__rm -rf "%{buildroot}"} +rm -rf %{buildroot} -%files -f files.lst +%files %defattr(-,root,root) -%doc README.txt RELEASE_NOTES.txt -%doc samples/ +%doc README.txt RELEASE_NOTES.txt samples +%{python_sitelib}/* %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org