<86>Apr 1 10:28:50 userdel[826195]: delete user 'rooter' <86>Apr 1 10:28:50 userdel[826195]: removed group 'rooter' owned by 'rooter' <86>Apr 1 10:28:50 userdel[826195]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 1 10:28:50 groupadd[826214]: group added to /etc/group: name=rooter, GID=597 <86>Apr 1 10:28:50 groupadd[826214]: group added to /etc/gshadow: name=rooter <86>Apr 1 10:28:50 groupadd[826214]: new group: name=rooter, GID=597 <86>Apr 1 10:28:50 useradd[826227]: new user: name=rooter, UID=597, GID=597, home=/root, shell=/bin/bash <86>Apr 1 10:28:50 userdel[826249]: delete user 'builder' <86>Apr 1 10:28:50 userdel[826249]: removed group 'builder' owned by 'builder' <86>Apr 1 10:28:50 userdel[826249]: removed shadow group 'builder' owned by 'builder' <86>Apr 1 10:28:50 groupadd[826262]: group added to /etc/group: name=builder, GID=598 <86>Apr 1 10:28:50 groupadd[826262]: group added to /etc/gshadow: name=builder <86>Apr 1 10:28:50 groupadd[826262]: new group: name=builder, GID=598 <86>Apr 1 10:28:50 useradd[826269]: new user: name=builder, UID=598, GID=598, home=/usr/src, shell=/bin/bash <13>Apr 1 10:28:54 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 1 10:28:54 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 1 10:28:54 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 10:28:54 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 1 10:28:54 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 10:28:54 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 10:28:54 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 1 10:28:54 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 1 10:28:54 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 10:28:54 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 10:28:54 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 10:28:54 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:28:55 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:28:55 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:28:55 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 1 10:28:55 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 1 10:29:00 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Apr 1 10:29:00 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Apr 1 10:29:00 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Apr 1 10:29:00 rpmi: python3-module-pycryptodome-3.9.4-alt1 sisyphus+245000.30400.79.1 1583250648 installed <13>Apr 1 10:29:00 rpmi: python3-module-oauthlib-0.7.2-alt1.1.2 sisyphus+227506.1000.1.3 1555870644 installed <13>Apr 1 10:29:00 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 1 10:29:00 rpmi: python3-module-idna-2.9-alt1 sisyphus+248055.100.1.1 1584555852 installed <13>Apr 1 10:29:00 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Apr 1 10:29:00 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed <13>Apr 1 10:29:00 rpmi: python3-module-cffi-1.14.0-alt1 sisyphus+244999.200.3.1 1585219427 installed <13>Apr 1 10:29:00 rpmi: python3-module-cryptography-2.8-alt2 sisyphus+245000.21750.79.1 1583234301 installed <13>Apr 1 10:29:00 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Apr 1 10:29:00 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 1 10:29:00 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Apr 1 10:29:00 rpmi: python3-module-requests-2.23.0-alt1 sisyphus+248062.500.2.1 1584568230 installed <13>Apr 1 10:29:00 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 1 10:29:00 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 1 10:29:00 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 1 10:29:00 groupadd[839105]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 1 10:29:00 groupadd[839105]: group added to /etc/gshadow: name=_keytab <86>Apr 1 10:29:00 groupadd[839105]: new group: name=_keytab, GID=499 <13>Apr 1 10:29:01 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Apr 1 10:29:01 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 1 10:29:01 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 1 10:29:01 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 10:29:01 rpmi: python3-module-requests-oauthlib-0.7.0-alt1 sisyphus+228370.1000.2.2 1556712035 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-linkedin-4.2-alt2.nosrc.rpm <13>Apr 1 10:29:07 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 1 10:29:07 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 1 10:29:07 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 10:29:07 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-linkedin-4.2-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.20144 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-linkedin-4.2 + echo 'Source #0 (python3-module-linkedin-4.2.tar):' Source #0 (python3-module-linkedin-4.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-linkedin-4.2.tar + cd python3-module-linkedin-4.2 + /bin/chmod -c -Rf u+rwX,go-w . + 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: No changes to ./setup.py RefactoringTool: Refactored ./linkedin/utils.py RefactoringTool: Refactored ./linkedin/server.py RefactoringTool: No changes to ./linkedin/models.py RefactoringTool: Refactored ./linkedin/linkedin.py RefactoringTool: No changes to ./linkedin/__init__.py RefactoringTool: Refactored ./examples/http_api.py --- ./linkedin/utils.py (original) +++ ./linkedin/utils.py (refactored) @@ -15,10 +15,10 @@ if sys.version_info < (3,): - import __builtin__ + import builtins def to_utf8(x): - return __builtin__.unicode(x) + return builtins.str(x) def to_string(x): return str(x) @@ -45,7 +45,7 @@ methods = {} base_classes = base_classes + (object,) - for k, v in methods.items(): + for k, v in list(methods.items()): methods[k] = classmethod(v) attrs['enums'] = attrs.copy() --- ./linkedin/server.py (original) +++ ./linkedin/server.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -import BaseHTTPServer -import urlparse +import http.server +import urllib.parse from .linkedin import LinkedInApplication, LinkedInAuthentication, PERMISSIONS @@ -19,22 +19,22 @@ object. """ auth = LinkedInAuthentication(api_key, secret_key, 'http://localhost:8000/', - PERMISSIONS.enums.values()) + list(PERMISSIONS.enums.values())) app = LinkedInApplication(authentication=auth) - print auth.authorization_url + print(auth.authorization_url) _wait_for_user_to_enter_browser(app, port) return app def _wait_for_user_to_enter_browser(app, port): - class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): + class MyHandler(http.server.BaseHTTPRequestHandler): def do_GET(self): p = self.path.split('?') if len(p) > 1: - params = urlparse.parse_qs(p[1], True, True) + params = urllib.parse.parse_qs(p[1], True, True) app.authentication.authorization_code = params['code'][0] app.authentication.get_access_token() server_address = ('', port) - httpd = BaseHTTPServer.HTTPServer(server_address, MyHandler) + httpd = http.server.HTTPServer(server_address, MyHandler) httpd.handle_request() --- ./linkedin/linkedin.py (original) +++ ./linkedin/linkedin.py (refactored) @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from __future__ import unicode_literals + import contextlib import hashlib import random @@ -7,7 +7,7 @@ try: from urllib.parse import quote, quote_plus except ImportError: - from urllib import quote, quote_plus + from urllib.parse import quote, quote_plus import requests from requests_oauthlib import OAuth1 @@ -98,7 +98,7 @@ 'redirect_uri': self.redirect_uri} # urlencode uses quote_plus when encoding the query string so, # we ought to be encoding the qs by on our own. - qsl = ['%s=%s' % (quote(k), quote(v)) for k, v in qd.items()] + qsl = ['%s=%s' % (quote(k), quote(v)) for k, v in list(qd.items())] return '%s?%s' % (self.AUTHORIZATION_URL, '&'.join(qsl)) @property @@ -129,7 +129,7 @@ def parse(cls, selector): with contextlib.closing(StringIO()) as result: if type(selector) == dict: - for k, v in selector.items(): + for k, v in list(selector.items()): result.write('%s:(%s)' % (to_utf8(k), cls.parse(v))) elif type(selector) in (list, tuple): result.write(','.join(map(cls.parse, selector))) @@ -342,7 +342,7 @@ identifiers = [] url = ENDPOINTS.COMPANIES if company_ids: - identifiers += map(str, company_ids) + identifiers += list(map(str, company_ids)) if universal_names: identifiers += ['universal-name=%s' % un for un in universal_names] --- ./examples/http_api.py (original) +++ ./examples/http_api.py (refactored) @@ -4,7 +4,7 @@ try: from urllib.parse import urlparse except ImportError: - from urlparse import urlparse + from urllib.parse import urlparse from socketserver import ThreadingTCPServer from http.server import SimpleHTTPRequestHandler @@ -24,14 +24,14 @@ API_KEY = environ.get('LINKEDIN_API_KEY') API_SECRET = environ.get('LINKEDIN_API_SECRET') RETURN_URL = 'httRefactoringTool: Refactored ./examples/authentication.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./linkedin/utils.py RefactoringTool: ./linkedin/server.py RefactoringTool: ./linkedin/models.py RefactoringTool: ./linkedin/linkedin.py RefactoringTool: ./linkedin/__init__.py RefactoringTool: ./examples/http_api.py RefactoringTool: ./examples/authentication.py p://localhost:{0}/code'.format(globals()['PORT']) - authentication = LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL, PERMISSIONS.enums.values()) + authentication = LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL, list(PERMISSIONS.enums.values())) application = LinkedInApplication(authentication) liw = LinkedInWrapper() run_already = False params_to_d = lambda params: { - l[0]: l[1] for l in map(lambda j: j.split('='), urlparse(params).query.split('&')) + l[0]: l[1] for l in [j.split('=') for j in urlparse(params).query.split('&')] } @@ -50,11 +50,11 @@ liw.authentication.authorization_code = params_to_d(self.path).get('code') self.wfile.write(dumps({'access_token': liw.authentication.get_access_token(), - 'routes': list(filter(lambda d: not d.startswith('_'), dir(liw.application)))}).encode('utf8')) + 'routes': list([d for d in dir(liw.application) if not d.startswith('_')])}).encode('utf8')) elif parsedurl.path == '/routes': self.json_headers() - self.wfile.write(dumps({'routes': list(filter(lambda d: not d.startswith('_'), dir(liw.application)))}).encode('utf8')) + self.wfile.write(dumps({'routes': list([d for d in dir(liw.application) if not d.startswith('_')])}).encode('utf8')) elif not authed: self.json_headers() @@ -73,5 +73,5 @@ if __name__ == '__main__': httpd = ThreadingTCPServer(('localhost', PORT), CustomHandler) - print('Server started on port:{}'.format(PORT)) + print(('Server started on port:{}'.format(PORT))) httpd.serve_forever() --- ./examples/authentication.py (original) +++ ./examples/authentication.py (refactored) @@ -7,6 +7,6 @@ API_SECRET = 'daJDa6_8UcnGMw1yuq9TjoO_PMKukXMo8vEMo7Qv5J-G3SPgrAV0FqFCd0TNjQyG' RETURN_URL = 'http://localhost:8000' authentication = LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL, - PERMISSIONS.enums.values()) - print authentication.authorization_url + list(PERMISSIONS.enums.values())) + print(authentication.authorization_url) application = LinkedInApplication(authentication) ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./setup.py ./linkedin/utils.py ./linkedin/server.py ./linkedin/models.py ./linkedin/linkedin.py ./linkedin/exceptions.py ./linkedin/__init__.py ./examples/http_api.py ./examples/authentication.py ./examples/__init__.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.61457 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-linkedin-4.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/linkedin copying linkedin/__init__.py -> build/lib/linkedin copying linkedin/exceptions.py -> build/lib/linkedin copying linkedin/linkedin.py -> build/lib/linkedin copying linkedin/models.py -> build/lib/linkedin copying linkedin/server.py -> build/lib/linkedin copying linkedin/utils.py -> build/lib/linkedin + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.93842 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-linkedin-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-linkedin-buildroot + cd python3-module-linkedin-4.2 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-linkedin-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-linkedin-buildroot creating /usr/src/tmp/python3-module-linkedin-buildroot/usr creating /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib creating /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin copying build/lib/linkedin/utils.py -> /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin copying build/lib/linkedin/server.py -> /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin copying build/lib/linkedin/models.py -> /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin copying build/lib/linkedin/linkedin.py -> /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin copying build/lib/linkedin/exceptions.py -> /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin copying build/lib/linkedin/__init__.py -> /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/utils.py to utils.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/server.py to server.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/models.py to models.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py to linkedin.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/exceptions.py to exceptions.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__init__.py to __init__.cpython-38.pyc running install_egg_info running egg_info creating python_linkedin.egg-info writing python_linkedin.egg-info/PKG-INFO writing dependency_links to python_linkedin.egg-info/dependency_links.txt writing requirements to python_linkedin.egg-info/requires.txt writing top-level names to python_linkedin.egg-info/top_level.txt writing manifest file 'python_linkedin.egg-info/SOURCES.txt' reading manifest file 'python_linkedin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_linkedin.egg-info/SOURCES.txt' Copying python_linkedin.egg-info to /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-linkedin-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-linkedin-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-linkedin-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-linkedin-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-linkedin-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-linkedin-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-linkedin-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-linkedin-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-linkedin-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-38.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-38.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-38.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-38.pyc compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__init__.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/exceptions.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/models.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/server.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/utils.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-linkedin-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__init__.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/exceptions.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/models.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/server.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/utils.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-linkedin-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__init__.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/exceptions.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/models.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/server.py compile /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/utils.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-38.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-38.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.93955 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-linkedin-4.2 + /usr/bin/python3 setup.py test running test running egg_info writing python_linkedin.egg-info/PKG-INFO writing dependency_links to python_linkedin.egg-info/dependency_links.txt deleting python_linkedin.egg-info/requires.txt writing top-level names to python_linkedin.egg-info/top_level.txt reading manifest file 'python_linkedin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_linkedin.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + exit 0 Processing files: python3-module-linkedin-4.2-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.92823 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-linkedin-4.2 + DOCDIR=/usr/src/tmp/python3-module-linkedin-buildroot/usr/share/doc/python3-module-linkedin-4.2 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-linkedin-buildroot/usr/share/doc/python3-module-linkedin-4.2 + /bin/mkdir -p /usr/src/tmp/python3-module-linkedin-buildroot/usr/share/doc/python3-module-linkedin-4.2 + cp -prL README.md README.rst examples/ /usr/src/tmp/python3-module-linkedin-buildroot/usr/share/doc/python3-module-linkedin-4.2 + chmod -R go-w /usr/src/tmp/python3-module-linkedin-buildroot/usr/share/doc/python3-module-linkedin-4.2 + chmod -R a+rX /usr/src/tmp/python3-module-linkedin-buildroot/usr/share/doc/python3-module-linkedin-4.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BnbTme 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.077nbd 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: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py: line=8 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py: line=10 IGNORE (for REQ=slight and deep=8) module=urllib.parse /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py: line=15 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py: line=16 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/server.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/utils.py: line=3 possible relative import from ., UNIMPLEMENTED python3.req: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/utils.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/utils.py: line=18 IGNORE (for REQ=slight and deep=8) module=builtins Provides: python3(linkedin), python3(linkedin.exceptions), python3(linkedin.linkedin), python3(linkedin.models), python3(linkedin.server), python3(linkedin.utils) Requires: python3(requests) < 0, python3(requests_oauthlib) < 0, python3(json) < 0, /usr/lib/python3/site-packages, python3(collections) < 0, python3(contextlib) < 0, python3(hashlib) < 0, python3(http.server) < 0, python3(io) < 0, python3(random) < 0, python3(urllib.parse) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-linkedin-4.2-alt2.noarch.rpm 12.25user 1.07system 0:18.85elapsed 70%CPU (0avgtext+0avgdata 25444maxresident)k 0inputs+0outputs (0major+158989minor)pagefaults 0swaps 25.16user 8.60system 0:42.97elapsed 78%CPU (0avgtext+0avgdata 109032maxresident)k 1856inputs+0outputs (0major+613439minor)pagefaults 0swaps --- python3-module-linkedin-4.2-alt2.noarch.rpm.repo 2019-12-13 07:28:58.000000000 +0000 +++ python3-module-linkedin-4.2-alt2.noarch.rpm.hasher 2020-04-01 10:29:28.847835571 +0000 @@ -3,20 +3,20 @@ /usr/lib/python3/site-packages/linkedin/__pycache__ 40755 -/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-38.pyc 100644 /usr/lib/python3/site-packages/linkedin/exceptions.py 100644 @@ -26,9 +26,9 @@ /usr/lib/python3/site-packages/linkedin/utils.py 100644 -/usr/lib/python3/site-packages/python_linkedin-4.2-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/python_linkedin-4.2-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/python_linkedin-4.2-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/python_linkedin-4.2-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/python_linkedin-4.2-py3.7.egg-info/not-zip-safe 100644 -/usr/lib/python3/site-packages/python_linkedin-4.2-py3.7.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/python_linkedin-4.2-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.8.egg-info/top_level.txt 100644 /usr/share/doc/python3-module-linkedin-4.2 40755 @@ -39,5 +39,5 @@ /usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__ 40755 -/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/__init__.cpython-37.pyc 100644 -/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/authentication.cpython-37.pyc 100644 -/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/http_api.cpython-37.pyc 100644 +/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/__init__.cpython-38.pyc 100644 +/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/authentication.cpython-38.pyc 100644 +/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/http_api.cpython-38.pyc 100644 /usr/share/doc/python3-module-linkedin-4.2/examples/authentication.py 100644