<86>Jun 28 11:30:22 userdel[1591537]: delete user 'rooter' <86>Jun 28 11:30:22 userdel[1591537]: removed group 'rooter' owned by 'rooter' <86>Jun 28 11:30:22 userdel[1591537]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 28 11:30:22 groupadd[1591558]: group added to /etc/group: name=rooter, GID=702 <86>Jun 28 11:30:22 groupadd[1591558]: group added to /etc/gshadow: name=rooter <86>Jun 28 11:30:22 groupadd[1591558]: new group: name=rooter, GID=702 <86>Jun 28 11:30:22 useradd[1591563]: new user: name=rooter, UID=702, GID=702, home=/root, shell=/bin/bash <86>Jun 28 11:30:22 userdel[1591576]: delete user 'builder' <86>Jun 28 11:30:22 userdel[1591576]: removed group 'builder' owned by 'builder' <86>Jun 28 11:30:22 userdel[1591576]: removed shadow group 'builder' owned by 'builder' <86>Jun 28 11:30:22 groupadd[1591581]: group added to /etc/group: name=builder, GID=703 <86>Jun 28 11:30:22 groupadd[1591581]: group added to /etc/gshadow: name=builder <86>Jun 28 11:30:22 groupadd[1591581]: new group: name=builder, GID=703 <86>Jun 28 11:30:22 useradd[1591585]: new user: name=builder, UID=703, GID=703, home=/usr/src, shell=/bin/bash <13>Jun 28 11:30:26 rpmi: libgdbm-1.8.3-alt10 sisyphus+275301.100.2.1 1624464967 installed <13>Jun 28 11:30:26 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Jun 28 11:30:26 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 28 11:30:26 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Jun 28 11:30:26 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 28 11:30:26 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jun 28 11:30:26 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jun 28 11:30:26 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jun 28 11:30:26 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jun 28 11:30:26 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Jun 28 11:30:26 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Jun 28 11:30:26 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 28 11:30:27 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 28 11:30:27 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 28 11:30:27 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 28 11:30:27 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jun 28 11:30:32 rpmi: python3-module-httplib2-0.18.1-alt1 sisyphus+275934.100.1.1 1624806225 installed <13>Jun 28 11:30:32 rpmi: python3-module-werkzeug-0.16.1-alt2 sisyphus+276021.100.1.2 1624853135 installed <13>Jun 28 11:30:32 rpmi: python3-module-markupsafe-1:2.0.1-alt2 sisyphus+272516.100.1.1 1621946885 installed <13>Jun 28 11:30:32 rpmi: python3-module-jinja2-3.0.1-alt1 sisyphus+274841.1100.1.1 1624295237 installed <13>Jun 28 11:30:32 rpmi: python3-module-itsdangerous-2.0.1-alt1 sisyphus+271651.300.3.1 1621569018 installed <13>Jun 28 11:30:32 rpmi: python3-module-click-7.1.2-alt2 sisyphus+275908.100.1.1 1624804412 installed <13>Jun 28 11:30:33 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:33 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:33 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:33 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:33 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:33 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:34 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:34 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:34 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:34 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:34 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jun 28 11:30:34 rpmi: python3-module-flask-1.1.2-alt2 sisyphus+275929.100.1.1 1624805971 installed <13>Jun 28 11:30:34 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 (w1.gzdio) <13>Jun 28 11:30:37 rpmi: python3-module-pkg_resources-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 installed <13>Jun 28 11:30:37 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Jun 28 11:30:37 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Jun 28 11:30:38 rpmi: python3-dev-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>Jun 28 11:30:38 rpmi: python3-module-setuptools-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 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.79312 + 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.71894 + 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.26025 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + 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-39.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' adding license file 'LICENSE' 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.9.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,gnuconfig) 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: (from :0) 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 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-39.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 Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.69857 + 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 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 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' adding license file 'LICENSE' 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.55630 + 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.k8yW4q 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.8VxPzp 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-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 (w2.lzdio) 5.68user 0.40system 0:08.90elapsed 68%CPU (0avgtext+0avgdata 19376maxresident)k 0inputs+0outputs (0major+142730minor)pagefaults 0swaps 14.83user 5.91system 0:32.55elapsed 63%CPU (0avgtext+0avgdata 104788maxresident)k 2360inputs+0outputs (0major+582798minor)pagefaults 0swaps --- python3-module-flask_oauth-0.13-alt2.noarch.rpm.repo 2019-11-12 14:41:54.000000000 +0000 +++ python3-module-flask_oauth-0.13-alt2.noarch.rpm.hasher 2021-06-28 11:30:51.260487470 +0000 @@ -1,12 +1,12 @@ -/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info/not-zip-safe 100644 -/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.9.egg-info 40755 +/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.9.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.9.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.9.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.9.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.9.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/Flask_OAuth-0.13-py3.9.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/__pycache__ 40755 -/usr/lib/python3/site-packages/__pycache__/flask_oauth.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/flask_oauth.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/flask_oauth.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/flask_oauth.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/flask_oauth.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/flask_oauth.cpython-39.pyc 100644 /usr/lib/python3/site-packages/flask_oauth.py 100644 @@ -35,2 +35,2 @@ Provides: python3-module-flask_oauth = 0.13-alt2:sisyphus+240623.100.1.1 -RPMIdentity: a137f7eca16ec51ba238f0120bdc5237 +RPMIdentity: bdb907d0038ba94f9c28e313dc4601af