<86>Sep 14 10:04:59 userdel[2572309]: delete user 'rooter' <86>Sep 14 10:04:59 userdel[2572309]: removed group 'rooter' owned by 'rooter' <86>Sep 14 10:04:59 groupadd[2572314]: group added to /etc/group: name=rooter, GID=633 <86>Sep 14 10:04:59 groupadd[2572314]: group added to /etc/gshadow: name=rooter <86>Sep 14 10:04:59 groupadd[2572314]: new group: name=rooter, GID=633 <86>Sep 14 10:04:59 useradd[2572318]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Sep 14 10:04:59 userdel[2572327]: delete user 'builder' <86>Sep 14 10:04:59 userdel[2572327]: removed group 'builder' owned by 'builder' <86>Sep 14 10:04:59 userdel[2572327]: removed shadow group 'builder' owned by 'builder' <86>Sep 14 10:04:59 groupadd[2572332]: group added to /etc/group: name=builder, GID=634 <86>Sep 14 10:04:59 groupadd[2572332]: group added to /etc/gshadow: name=builder <86>Sep 14 10:04:59 groupadd[2572332]: new group: name=builder, GID=634 <86>Sep 14 10:04:59 useradd[2572336]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Sep 14 10:05:00 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Sep 14 10:05:00 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Sep 14 10:05:00 rpmi: libp11-kit-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 10:05:00 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Sep 14 10:05:00 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 10:05:00 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Sep 14 10:05:00 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Sep 14 10:05:00 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 14 10:05:01 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+278382.100.1.2 1626190687 installed <13>Sep 14 10:05:01 rpmi: libcrypto1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 10:05:01 rpmi: libssl1.1-1.1.1l-alt1 sisyphus+283685.100.1.1 1629816097 installed <13>Sep 14 10:05:01 rpmi: python3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 10:05:01 rpmi: python3-base-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 10:05:02 rpmi: libpython3-3.9.6-alt2 sisyphus+283178.100.2.1 1629243244 installed <13>Sep 14 10:05:02 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Sep 14 10:05:02 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Sep 14 10:05:03 rpmi: libpython-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python2-base-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-encodings-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-compiler-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-email-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-unittest-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-ctypes-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-multiprocessing-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-modules-logging-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python-tools-2to3-2.7.18-alt7 sisyphus+284067.100.1.1 1630124815 installed <13>Sep 14 10:05:04 rpmi: python3-module-mechanize-0.4.5-alt1 sisyphus+261269.100.1.1 1604838373 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-libgmail-0.1.11-alt2.nosrc.rpm (w1.gzdio) Installing python3-module-libgmail-0.1.11-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.70271 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libgmail-0.1.11 + echo 'Source #0 (libgmail-0.1.11.tar.gz):' Source #0 (libgmail-0.1.11.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/libgmail-0.1.11.tar.gz + /bin/tar -xf - + cd libgmail-0.1.11 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (fix-import.patch):' Patch #0 (fix-import.patch): + /usr/bin/patch -p2 patching file libgmail.py + find -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./libgmail.py --- ./libgmail.py (original) +++ ./libgmail.py (refactored) @@ -29,12 +29,12 @@ import os,pprint import re -import urllib -import urllib2 +import urllib.request, urllib.parse, urllib.error +import urllib.request, urllib.error, urllib.parse import mimetypes import types import mechanize as ClientCookie -from cPickle import load, dump +from pickle import load, dump from email.mime.base import MIMEBase from email.mime.text import MIMEText @@ -93,10 +93,10 @@ result = [] try: - exec data in {'__builtins__': None}, {'D': lambda x: result.append(x)} - except SyntaxError,info: - print info - raise GmailError, 'Failed to parse data returned from gmail.' + exec(data, {'__builtins__': None}, {'D': lambda x: result.append(x)}) + except SyntaxError as info: + print(info) + raise GmailError('Failed to parse data returned from gmail.') items = result itemsDict = {} @@ -107,19 +107,19 @@ parsedValue = item[1:] except Exception: parsedValue = [''] - if itemsDict.has_key(name): + if name in itemsDict: # This handles the case where a name key is used more than # once (e.g. mail items, mail body etc) and automatically # places the values into list. # TODO: Check this actually works properly, it's early... :-) - if len(parsedValue) and type(parsedValue[0]) is types.ListType: + if len(parsedValue) and type(parsedValue[0]) is list: for item in parsedValue: itemsDict[name].append(item) else: itemsDict[name].append(parsedValue) else: - if len(parsedValue) and type(parsedValue[0]) is types.ListType: + if len(parsedValue) and type(parsedValue[0]) is list: itemsDict[name] = [] for item in parsedValue: itemsDict[name].append(item) @@ -162,7 +162,7 @@ def _buildURL(**kwargs): """ """ - return "%s%s" % (URL_GMAIL, urllib.urlencode(kwargs)) + return "%s%s" % (URL_GMAIL, urllib.parse.urlencode(kwargs)) @@ -171,7 +171,7 @@ """ mimeMsg = MIMEMultipart("form-data") - for name, value in params.iteritems(): + for name, value in params.items(): mimeItem = MIMEText(value) mimeItem.add_header("Content-Disposition", "form-data", name=name) @@ -286,14 +286,14 @@ """ # TODO: Throw exception if we were instantiated with state? if self.domain: - data = urllib.urlencode({'continue': URL_GMAIL, + data = urllib.parse.urlencode({'continue': URL_GMAIL, 'at' : 'null', 'service' : 'mail', 'Email': self.name, 'Passwd': self._pw, }) else: - data = urllib.urlencode({'continue': URL_GMAIL, + data = urllib.parse.urlencode({'continue': URL_GMAIL, 'Email': self.name, 'Passwd': self._pw, }) @@ -313,7 +313,7 @@ # TODO: Catch more failure exceptions here...? try: link = re.search(RE_PAGE_REDIRECT, pageData).group(1) - redirectURL = urllib2.unquote(link) + redirectURL = urllib.parse.unquote(link) redirectURL = redirectURL.replace('\\x26', '&') except AttributeError: @@ -336,7 +336,7 @@ raise "Cannot find urlopener" # ClientCookieify it, if it hasn't been already - if not isinstance(urlOrRequest, urllib2.Request): + if not isinstance(urlOrRequest, urllib.request.Request): req = ClientCookie.Request(urlOrRequest) else: req = urlOrRequest @@ -346,8 +346,8 @@ try: resp = self.opener.open(req) - except urllib2.HTTPError,info: - print info + except urllib.error.HTTPError as info: + print(info) return None pageData = resp.read() @@ -412,7 +412,7 @@ break else: for th in threads: - if not type(th[0]) is types.ListType: + if not type(th[0]) is list: th = [th] threadsInfo.append(th) # TODO: Check if the total or per-page values have changed? @@ -596,7 +596,7 @@ contentTypeHeader, data = msgStr.split("\n\n", 1) contentTypeHeader = contentTypeHeader.split(":", 1) data = data.replace("\n", "\r\n") - for k,v in origPayloads.iteritems(): + for k,v in origPayloads.items(): data = data.replace(FMT_MARKER % k, v) #### @@ -614,7 +614,7 @@ result = GmailMessageStub(id = resultInfo[SM_NEWTHREADID], _account = self) else: - raise GmailSendError, resultInfo[SM_MSG] + raise GmailSendError(resultInfo[SM_MSG]) return result @@ -684,7 +684,7 @@ #data.update(extraData) req = ClientCookie.Request(_buildURL(**params), - data = urllib.urlencode(data)) + data = urllib.parse.urlencode(data)) return req @@ -697,7 +697,7 @@ # Note: Label name cache is updated by this call as well. (Handy!) items = self._parsePage(req) - print items + print(items) return (items[D_ACTION_RESULT][0][AR_SUCCESS] == 1) @@ -832,7 +832,7 @@ moreInfo = myContact.getMoreInfo() ctsn_num = -1 if moreInfo != {}: - for ctsf,ctsf_data in moreInfo.items(): + for ctsf,ctsf_data in list(moreInfo.items()): ctsn_num += 1 # data section header, WORK, HOME,... sectionenum ='ctsn_%02d' % ctsn_num @@ -852,13 +852,13 @@ subsectionenum = 'ctsf_%02d_%02d_%s' % (ctsn_num, ctsf_num, info[0]) # ie. ctsf_00_01_p myDataList.append( (subsectionenum, info[1]) ) - myData = urllib.urlencode(myDataList) + myData = urllib.parse.urlencode(myDataList) request = ClientCookie.Request(myURL, data = myData) pageData = self._retrievePage(request) if pageData.find("The contact was successfully added") == -1: - print pageData + print(pageData) if pageData.find("already has the email address") > 0: raise Exception("Someone with same email already exists in Gmail.") elif pageData.find("https://www.google.com/accounts/ServiceLogin"): @@ -911,10 +911,10 @@ # TODO: Perhaps signal this in some nice way # to the end user? - print "Unable to delete." - print "Has someone else been modifying the contacts list while we have?" - print "Old version of person:",gmailContact - print "New version of person:",newVersionOfPersonToDelete + print("Unable to delete.") + print("Has someone else been modifying the contacts list while we have?") + print("Old version of person:",gmailContact) + print("New version of person:",newVersionOfPersonToDelete) return False ## Don't remove this. contact stas @@ -1189,7 +1189,7 @@ """ #print "\nthreadsInfo\n",threadsInfo try: - if not type(threadsInfo[0]) is types.ListType: + if not type(threadsInfo[0]) is list: threadsInfo = [threadsInfo] except IndexError: # print "No messages found" @@ -1325,7 +1325,7 @@ # (Without another page request.) self._length = int(re.search("\((\d+?)\)\Z", self._authors).group(1)) - except AttributeError,info: + except AttributeError as info: # If there's no message count then the thread only has one message. self._length = 1 @@ -1400,7 +1400,7 @@ continue else: # TODO: Handle special case of only 1 message in thread better? - if type(msgsInfo[0]) != types.ListType: + if type(msgsInfo[0]) != list: msgsInfo = [msgsInfo] for msg in msgsInfo: result += [GmailMessage(thread, msg, isDraft = isDraft)] @@ -1565,41 +1565,41 @@ try: name = sys.argv[1] except IndexError: - name = raw_input("Gmail account name: ") + name = input("Gmail account name: ") pw = getpass("Password: ") - domain = raw_input("Domain? [leave blank for Gmail]: ") + domain = input("Domain? [leave blank for Gmail]: ") ga = GmailAccount(name, pw, domain=domain) - print "\nPlease wait, logging in..." + print("\nPlease wait, logging in...") try: ga.login() - except GmailLoginFailure,e: - print "\nLogin failed. (%s)" % e.message + except GmailLoginFailure as e: + print("\nLogin failed. (%s)" % e.message) else: - print "Login successful.\n" + print("Login successful.\n") # TODO: Use properties instead? quotaInfo = ga.getQuotaInfo() quotaMbUsed = quotaInfo[QU_SPACEUSED] quotaMbTotal = quotaInfo[QU_QUOTA] quotaPercent = quotaInfo[QU_PERCENT] - print "%s of %s used. (%s)\n" % (quotaMbUsed, quotaMbTotal, quotaPercent) + print("%s of %s used. (%s)\n" % (quotaMbUsed, quotaMbTotal, quotaPercent)) searches = STANDARD_FOLDERS + ga.getLabelNames() name = None while 1: try: - print "Select folder or label to list: (Ctrl-C to exit)" + print("Select folder or label to list: (Ctrl-C to exit)") for optionId, optionName in enumerate(searches): - print " %d. %s" % (optionId, optionName) + print(" %d. %s" % (optionId, optionName)) while not name: try: - name = searches[int(raw_input("Choice: "))] - except ValueError,info: - print info + name = searches[int(input("Choice: "))] + except ValueError as info: + print(info) name = None if name in STANDARD_FOLDERS: result = ga.getMessagesByFolder(name, True) @@ -1607,24 +1607,24 @@ result = ga.getMessagesByLabel(name, True) if not len(result): - print "No threads found in `%s`." % name + print("No threads found in `%s`." % name) break name = None tot = len(result) i = 0 for thread in result: - print "%s messages in thread" % len(thread) - print thread.id, len(thread), thread.subject + print("%s messages in thread" % len(thread)) + print(thread.id, len(thread), thread.subject) for msg in thread: - print "\n ", msg.id, msg.number, msg.author,msg.subject + print("\n ", msg.id, msg.number, msg.author,msg.subject) # Just as an example of other usefull things #print " ", msg.cc, msg.bcc,msg.sender i += 1 - print - print "number of threads:",tot - print "number of messages:",i + print() + prRefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./lgconstants.py RefactoringTool: Refactored ./gmail_transport.py RefactoringTool: Files that were modified: RefactoringTool: ./libgmail.py RefactoringTool: ./setup.py RefactoringTool: ./lgconstants.py RefactoringTool: ./gmail_transport.py RefactoringTool: Warnings/messages while refactoring: RefactoringTool: ### In file ./libgmail.py ### RefactoringTool: Line 336: could not convert: raise "Cannot find urlopener" RefactoringTool: Python 3 does not support string exceptions int("number of threads:",tot) + print("number of messages:",i) except KeyboardInterrupt: break - print "\n\nDone." + print("\n\nDone.") --- ./gmail_transport.py (original) +++ ./gmail_transport.py (refactored) @@ -12,8 +12,8 @@ # tested with python 2.4 import mechanize as ClientCookie -import urllib -import httplib +import urllib.request, urllib.parse, urllib.error +import http.client import socket import base64 @@ -30,8 +30,8 @@ proxy_username = proxy_password = None - urltype, r_type = urllib.splittype(proxy) - proxy, XXX = urllib.splithost(r_type) + urltype, r_type = urllib.parse.splittype(proxy) + proxy, XXX = urllib.parse.splithost(r_type) if '@' in proxy: proxy_username, proxy = proxy.split('@', 1) if ':' in proxy_username: @@ -41,38 +41,38 @@ -class ProxyHTTPConnection(httplib.HTTPConnection): +class ProxyHTTPConnection(http.client.HTTPConnection): _ports = {'http' : 80, 'https' : 443} def request(self, method, url, body=None, headers={}): #request is called before connect, so can interpret url and get #real host/port to be used to make CONNECT request to proxy - proto, rest = urllib.splittype(url) + proto, rest = urllib.parse.splittype(url) if proto is None: - raise ValueError, "unknown URL type: %s" % url + raise ValueError("unknown URL type: %s" % url) - host, rest = urllib.splithost(rest) # get host - host, port = urllib.splitport(host) #try to get port + host, rest = urllib.parse.splithost(rest) # get host + host, port = urllib.parse.splitport(host) #try to get port #if port is not defined try to get from proto if port is None: try: port = self._ports[proto] except KeyError: - raise ValueError, "unknown protocol for: %s" % url + raise ValueError("unknown protocol for: %s" % url) self._real_host = host self._real_port = port - httplib.HTTPConnection.request(self, method, url, body, headers) + http.client.HTTPConnection.request(self, method, url, body, headers) def connect(self): - httplib.HTTPConnection.connect(self) + http.client.HTTPConnection.connect(self) self.send("CONNECT %s:%d HTTP/1.0\r\n" % (self._real_host, self._real_port)) if self.proxy_user is not None and self.proxy_passwd is not None: - cred = base64.encodestring("%s:%s" % (urllib.unquote(self.proxy_user), urllib.unquote(self.proxy_passwd))).strip() + cred = base64.encodestring("%s:%s" % (urllib.parse.unquote(self.proxy_user), urllib.parse.unquote(self.proxy_passwd))).strip() self.send("Proxy-authorization: Basic %s\r\n" % cred) self.send("User-Agent: Mozilla/5.0 (Compatible; libgmail-python)\r\n\r\n") @@ -82,7 +82,7 @@ if code != 200: #proxy returned and error, abort connection, and raise exception self.close() - raise socket.error, "Proxy connection failed: %d %s" % (code, message.strip()) + raise socket.error("Proxy connection failed: %d %s" % (code, message.strip())) #eat up header block from proxy.... while True: @@ -113,7 +113,7 @@ ProxyHTTPConnection.connect(self) #make the sock ssl-aware ssl = socket.ssl(self.sock, self.key_file, self.cert_file) - self.sock = httplib.FakeSocket(self.sock, ssl) + self.sock = http.client.FakeSocket(self.sock, ssl) class ConnectHTTPHandler(ClientCookie.HTTPHandler): + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.84201 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libgmail-0.1.11 + /usr/bin/python3 setup.py build running build running build_py creating build creating build/lib copying libgmail.py -> build/lib copying lgconstants.py -> build/lib copying gmail_transport.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51315 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-libgmail-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-libgmail-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd libgmail-0.1.11 + /usr/bin/python3 setup.py install --skip-build --root /usr/src/tmp/python3-module-libgmail-buildroot --optimize=2 running install running install_lib creating /usr/src/tmp/python3-module-libgmail-buildroot creating /usr/src/tmp/python3-module-libgmail-buildroot/usr creating /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib creating /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages copying build/lib/gmail_transport.py -> /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages copying build/lib/lgconstants.py -> /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages copying build/lib/libgmail.py -> /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py to gmail_transport.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py to lgconstants.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py to libgmail.cpython-39.pyc writing byte-compilation script '/usr/src/tmp/tmpmy6n9dci.py' /usr/bin/python3 /usr/src/tmp/tmpmy6n9dci.py removing /usr/src/tmp/tmpmy6n9dci.py running install_egg_info Writing /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail-0.1.11-py3.9.egg-info + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-libgmail-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-libgmail-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-libgmail-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-libgmail-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-libgmail-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-libgmail-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-libgmail-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-2.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-2.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-2.pyc unlink /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.pyc compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-libgmail-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-libgmail-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/lgconstants.py compile /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.pyc' './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.pyc' './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.pyc' Processing files: python3-module-libgmail-0.1.11-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SY7eLn find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Psbfzp find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py: line=262 IGNORE (for REQ=slight and deep=19) module=gmail_transport /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py: line=1562 IGNORE (for REQ=slight and deep=8) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py: line=1563 IGNORE (for REQ=slight and deep=8) module=getpass shebang.req.files: executable script /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/gmail_transport.py is not executable shebang.req.files: executable script /usr/src/tmp/python3-module-libgmail-buildroot/usr/lib/python3/site-packages/libgmail.py is not executable Provides: python3(gmail_transport), python3(lgconstants), python3(libgmail) Requires: python3-module-mechanize, /usr/lib/python3/site-packages, python3(base64) < 0, python3(email.mime.base) < 0, python3(email.mime.multipart) < 0, python3(email.mime.text) < 0, python3(http.client) < 0, python3(mechanize) < 0, python3(mimetypes) < 0, python3(os) < 0, python3(pickle) < 0, python3(pprint) < 0, python3(re) < 0, python3(socket) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-libgmail-0.1.11-alt2.noarch.rpm (w2.lzdio) 5.11user 0.40system 0:07.35elapsed 75%CPU (0avgtext+0avgdata 20464maxresident)k 0inputs+0outputs (0major+120147minor)pagefaults 0swaps 11.26user 3.46system 0:16.41elapsed 89%CPU (0avgtext+0avgdata 104108maxresident)k 6856inputs+0outputs (0major+479365minor)pagefaults 0swaps --- python3-module-libgmail-0.1.11-alt2.noarch.rpm.repo 2020-01-09 12:58:14.660271426 +0000 +++ python3-module-libgmail-0.1.11-alt2.noarch.rpm.hasher 2021-09-14 10:05:13.874878334 +0000 @@ -1,14 +1,14 @@ /usr/lib/python3/site-packages/__pycache__ 40755 root:root -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.pyc 100644 root:root /usr/lib/python3/site-packages/gmail_transport.py 100644 root:root /usr/lib/python3/site-packages/lgconstants.py 100644 root:root -/usr/lib/python3/site-packages/libgmail-0.1.11-py3.7.egg-info 100644 root:root +/usr/lib/python3/site-packages/libgmail-0.1.11-py3.9.egg-info 100644 root:root /usr/lib/python3/site-packages/libgmail.py 100644 root:root @@ -38,15 +38,15 @@ File: /usr/lib/python3/site-packages/__pycache__ 40755 root:root -File: /usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-1.pyc 100644 root:root 2dc23c2bcb9ab7e9e598448e8eeb6a2c -File: /usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-2.pyc 100644 root:root 2dc23c2bcb9ab7e9e598448e8eeb6a2c -File: /usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.pyc 100644 root:root 2dc23c2bcb9ab7e9e598448e8eeb6a2c -File: /usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-1.pyc 100644 root:root a6962588f91a0657d30e61aa8eb8d786 -File: /usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-2.pyc 100644 root:root a6962588f91a0657d30e61aa8eb8d786 -File: /usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.pyc 100644 root:root a6962588f91a0657d30e61aa8eb8d786 -File: /usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-1.pyc 100644 root:root 1262a2413790e03c99f6b5ff8385b357 -File: /usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-2.pyc 100644 root:root 0e1ffe51733e7ef5ee04cdb79cdbb8fe -File: /usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.pyc 100644 root:root 1262a2413790e03c99f6b5ff8385b357 +File: /usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-1.pyc 100644 root:root ba945ac29658d2f2c4d0471b274cdb58 +File: /usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-2.pyc 100644 root:root ba945ac29658d2f2c4d0471b274cdb58 +File: /usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.pyc 100644 root:root ba945ac29658d2f2c4d0471b274cdb58 +File: /usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-1.pyc 100644 root:root 8bbb55ec987243d1b864673c696abf88 +File: /usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-2.pyc 100644 root:root 8bbb55ec987243d1b864673c696abf88 +File: /usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.pyc 100644 root:root 8bbb55ec987243d1b864673c696abf88 +File: /usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-1.pyc 100644 root:root e5a985160a6d65cd586eef56419a68b3 +File: /usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-2.pyc 100644 root:root a1169e7983f9a02870eb67ae309e6742 +File: /usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.pyc 100644 root:root e5a985160a6d65cd586eef56419a68b3 File: /usr/lib/python3/site-packages/gmail_transport.py 100644 root:root a01a9f610f848b97bc3373d062d33290 File: /usr/lib/python3/site-packages/lgconstants.py 100644 root:root 2c8d8c553a448caf2a7ef729e9052e3e -File: /usr/lib/python3/site-packages/libgmail-0.1.11-py3.7.egg-info 100644 root:root cf51ddbabd00b182fec908c728eccce7 +File: /usr/lib/python3/site-packages/libgmail-0.1.11-py3.9.egg-info 100644 root:root cf51ddbabd00b182fec908c728eccce7 File: /usr/lib/python3/site-packages/libgmail.py 100644 root:root 2f688e32ab685b31b632d305babeab23 -RPMIdentity: 5cd98fdef934e77bf1e386b19a407e317397961d869777e2a9a4a45caab4f949a21425ff138d3b534cdc3bcd4cc61b60bed58fd4c72288aac508e19fab89cc87 +RPMIdentity: 49180e872a092e4177d32537ee9d17bdf95d0e39383b8cf4eb5d8c743a7f4b72712b8ff38c950cf34fd5006c66e2afb48a7ad21aab7a14b519803db1bfcb7d6f