Hello community, here is the log from the commit of package python-glanceclient for openSUSE:Factory checked in at 2013-01-17 09:58:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-glanceclient (Old) and /work/SRC/openSUSE:Factory/.python-glanceclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-glanceclient", Maintainer is "CThiel@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/python-glanceclient/python-glanceclient.changes 2012-12-08 15:52:58.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-glanceclient.new/python-glanceclient.changes 2013-01-17 09:58:56.000000000 +0100 @@ -2 +2,61 @@ -Thu Nov 8 13:14:01 UTC 2012 - saschpe@suse.de +Wed Dec 19 15:14:51 UTC 2012 - saschpe@suse.de + +- Fix python-keystoneclient _module_ requirement, our packages + have a different versioning scheme (but we provide the same thing) + +-------------------------------------------------------------------- +Wed Dec 19 11:23:06 UTC 2012 - saschpe@suse.de + +- Move to obs-service-git_tarballs + + Drop BuildRequires: python-setuptools-git +- Update to version 0.6.0.14.gc057fe4+git.1355912586.c057fe4: + + Document v0.7.0 release + + Support --os-cacert + + Update --location help to reference swift store. + + Change default image sort to use name + + Add --sort-key and --sort-dir to image-list + + Pin pep8 to 1.3.3 + + Allow setting x-image-meta-store through shell on image creation + + Verify that host matches certificate + + Document bugs/features for v0.6.0 + + Hook up region_name argument + + Simplify human-readable size output + + Make image sizes more readable for humans + + Set useful boolean flag metavars + + Unpin keystoneclient dependency + + Fixes bug on Windows related to a wrong API url + + Enhance --checksum help with algorithm + + added --version as new parameter +- Add " --install-data=%{python_sitelib}" parameter to "setup.py install" + to make sure the versioninfo file is installed correctly + +------------------------------------------------------------------- +Wed Dec 5 09:28:43 UTC 2012 - saschpe@suse.de + +- Use @PARENT_TAG@ in _service file to automate versioning + +------------------------------------------------------------------- +Tue Dec 4 14:43:11 UTC 2012 - saschpe@suse.de + +- Drop glanceclient-setup-no-requires.patch: + + That makes no sense, http://packages.python.org/distribute/setuptools.html#new-and-changed-setup-... +- BuildRequire python-setuptools-git: + + Better than sed in setup.py, all others have it too + +------------------------------------------------------------------- +Tue Dec 4 13:59:52 UTC 2012 - saschpe@suse.de + +- Fix test requires + +------------------------------------------------------------------- +Thu Nov 15 12:38:56 UTC 2012 - saschpe@suse.de + +- Use openstack-macros + +------------------------------------------------------------------- +Fri Nov 9 14:27:22 UTC 2012 - saschpe@suse.de + +- Downgrade version to new upstream scheme: 0.5.1 (bnc#787387) + +------------------------------------------------------------------- +Thu Nov 8 10:49:49 UTC 2012 - saschpe@suse.de @@ -4,0 +65,17 @@ + +------------------------------------------------------------------- +Wed Oct 31 13:57:27 UTC 2012 - saschpe@suse.de + +- Re-add missing openstack-glance.sh + +------------------------------------------------------------------- +Fri Oct 12 13:49:57 UTC 2012 - vuntz@suse.com + +- Update to version 2012.2 (Folsom), which is really 0.5.1: + + See https://github.com/openstack/python-glanceclient/commits/0.5.1 +- Install bash completion for 'glance' binary +- Dropped patches merged upstream: + + honor-insecure-flag-keystone.patch + + add-handler-for-logger.patch +- Buildrequire python-base instead of python-devel: + + Sufficient for Python-only modules (containing no C/C++ code) Old: ---- add-handler-for-logger.patch glanceclient-setup-no-requires.patch honor-insecure-flag-keystone.patch python-glanceclient-2012.1+git.1342772303.71a0cae.tar.gz New: ---- openstack-glance.sh python-glanceclient-master.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-glanceclient.spec ++++++ --- /var/tmp/diff_new_pack.p4C0ox/_old 2013-01-17 09:58:57.000000000 +0100 +++ /var/tmp/diff_new_pack.p4C0ox/_new 2013-01-17 09:58:57.000000000 +0100 @@ -16,22 +16,19 @@ # +%define component glanceclient + Name: python-glanceclient -Version: 2012.1+git.1342772303.71a0cae +Version: 0.6.0.14.gc057fe4+git.1355912586.c057fe4 Release: 0 License: Apache-2.0 -Summary: Openstack Image (Glance) API Client Library -Url: https://github.com/openstack/python-glanceclient +Summary: Openstack Image (Glance) API Client +Url: http://launchpad.net/python-glanceclient Group: Development/Languages/Python -Source: %{name}-%{version}.tar.gz -# Patch-FIX-UPSTREAM: '--insecure' flag should be checked when talking to keystone -Patch0: honor-insecure-flag-keystone.patch -# Don't specify requires in setup.py -# https://bugs.launchpad.net/python-glanceclient/+bug/1032155 -Patch1: glanceclient-setup-no-requires.patch -# PATCH-FIX-UPSTREAM add-handler-for-logger.patch bnc#780048 vuntz@suse.com -- Remove cryptic "No handlers could be found for logger" error message -Patch2: add-handler-for-logger.patch -BuildRequires: python-devel +Source: python-glanceclient-master.tar.gz +Source2: openstack-glance.sh +BuildRequires: openstack-macros +BuildRequires: python-base BuildRequires: python-distribute Requires: python >= 2.6.8 # /usr/bin/glance uses pkg_resources, thus: @@ -49,50 +46,57 @@ %description This is a client for the Glance which uses the OpenStack Image API. There's -a Python API (the glanceclient module), and a command-line script (glance). +a Python API (the glanceclient module), and a command-line tool (glance). %package test - -Summary: Openstack Image (Glance) API Client Library - Testsuite +Summary: Openstack Image (Glance) API Client - Testsuite Group: System/Management Requires: %{name} = %{version} Requires: python-mock Requires: python-mox Requires: python-nose +Requires: python-nose-exclude +Requires: python-nosehtmloutput +Requires: python-nosexcover +Requires: python-openstack.nose_plugin +Requires: python-tox Requires: python-unittest2 %description test -The %{name} testsuite. +This package contains testsuite files for %{name}. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -sed -i "s/setuptools-git>=0.4//" setup.py # We don't need that +%setup -q -n python-glanceclient-0.6.0.14.gc057fe4 +%openstack_cleanup_prep +# Our package versioning scheme is different (but we provide the correct thing) thus: +sed -i "s|python-keystoneclient>=0.1.2,<1|python-keystoneclient|" tools/pip-requires %build python setup.py build -cd docs && sphinx-build -b html . build/html +# Just a small index.rst so far, so no need to build the doc +#python setup.py build_sphinx +#python setup.py build_sphinx -b man %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} --install-data=%{python_sitelib} + +### bash-completion +install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/bash_completion.d/openstack-glance.sh -# test package -install -d -m 755 %{buildroot}%{_localstatedir}/lib/%{name}-test -cp -av tests run_tests.sh %{buildroot}%{_localstatedir}/lib/%{name}-test -ln -s %{python_sitelib}/glanceclient %{buildroot}%{_localstatedir}/lib/%{name}-test/glanceclient +### test subpackage +%openstack_test_package_install %files %defattr(-,root,root,-) %doc LICENSE README.rst +%doc doc/source/index.rst +%{_sysconfdir}/bash_completion.d/openstack-glance.sh %{_bindir}/glance -%{python_sitelib}/glanceclient/ -%{python_sitelib}/python_glanceclient-*.egg-info +%{python_sitelib}/%{component}/ +%{python_sitelib}/python_%{component}-*.egg-info %files test %defattr(-,root,root,-) -%doc HACKING.rst -%{_localstatedir}/lib/%{name}-test +%{_localstatedir}/lib/%{name}-test/ %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.p4C0ox/_old 2013-01-17 09:58:57.000000000 +0100 +++ /var/tmp/diff_new_pack.p4C0ox/_new 2013-01-17 09:58:57.000000000 +0100 @@ -1,22 +1,6 @@ <services> - <service name="tar_scm" mode="disabled"> - <param name="url">git://github.com/openstack/python-glanceclient.git</param> - <param name="scm">git</param> - <param name="exclude">.git</param> - <param name="exclude">.gitreview</param> - <param name="version">git-master</param> - <param name="versionformat">2012.1+git.%ct.%h</param> - - <!-- Use this if you want a specific revision. --> - <param name="revision">71a0caece87727e07bc34ae265dda58ca3e1e6d2</param> - </service> - - <service name="recompress" mode="disabled"> - <param name="file">python-*git*.tar</param> - <param name="compression">gz</param> - </service> - - <service name="set_version" mode="disabled"> - <param name="basename">python-glanceclient</param> + <service name="git_tarballs" mode="disabled"> + <param name="url">http://tarballs.openstack.org/python-glanceclient/python-glanceclient-master.tar.gz</param> + <param name="email">cloud-devel@suse.de</param> </service> </services> ++++++ openstack-glance.sh ++++++ # bash completion for openstack glance # by Dominik Heidler <dheidler suse.de> _glance_opts="" # lazy init _glance_opts_exp="" # lazy init _glance() { local cur prev COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" if [ "x$_glance_opts" == "x" ] ; then _glance_opts="`glance bash-completion 2>/dev/null | sed -e '/^\s\s\s\s\w/!d' -e "s/\s*\([a-z0-9_-]*\)\s.*/\1/"`" _glance_opts_exp="`echo $_glance_opts | sed -e "s/\s/|/g"`" fi if [[ ! " ${COMP_WORDS[@]} " =~ " "($_glance_opts_exp)" " || "$prev" == "help" ]] ; then COMPREPLY=($(compgen -W "${_glance_opts}" -- ${cur})) fi return 0 } complete -F _glance glance ++++++ rpmlintrc ++++++ --- /var/tmp/diff_new_pack.p4C0ox/_old 2013-01-17 09:58:57.000000000 +0100 +++ /var/tmp/diff_new_pack.p4C0ox/_new 2013-01-17 09:58:57.000000000 +0100 @@ -1,2 +1,4 @@ +# Bash completion files reside in /etc but are not meant to be configurable: +addFilter("non-conffile-in-etc /etc/bash_completion.d/openstack-glance.sh") # This symling is for the -test package and can be ignored: addFilter("dangling-symlink /var/lib/python-glanceclient-test/glanceclient") -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org