<86>Jan 22 09:56:14 userdel[1186641]: delete user 'rooter' <86>Jan 22 09:56:14 userdel[1186641]: removed group 'rooter' owned by 'rooter' <86>Jan 22 09:56:14 userdel[1186641]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 22 09:56:14 groupadd[1186649]: group added to /etc/group: name=rooter, GID=603 <86>Jan 22 09:56:14 groupadd[1186649]: group added to /etc/gshadow: name=rooter <86>Jan 22 09:56:14 groupadd[1186649]: new group: name=rooter, GID=603 <86>Jan 22 09:56:14 useradd[1186653]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Jan 22 09:56:14 userdel[1186660]: delete user 'builder' <86>Jan 22 09:56:14 userdel[1186660]: removed group 'builder' owned by 'builder' <86>Jan 22 09:56:14 userdel[1186660]: removed shadow group 'builder' owned by 'builder' <86>Jan 22 09:56:14 groupadd[1186665]: group added to /etc/group: name=builder, GID=604 <86>Jan 22 09:56:14 groupadd[1186665]: group added to /etc/gshadow: name=builder <86>Jan 22 09:56:14 groupadd[1186665]: new group: name=builder, GID=604 <86>Jan 22 09:56:14 useradd[1186669]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Jan 22 09:56:20 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 22 09:56:20 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 22 09:56:20 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 22 09:56:20 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959866 installed <13>Jan 22 09:56:20 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 22 09:56:20 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 22 09:56:20 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Jan 22 09:56:20 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 22 09:56:20 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 22 09:56:21 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 22 09:56:21 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 22 09:56:21 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 22 09:56:21 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 22 09:56:22 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 22 09:56:22 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 22 09:56:22 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 22 09:56:26 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Jan 22 09:56:26 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Jan 22 09:56:26 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Jan 22 09:56:26 rpmi: python3-module-pycryptodome-3.9.4-alt1 sisyphus+242606.100.1.1 1575902173 installed <13>Jan 22 09:56:26 rpmi: python3-module-oauthlib-0.7.2-alt1.1.2 sisyphus+227506.1000.1.3 1555870644 installed <13>Jan 22 09:56:26 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Jan 22 09:56:26 rpmi: python3-module-idna-2.8-alt1 sisyphus+227494.400.1.3 1555838720 installed <13>Jan 22 09:56:26 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Jan 22 09:56:26 rpmi: python3-module-pycparser-2.19-alt1 sisyphus+228366.1000.2.3 1556706938 installed <13>Jan 22 09:56:26 rpmi: python3-module-cffi-1.13.2-alt1 sisyphus+240882.100.2.1 1573892898 installed <13>Jan 22 09:56:27 rpmi: python3-module-cryptography-2.8-alt1 sisyphus+239390.100.1.2 1571349426 installed <13>Jan 22 09:56:27 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Jan 22 09:56:27 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Jan 22 09:56:27 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Jan 22 09:56:27 rpmi: python3-module-requests-2.22.0-alt1 sisyphus+238756.100.1.1 1570338316 installed <13>Jan 22 09:56:27 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 22 09:56:27 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 22 09:56:27 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jan 22 09:56:27 groupadd[1194727]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 22 09:56:27 groupadd[1194727]: group added to /etc/gshadow: name=_keytab <86>Jan 22 09:56:27 groupadd[1194727]: new group: name=_keytab, GID=499 <13>Jan 22 09:56:27 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Jan 22 09:56:27 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 22 09:56:27 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 22 09:56:27 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 rpmi: python-tools-2to3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 22 09:56:27 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>Jan 22 09:56:31 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 22 09:56:31 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 22 09:56:31 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 22 09:56:31 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.79236 + 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.82702 + 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.31770 + 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-37.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/server.py to server.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/models.py to models.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/linkedin.py to linkedin.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/exceptions.py to exceptions.cpython-37.pyc byte-compiling /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__init__.py to __init__.cpython-37.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.7.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-37.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/linkedin.cpython-37.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-37.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-37.pyc unlink /usr/src/tmp/python3-module-linkedin-buildroot/usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-37.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-37.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/utils.cpython-37.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/server.cpython-37.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/models.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/exceptions.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/linkedin/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.76503 + 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.93568 + 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.iTu6HF 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.cxmtzG 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 11.08user 0.97system 0:15.89elapsed 75%CPU (0avgtext+0avgdata 22388maxresident)k 0inputs+0outputs (0major+151253minor)pagefaults 0swaps 23.54user 8.26system 0:39.40elapsed 80%CPU (0avgtext+0avgdata 112488maxresident)k 0inputs+0outputs (0major+606552minor)pagefaults 0swaps