<86>Jun 24 03:36:02 userdel[1071061]: delete user 'rooter' <86>Jun 24 03:36:02 userdel[1071061]: removed group 'rooter' owned by 'rooter' <86>Jun 24 03:36:02 userdel[1071061]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 24 03:36:02 groupadd[1071068]: group added to /etc/group: name=rooter, GID=642 <86>Jun 24 03:36:02 groupadd[1071068]: group added to /etc/gshadow: name=rooter <86>Jun 24 03:36:02 groupadd[1071068]: new group: name=rooter, GID=642 <86>Jun 24 03:36:02 useradd[1071074]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Jun 24 03:36:02 userdel[1071081]: delete user 'builder' <86>Jun 24 03:36:02 userdel[1071081]: removed group 'builder' owned by 'builder' <86>Jun 24 03:36:02 userdel[1071081]: removed shadow group 'builder' owned by 'builder' <86>Jun 24 03:36:02 groupadd[1071089]: group added to /etc/group: name=builder, GID=643 <86>Jun 24 03:36:02 groupadd[1071089]: group added to /etc/gshadow: name=builder <86>Jun 24 03:36:02 groupadd[1071089]: new group: name=builder, GID=643 <86>Jun 24 03:36:02 useradd[1071097]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash <13>Jun 24 03:36:03 rpmi: libgdbm-1.8.3-alt10 sisyphus+275301.100.2.1 1624464967 installed <13>Jun 24 03:36:03 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824514 installed <13>Jun 24 03:36:03 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 24 03:36:03 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Jun 24 03:36:03 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 24 03:36:03 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 24 03:36:03 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jun 24 03:36:03 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 24 03:36:03 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jun 24 03:36:03 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>Jun 24 03:36:04 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684123 installed <13>Jun 24 03:36:04 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>Jun 24 03:36:04 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>Jun 24 03:36:04 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748574 installed <13>Jun 24 03:36:04 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 24 03:36:04 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 24 03:36:06 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:06 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:06 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:06 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:06 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:06 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:06 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:07 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:07 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:07 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:07 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657735 installed <13>Jun 24 03:36:07 rpmi: python3-module-mechanize-0.4.5-alt1 sisyphus+261269.100.1.1 1604838373 installed Building target platforms: x86_64 Building for target x86_64 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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.41941 + 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/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/libgmail-0.1.11.tar.gz + 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.40403 + 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.40403 + 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/tmpv7d6_v1s.py' /usr/bin/python3 /usr/src/tmp/tmpv7d6_v1s.py removing /usr/src/tmp/tmpv7d6_v1s.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.ROXLHK 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.YtB6xJ 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) 4.57user 0.42system 0:06.90elapsed 72%CPU (0avgtext+0avgdata 35908maxresident)k 0inputs+0outputs (0major+164583minor)pagefaults 0swaps 10.33user 3.23system 0:15.91elapsed 85%CPU (0avgtext+0avgdata 108704maxresident)k 30472inputs+0outputs (0major+552648minor)pagefaults 0swaps --- python3-module-libgmail-0.1.11-alt2.noarch.rpm.repo 2020-01-09 12:58:14.000000000 +0000 +++ python3-module-libgmail-0.1.11-alt2.noarch.rpm.hasher 2021-06-24 03:36:16.006399724 +0000 @@ -1,14 +1,14 @@ /usr/lib/python3/site-packages/__pycache__ 40755 -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/gmail_transport.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/lgconstants.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/libgmail.cpython-39.pyc 100644 /usr/lib/python3/site-packages/gmail_transport.py 100644 /usr/lib/python3/site-packages/lgconstants.py 100644 -/usr/lib/python3/site-packages/libgmail-0.1.11-py3.7.egg-info 100644 +/usr/lib/python3/site-packages/libgmail-0.1.11-py3.9.egg-info 100644 /usr/lib/python3/site-packages/libgmail.py 100644