Projects
Kolab:Winterfell
pykolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 13
View file
pykolab.spec
Changed
@@ -37,6 +37,8 @@ Source0: pykolab-0.8.1.tar.gz Source1: pykolab.logrotate +Patch0001: 0001-Use-the-correct-constants-import-and-__version__-val.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch @@ -229,6 +231,8 @@ %prep %setup -q +%patch0001 -p1 + %build autoreconf -v || automake --add-missing && autoreconf -v %configure
View file
0001-Use-the-correct-constants-import-and-__version__-val.patch
Added
@@ -0,0 +1,35 @@ +From f251c62827c1696dd2e0369800c82cc569c57011 Mon Sep 17 00:00:00 2001 +From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> +Date: Fri, 1 Jul 2016 16:31:50 +0200 +Subject: [PATCH] Use the correct constants import and __version__ value from + it + +--- + pykolab/imap/cyrus.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py +index 63b0615..2057a38 100644 +--- a/pykolab/imap/cyrus.py ++++ b/pykolab/imap/cyrus.py +@@ -25,7 +25,7 @@ from urlparse import urlparse + + import pykolab + +-from pykolab.constants import * ++from pykolab import constants + from pykolab.imap import IMAP + from pykolab.translate import _ + +@@ -278,7 +278,7 @@ class Cyrus(cyruslib.CYRUS): + + def _id(self, identity=None): + if identity is None: +- identity = '("name" "Python/Kolab" "version" "%s")' % (__version__) ++ identity = '("name" "Python/Kolab" "version" "%s")' % (constants.__version__) + + typ, dat = self.m._simple_command('ID', identity) + res, dat = self.m._untagged_response(typ, dat, 'ID') +-- +2.5.5 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.