<86>Mar 1 09:01:39 userdel[260427]: delete user 'rooter' <86>Mar 1 09:01:39 userdel[260427]: removed group 'rooter' owned by 'rooter' <86>Mar 1 09:01:39 userdel[260427]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 1 09:01:39 groupadd[260458]: group added to /etc/group: name=rooter, GID=699 <86>Mar 1 09:01:39 groupadd[260458]: group added to /etc/gshadow: name=rooter <86>Mar 1 09:01:39 groupadd[260458]: new group: name=rooter, GID=699 <86>Mar 1 09:01:39 useradd[260487]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Mar 1 09:01:39 userdel[260526]: delete user 'builder' <86>Mar 1 09:01:39 userdel[260526]: removed group 'builder' owned by 'builder' <86>Mar 1 09:01:39 userdel[260526]: removed shadow group 'builder' owned by 'builder' <86>Mar 1 09:01:39 groupadd[260550]: group added to /etc/group: name=builder, GID=700 <86>Mar 1 09:01:39 groupadd[260550]: group added to /etc/gshadow: name=builder <86>Mar 1 09:01:39 groupadd[260550]: new group: name=builder, GID=700 <86>Mar 1 09:01:39 useradd[260578]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Mar 1 09:01:41 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 1 09:01:41 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Mar 1 09:01:41 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Mar 1 09:01:41 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 1 09:01:41 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 1 09:01:41 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 1 09:01:41 rpmi: ca-certificates-2021.01.27-alt1 sisyphus+265371.200.1.1 1611759824 installed <13>Mar 1 09:01:41 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 1 09:01:41 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Mar 1 09:01:41 rpmi: libcrypto1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Mar 1 09:01:41 rpmi: libssl1.1-1.1.1i-alt3 sisyphus+265605.200.2.1 1612202596 installed <13>Mar 1 09:01:41 rpmi: python3-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Mar 1 09:01:42 rpmi: python3-base-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Mar 1 09:01:42 rpmi: libpython3-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Mar 1 09:01:42 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Mar 1 09:01:42 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Mar 1 09:01:45 rpmi: python3-module-pkg_resources-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 installed <13>Mar 1 09:01:45 rpmi: python3-module-six-1.15.0-alt1 sisyphus+255738.100.2.1 1596527214 installed <13>Mar 1 09:01:45 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Mar 1 09:01:45 rpmi: python-modules-compiler-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python-modules-email-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python-modules-unittest-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python-modules-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python-modules-encodings-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python-modules-ctypes-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python-modules-multiprocessing-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python-modules-logging-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed <13>Mar 1 09:01:45 rpmi: python3-module-pycryptodome-3.9.9-alt1 sisyphus+265234.11500.49.1 1613751099 installed <13>Mar 1 09:01:45 rpmi: python3-module-oauthlib-3.1.0-alt1 sisyphus+261079.100.1.1 1604592989 installed <13>Mar 1 09:01:45 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Mar 1 09:01:45 rpmi: python3-module-idna-2.10-alt1 sisyphus+255040.200.1.1 1594995891 installed <13>Mar 1 09:01:45 rpmi: python3-module-chardet-1:3.0.4-alt2 sisyphus+263408.100.1.1 1607875228 installed <13>Mar 1 09:01:45 rpmi: python3-module-pycparser-2.20-alt1 sisyphus+260990.100.1.1 1604547209 installed <13>Mar 1 09:01:45 rpmi: python3-module-cffi-1.14.5-alt1 sisyphus+266847.100.1.1 1614157383 installed <13>Mar 1 09:01:45 rpmi: python3-module-cryptography-3.4.3-alt3 sisyphus+265234.27527.49.1 1613763414 installed <13>Mar 1 09:01:45 rpmi: python3-module-openssl-19.1.0-alt1 sisyphus+261139.100.1.1 1604672912 installed <13>Mar 1 09:01:45 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Mar 1 09:01:45 rpmi: python3-module-urllib3-2:1.25.10-alt1 sisyphus+255342.100.1.1 1595592746 installed <13>Mar 1 09:01:45 rpmi: python3-module-requests-2.25.1-alt1 sisyphus+266616.140.3.3 1614165354 installed <13>Mar 1 09:01:45 rpmi: python3-module-requests-oauthlib-1.3.0-alt1 sisyphus+261079.200.2.1 1604594909 installed <13>Mar 1 09:01:45 rpmi: python-tools-2to3-2.7.18-alt4 sisyphus+266950.200.2.1 1614241383 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-linkedin-4.2-alt2.nosrc.rpm (w1.gzdio) <13>Mar 1 09:01:47 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Mar 1 09:01:47 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Mar 1 09:01:47 rpmi: python3-dev-3.9.2-alt1 sisyphus+267062.100.1.1 1614381721 installed <13>Mar 1 09:01:47 rpmi: python3-module-setuptools-1:46.1.3-alt2 sisyphus+260458.600.6.1 1603876498 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.88701 + 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.9507 + 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.9507 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + 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-39.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/server.py to server.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/models.py to models.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py to linkedin.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/exceptions.py to exceptions.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__init__.py to __init__.cpython-39.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.9.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,gnuconfig) 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: (from :0) 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-39.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-39.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-39.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-39.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-39.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-39.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-39.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-39.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.opt-1.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-39.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-39.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-39.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.42353 + 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 WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. 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.86071 + 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.oEWo4W 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.QMrf0X 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-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 (w2.lzdio) 6.65user 0.54system 0:08.24elapsed 87%CPU (0avgtext+0avgdata 24556maxresident)k 0inputs+0outputs (0major+148423minor)pagefaults 0swaps 13.90user 4.00system 0:19.66elapsed 91%CPU (0avgtext+0avgdata 107548maxresident)k 2456inputs+0outputs (0major+600291minor)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 2021-03-01 09:01:57.497261906 +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-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-39.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.9.egg-info 40755 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.9.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.9.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.9.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.9.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.9.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/python_linkedin-4.2-py3.9.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-39.pyc 100644 +/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/authentication.cpython-39.pyc 100644 +/usr/share/doc/python3-module-linkedin-4.2/examples/__pycache__/http_api.cpython-39.pyc 100644 /usr/share/doc/python3-module-linkedin-4.2/examples/authentication.py 100644