<86>Jan 10 09:45:22 userdel[4070]: delete user 'rooter' <86>Jan 10 09:45:22 userdel[4070]: removed group 'rooter' owned by 'rooter' <86>Jan 10 09:45:22 userdel[4070]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 10 09:45:22 groupadd[4085]: group added to /etc/group: name=rooter, GID=603 <86>Jan 10 09:45:22 groupadd[4085]: group added to /etc/gshadow: name=rooter <86>Jan 10 09:45:22 groupadd[4085]: new group: name=rooter, GID=603 <86>Jan 10 09:45:22 useradd[4099]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Jan 10 09:45:22 userdel[4125]: delete user 'builder' <86>Jan 10 09:45:22 userdel[4125]: removed group 'builder' owned by 'builder' <86>Jan 10 09:45:22 userdel[4125]: removed shadow group 'builder' owned by 'builder' <86>Jan 10 09:45:22 groupadd[4138]: group added to /etc/group: name=builder, GID=604 <86>Jan 10 09:45:22 groupadd[4138]: group added to /etc/gshadow: name=builder <86>Jan 10 09:45:22 groupadd[4138]: new group: name=builder, GID=604 <86>Jan 10 09:45:22 useradd[4150]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Jan 10 09:45:26 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 10 09:45:26 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 10 09:45:26 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 10 09:45:26 rpmi: libtasn1-4.15.0-alt1 sisyphus+241940.100.1.1 1574959866 installed <13>Jan 10 09:45:26 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 10 09:45:26 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 10 09:45:26 rpmi: ca-certificates-2019.10.28-alt1 sisyphus+239875.300.1.1 1572267834 installed <13>Jan 10 09:45:26 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 10 09:45:26 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jan 10 09:45:26 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 10 09:45:26 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Jan 10 09:45:26 rpmi: python3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 10 09:45:27 rpmi: libpython3-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 10 09:45:28 rpmi: python3-base-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 10 09:45:28 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 10 09:45:28 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 10 09:45:32 rpmi: python3-module-click-7.0-alt1 sisyphus+233553.200.1.1 1561975479 installed <13>Jan 10 09:45:32 rpmi: python3-module-click-tests-7.0-alt1 sisyphus+233553.200.1.1 1561975479 installed <13>Jan 10 09:45:32 rpmi: python3-module-httplib2-0.9.1-alt1.2 sisyphus+227493.1200.1.3 1555835623 installed <13>Jan 10 09:45:33 rpmi: python3-module-werkzeug-0.15.5-alt1 sisyphus+236914.20.4.1 1567169482 installed <13>Jan 10 09:45:33 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Jan 10 09:45:33 rpmi: python3-module-markupsafe-0.23-alt1.2.1.1 sisyphus+225625.12200.91.1 1555289337 installed <13>Jan 10 09:45:33 rpmi: python3-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>Jan 10 09:45:33 rpmi: python3-module-itsdangerous-0.24-alt1.git20140328.2 sisyphus+227495.1400.1.3 1555843258 installed <13>Jan 10 09:45:33 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jan 10 09:45:33 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jan 10 09:45:33 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jan 10 09:45:33 groupadd[19164]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 10 09:45:33 groupadd[19164]: group added to /etc/gshadow: name=_keytab <86>Jan 10 09:45:33 groupadd[19164]: new group: name=_keytab, GID=499 <13>Jan 10 09:45:33 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Jan 10 09:45:33 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 10 09:45:33 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 10 09:45:33 rpmi: python-modules-encodings-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-compiler-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-email-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-unittest-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-nis-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-ctypes-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-multiprocessing-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-modules-logging-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python-tools-2to3-2.7.17-alt3 sisyphus+240580.200.5.1 1573517321 installed <13>Jan 10 09:45:33 rpmi: python3-module-flask-1.1.1-alt1 sisyphus+236914.300.4.1 1567169521 installed <13>Jan 10 09:45:33 rpmi: python3-module-oauth2-1.9-alt1 sisyphus+228363.200.1.1 1556563953 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-flask_oauth-0.13-alt2.nosrc.rpm <13>Jan 10 09:45:37 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 10 09:45:37 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jan 10 09:45:37 rpmi: python3-dev-3.7.4-alt2 sisyphus+239418.100.1.1 1571389913 installed <13>Jan 10 09:45:37 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-flask_oauth-0.13-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.15650 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-flask_oauth-0.13 + echo 'Source #0 (python3-module-flask_oauth-0.13.tar):' Source #0 (python3-module-flask_oauth-0.13.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-flask_oauth-0.13.tar + cd python3-module-flask_oauth-0.13 + /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 ./flask_oauth.py RefactoringTool: Refactored ./example/tweet.py RefactoringTool: Refactored ./example/google.py RefactoringTool: No changes to ./example/facebook.py RefactoringTool: Refactored ./docs/conf.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./flask_oauth.py RefactoringTool: ./example/tweet.py RefactoringTool: ./example/google.py RefactoringTool: ./example/facebook.py RefactoringTool: ./docs/conf.py --- ./flask_oauth.py (original) +++ ./flask_oauth.py (refactored) @@ -10,7 +10,7 @@ """ import httplib2 from functools import wraps -from urlparse import urljoin +from urllib.parse import urljoin from flask import request, session, json, redirect, Response from werkzeug import url_decode, url_encode, url_quote, \ parse_options_header, Headers --- ./example/tweet.py (original) +++ ./example/tweet.py (refactored) @@ -155,7 +155,7 @@ """ next_url = request.args.get('next') or url_for('index') if resp is None: - flash(u'You denied the request to sign in.') + flash('You denied the request to sign in.') return redirect(next_url) user = User.query.filter_by(name=resp['screen_name']).first() --- ./example/google.py (original) +++ ./example/google.py (refactored) @@ -35,14 +35,15 @@ return redirect(url_for('login')) access_token = access_token[0] - from urllib2 import Request, urlopen, URLError + from urllib.request import Request, urlopen + from urllib.error import URLError headers = {'Authorization': 'OAuth '+access_token} req = Request('https://www.googleapis.com/oauth2/v1/userinfo', None, headers) try: res = urlopen(req) - except URLError, e: + except URLError as e: if e.code == 401: # Unauthorized - bad token session.pop('access_token', None) --- ./docs/conf.py (original) +++ ./docs/conf.py (refactored) @@ -41,8 +41,8 @@ master_doc = 'index' # General information about the project. -project = u'Flask-OAuth' -copyright = u'2010, Armin Ronacher' +project = 'Flask-OAuth' +copyright = '2010, Armin Ronacher' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -184,8 +184,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'Flask-OAuth.tex', u'Flask-OAuth Documentation', - u'Armin Ronacher', 'manual'), + ('index', 'Flask-OAuth.tex', 'Flask-OAuth Documentation', + 'Armin Ronacher', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -211,8 +211,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'flask-oauth', u'Flask-OAuth Documentation', - [u'Armin Ronacher'], 1) + ('index', 'flask-oauth', 'Flask-OAuth Documentation', + ['Armin Ronacher'], 1) ] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.97565 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-flask_oauth-0.13 + 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 copying flask_oauth.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.37323 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-flask_oauth-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-flask_oauth-buildroot + cd python3-module-flask_oauth-0.13 + 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-flask_oauth-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-flask_oauth-buildroot creating /usr/src/tmp/python3-module-flask_oauth-buildroot/usr creating /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib creating /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages copying build/lib/flask_oauth.py -> /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/flask_oauth.py to flask_oauth.cpython-37.pyc running install_egg_info running egg_info creating Flask_OAuth.egg-info writing Flask_OAuth.egg-info/PKG-INFO writing dependency_links to Flask_OAuth.egg-info/dependency_links.txt writing requirements to Flask_OAuth.egg-info/requires.txt writing top-level names to Flask_OAuth.egg-info/top_level.txt writing manifest file 'Flask_OAuth.egg-info/SOURCES.txt' reading manifest file 'Flask_OAuth.egg-info/SOURCES.txt' writing manifest file 'Flask_OAuth.egg-info/SOURCES.txt' Copying Flask_OAuth.egg-info to /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-flask_oauth-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-flask_oauth-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-flask_oauth-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-flask_oauth-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-flask_oauth-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-flask_oauth-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-flask_oauth-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-flask_oauth-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-flask_oauth-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/__pycache__/flask_oauth.cpython-37.pyc compile /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/flask_oauth.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-flask_oauth-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/flask_oauth.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-flask_oauth-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/flask_oauth.py Hardlinking identical .pyc and .opt-?.pyc files Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.49646 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-flask_oauth-0.13 + python3 setup.py test running test running egg_info writing Flask_OAuth.egg-info/PKG-INFO writing dependency_links to Flask_OAuth.egg-info/dependency_links.txt deleting Flask_OAuth.egg-info/requires.txt writing top-level names to Flask_OAuth.egg-info/top_level.txt reading manifest file 'Flask_OAuth.egg-info/SOURCES.txt' writing manifest file 'Flask_OAuth.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + exit 0 Processing files: python3-module-flask_oauth-0.13-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.34979 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-flask_oauth-0.13 + DOCDIR=/usr/src/tmp/python3-module-flask_oauth-buildroot/usr/share/doc/python3-module-flask_oauth-0.13 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/share/doc/python3-module-flask_oauth-0.13 + /bin/mkdir -p /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/share/doc/python3-module-flask_oauth-0.13 + cp -prL README example docs/index.rst /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/share/doc/python3-module-flask_oauth-0.13 + chmod -R go-w /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/share/doc/python3-module-flask_oauth-0.13 + chmod -R a+rX /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/share/doc/python3-module-flask_oauth-0.13 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LKn8Ic 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.B6BKBc 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-flask_oauth-buildroot/usr/lib/python3/site-packages/flask_oauth.py: line=26 IGNORE (for REQ=slight and deep=16) module=lxml /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/flask_oauth.py: line=29 IGNORE (for REQ=slight and deep=20) module=xml.etree /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-flask_oauth-buildroot/usr/lib/python3/site-packages/flask_oauth.py: line=32 IGNORE (for REQ=slight and deep=24) module=xml.etree Provides: python3(flask_oauth) Requires: /usr/lib/python3/site-packages, python3(flask) < 0, python3(functools) < 0, python3(httplib2) < 0, python3(oauth2) < 0, python3(urllib.parse) < 0, python3(werkzeug) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-flask_oauth-0.13-alt2.noarch.rpm 9.41user 0.99system 0:14.80elapsed 70%CPU (0avgtext+0avgdata 19232maxresident)k 0inputs+0outputs (0major+139558minor)pagefaults 0swaps 22.07user 8.35system 0:35.90elapsed 84%CPU (0avgtext+0avgdata 110784maxresident)k 256inputs+0outputs (0major+593005minor)pagefaults 0swaps