commit euca2ools for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package euca2ools for openSUSE:Factory checked in at 2012-01-09 15:16:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/euca2ools (Old) and /work/SRC/openSUSE:Factory/.euca2ools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "euca2ools", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.euca2ools.new/euca2ools.changes 2012-01-09 15:16:21.000000000 +0100 @@ -0,0 +1,52 @@ +------------------------------------------------------------------- +Thu Jan 5 21:23:11 UTC 2012 - rschweikert@suse.com + +- force rebuild of pyc files to avoid rpmlint error about + $BUILDROOT traces in byte code + +------------------------------------------------------------------- +Thu Jan 5 18:01:43 UTC 2012 - rschweikert@suse.com + +- add lint filter for naming policy +- include the pyc file in the package + +------------------------------------------------------------------- +Fri Dec 9 17:14:16 UTC 2011 - rschweikert@suse.com + +- fix license identifier string + +------------------------------------------------------------------- +Thu Dec 9 22:52:09 UTC 2010 - rschweikert@novell.com + +- patch for using boto 2.0 + +------------------------------------------------------------------- +Tue Nov 16 19:59:59 UTC 2010 - rschweikert@novell.com + +- Add requirements for python-boto and python-m2crypto + +------------------------------------------------------------------- +Tue Nov 9 18:08:33 UTC 2010 - alexandre@exatati.com.br + +- Fixed boto s3 connection import. + +------------------------------------------------------------------- +Tue Nov 2 15:42:49 UTC 2010 - alexandre@exatati.com.br + +- Redefined python macros to build on SLE. + +------------------------------------------------------------------- +Mon Nov 1 21:06:56 UTC 2010 - alexandre@exatati.com.br + +- Building as noarch for openSUSE >= 11.2. + +------------------------------------------------------------------- +Mon Nov 1 20:52:09 UTC 2010 - alexandre@exatati.com.br + +- Minor updates on spec file. + +------------------------------------------------------------------- +Wed Oct 27 22:02:04 UTC 2010 - rschweikert@novell.com + +- Initial build version 1.3.1 + New: ---- boto_s3_connection.patch euca2ools-1.3.1.tar.bz2 euca2ools-1.3.1_mkFile-fixes.patch euca2ools-1.3.1_noHashBang.patch euca2ools.changes euca2ools.spec euca2ools_init_connect.patch rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ euca2ools.spec ++++++ # # spec file for package euca2ools # # Copyright (c) 2012 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # 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/ # Name: euca2ools Version: 1.3.1 Release: 0 Summary: Elastic Utility Computing Architecture Command Line Tools License: BSD-2-Clause Group: Productivity/Networking/System Url: http://open.eucalyptus.com/downloads Source0: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM euca2ools-1.3.1_mkFile-fixes.patch Patch0: euca2ools-1.3.1_mkFile-fixes.patch # PATCH-FIX-UPSTREAM euca2ools-1.3.1_noHashBang.patch Patch1: euca2ools-1.3.1_noHashBang.patch # PATCH-FIX-UPSTREAM boto_s3_connection.patch Patch2: boto_s3_connection.patch # PATCH-FIX-UPSTREAM euca2ools_init_connect.patch Patch3: euca2ools_init_connect.patch BuildRequires: help2man BuildRequires: make BuildRequires: python-boto >= 2.0 BuildRequires: python-devel BuildRequires: python-m2crypto BuildRequires: python-xml Requires: python-base >= 2.6 Requires: python-boto >= 2.0 Requires: python-m2crypto BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %else %{!?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(True)")} %endif %description Euca2ools are command-line tools for interacting with Web services that export a REST/Query-based API compatible with Amazon EC2 and S3 services. The tools can be used with both Amazon's services and with installations of the Eucalyptus open-source cloud-computing infrastructure. %prep %setup -q %patch0 %patch1 %patch2 %patch3 %build %{__make} build %install %makeinstall PREFIX=%{_prefix} MANPREFIX=%{_prefix}/share find "%{buildroot}%{python_sitelib}/" -name '*.pyc' \ -exec %__rm {} \; %__python -c 'import compileall; compileall.compile_dir("%{buildroot}%{python_sitelib}/", ddir="%{python_sitelib}/", force=1)' %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING README %doc %{_mandir}/man1/* %{_bindir}/euca* %{python_sitelib}/euca2ools* %changelog ++++++ boto_s3_connection.patch ++++++ Index: bin/euca-delete-bundle =================================================================== --- bin/euca-delete-bundle.orig +++ bin/euca-delete-bundle @@ -40,7 +40,7 @@ from xml.dom import minidom from euca2ools import Euca2ool, FileValidationError, Util, \ ConnectionFailed from boto.exception import S3ResponseError -from boto.s3 import Connection +from boto.s3 import connection from boto.s3.key import Key usage_string = \ Index: bin/euca-download-bundle =================================================================== --- bin/euca-download-bundle.orig +++ bin/euca-download-bundle @@ -40,7 +40,7 @@ from xml.dom import minidom from euca2ools import Euca2ool, FileValidationError, Util, \ ConnectionFailed from boto.exception import S3ResponseError -from boto.s3 import Connection +from boto.s3 import connection from boto.s3.key import Key usage_string = \ Index: bin/euca-upload-bundle =================================================================== --- bin/euca-upload-bundle.orig +++ bin/euca-upload-bundle @@ -40,7 +40,7 @@ from xml.dom import minidom from euca2ools import Euca2ool, FileValidationError, Util, \ ConnectionFailed from boto.exception import S3ResponseError, S3CreateError -from boto.s3 import Connection +from boto.s3 import connection from boto.s3.key import Key usage_string = \ ++++++ euca2ools-1.3.1_mkFile-fixes.patch ++++++ --- Makefile.orig +++ Makefile @@ -31,14 +31,15 @@ # # Author: Neil Soman neil@eucalyptus.com -SUBDIRS = euca2ools -BINDIR = bin -BINLIST = $(wildcard $(BINDIR)/*) -MANDIR = man -MANPAGES = $(shell echo $(BINLIST) | sed -e 's%$(BINDIR)/%$(MANDIR)/%g' -e 's/ */.1 /g').1 -PREFIX = /usr/local -BASH_COMPLETION = /etc/bash_completion.d -UTILDIR = util +SUBDIRS=euca2ools +BINDIR=bin +BINLIST=$(wildcard $(BINDIR)/*) +MANDIR=man +MANPAGES=$(shell echo $(BINLIST) | sed -e 's%$(BINDIR)/%$(MANDIR)/%g' -e 's/ */.1 /g').1 +PREFIX=/usr/local +BASH_COMPLETION=/etc/bash_completion.d +UTILDIR=util +MANPREFIX=$(PREFIX) .PHONY: man all build install clean distclean @@ -54,12 +55,12 @@ man: $(BINLIST) install: build @for subdir in $(SUBDIRS); do \ - (cd $$subdir && $(MAKE) $@) || exit $$? ; done - @install -o root -m 755 -d $(PREFIX)/bin - @install -o root -m 755 bin/* $(PREFIX)/bin/ - @install -o root -m 755 -d $(PREFIX)/man/man1 - @if [ -d $(MANDIR) ]; then install -o root -m 644 $(MANDIR)/* $(PREFIX)/man/man1; fi - @if [ -d $(BASH_COMPLETION) ]; then install -o root -m 644 $(UTILDIR)/* $(BASH_COMPLETION); fi + (cd $$subdir && $(MAKE) DESTDIR=$(DESTDIR) PREFIX=$(PREFIX) $@) || exit $$? ; done + @install -m 755 -d $(DESTDIR)$(PREFIX)/bin + @install -m 755 bin/* $(DESTDIR)$(PREFIX)/bin/ + @install -m 755 -d $(DESTDIR)$(MANPREFIX)/man/man1 + @install -m 644 $(MANDIR)/* $(DESTDIR)$(MANPREFIX)/man/man1 + @if [ -d $(DESTDIR)$(BASH_COMPLETION) ]; then install $(UTILDIR)/* $(DESTDIR)$(BASH_COMPLETION); fi distclean clean: @for subdir in $(SUBDIRS); do \ @@ -67,6 +68,6 @@ distclean clean: uninstall: @for x in $(BINLIST); do \ - rm -f $(PREFIX)/bin/$$x ; \ - rm -f $(PREFIX)/man/man1/`basename $$x`.1; done - @if [ -d $(BASH_COMPLETION) ]; then rm $(BASH_COMPLETION)/euca2ools; fi + rm -f $(DESTDIR)$(PREFIX)/bin/$$x ; \ + rm -f $(DESTDIR)$(PREFIX)/man/man1/`basename $$x`.1; done + @if [ -d $(DESTDIR)$(BASH_COMPLETION) ]; then rm $(DESTDIR)$(BASH_COMPLETION)/euca2ools; fi --- euca2ools/Makefile.orig +++ euca2ools/Makefile @@ -37,7 +37,7 @@ build: python setup.py build install: - python setup.py install + python setup.py install --prefix=$(DESTDIR)$(PREFIX) clean: python setup.py clean ++++++ euca2ools-1.3.1_noHashBang.patch ++++++ --- euca2ools/euca2ools/__init__.py.orig +++ euca2ools/euca2ools/__init__.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # ++++++ euca2ools_init_connect.patch ++++++ --- euca2ools/euca2ools/__init__.py.orig +++ euca2ools/euca2ools/__init__.py @@ -618,7 +618,7 @@ class Euca2ool: path=self.service_path, ) else: - return boto.s3.Connection( + return boto.s3.connection.S3Connection( aws_access_key_id=self.ec2_user_access_key, aws_secret_access_key=self.ec2_user_secret_key, is_secure=self.is_secure, ++++++ rpmlintrc ++++++ addFilter("python-naming-policy-not-applied") -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de