<86>Jul 2 13:28:32 userdel[2971858]: delete user 'rooter' <86>Jul 2 13:28:32 userdel[2971858]: removed group 'rooter' owned by 'rooter' <86>Jul 2 13:28:32 userdel[2971858]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 2 13:28:32 groupadd[2971879]: group added to /etc/group: name=rooter, GID=705 <86>Jul 2 13:28:32 groupadd[2971879]: new group: name=rooter, GID=705 <86>Jul 2 13:28:32 useradd[2971893]: new user: name=rooter, UID=705, GID=705, home=/root, shell=/bin/bash <86>Jul 2 13:28:32 userdel[2971922]: delete user 'builder' <86>Jul 2 13:28:32 userdel[2971922]: removed group 'builder' owned by 'builder' <86>Jul 2 13:28:32 userdel[2971922]: removed shadow group 'builder' owned by 'builder' <86>Jul 2 13:28:32 groupadd[2971941]: group added to /etc/group: name=builder, GID=706 <86>Jul 2 13:28:32 groupadd[2971941]: group added to /etc/gshadow: name=builder <86>Jul 2 13:28:32 groupadd[2971941]: new group: name=builder, GID=706 <86>Jul 2 13:28:32 useradd[2971961]: new user: name=builder, UID=706, GID=706, home=/usr/src, shell=/bin/bash <13>Jul 2 13:28:34 rpmi: libgdbm-1.8.3-alt10 sisyphus+275301.100.2.1 1624464967 installed <13>Jul 2 13:28:34 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Jul 2 13:28:34 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 2 13:28:34 rpmi: libtasn1-4.17.0-alt1 sisyphus+276722.100.1.1 1625211286 installed <13>Jul 2 13:28:34 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+276601.100.1.1 1625149883 installed <13>Jul 2 13:28:34 rpmi: alternatives-0.5.1-alt1 sisyphus+276601.100.1.1 1625149883 installed <13>Jul 2 13:28:34 rpmi: ca-certificates-2021.06.03-alt1 sisyphus+273509.400.1.1 1622736045 installed <13>Jul 2 13:28:34 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 2 13:28:34 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Jul 2 13:28:34 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Jul 2 13:28:34 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>Jul 2 13:28:34 rpmi: python3-3.9.6-alt1 sisyphus+276295.100.1.1 1624964545 installed <13>Jul 2 13:28:35 rpmi: python3-base-3.9.6-alt1 sisyphus+276295.100.1.1 1624964545 installed <13>Jul 2 13:28:36 rpmi: libpython3-3.9.6-alt1 sisyphus+276295.100.1.1 1624964545 installed <13>Jul 2 13:28:36 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jul 2 13:28:36 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Jul 2 13:28:38 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>Jul 2 13:28:38 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-flask-canvas-0.1-alt2.nosrc.rpm (w1.gzdio) <13>Jul 2 13:28:40 rpmi: python3-module-pkg_resources-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 installed <13>Jul 2 13:28:40 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Jul 2 13:28:40 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>Jul 2 13:28:40 rpmi: python3-dev-3.9.6-alt1 sisyphus+276295.100.1.1 1624964545 installed <13>Jul 2 13:28:40 rpmi: python3-module-setuptools-1:57.0.0-alt1 sisyphus+272429.100.1.1 1621886170 installed Installing python3-module-flask-canvas-0.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.26583 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-flask-canvas-0.1 + echo 'Source #0 (python3-module-flask-canvas-0.1.tar):' Source #0 (python3-module-flask-canvas-0.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-flask-canvas-0.1.tar + cd python3-module-flask-canvas-0.1 + /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 ./tests.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./flask_canvas.py RefactoringTool: No changes to ./example/app.py RefactoringTool: Refactored ./docs/source/conf.py RefactoringTool: Files that were modified: RefactoringTool: ./tests.py RefactoringTool: ./setup.py RefactoringTool: ./flask_canvas.py RefactoringTool: ./example/app.py RefactoringTool: ./docs/source/conf.py --- ./flask_canvas.py (original) +++ ./flask_canvas.py (refactored) @@ -9,7 +9,7 @@ except ImportError: from json import loads from inspect import getargspec -from urllib2 import urlopen, Request +from urllib.request import urlopen, Request from flask import (Flask, abort, current_app as app, request as flask_request, redirect) @@ -48,7 +48,7 @@ Checks the current user permission set against the one being requested by the application. """ - perms = self.request('/me/permissions')['data'][0].keys() + perms = list(self.request('/me/permissions')['data'][0].keys()) return all(k in perms for k in app.config[ 'CANVAS_SCOPE'].split(',')) --- ./docs/source/conf.py (original) +++ ./docs/source/conf.py (refactored) @@ -41,8 +41,8 @@ master_doc = 'index' # General information about the project. -project = u'flask-canvas' -copyright = u'2013, Demian Brecht' +project = 'flask-canvas' +copyright = '2013, Demian Brecht' # 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-canvas.tex', u'flask-canvas Documentation', - u'Demian Brecht', 'manual'), + ('index', 'flask-canvas.tex', 'flask-canvas Documentation', + 'Demian Brecht', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -214,8 +214,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'flask-canvas', u'flask-canvas Documentation', - [u'Demian Brecht'], 1) + ('index', 'flask-canvas', 'flask-canvas Documentation', + ['Demian Brecht'], 1) ] # If true, show URL addresses after external links. @@ -228,8 +228,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'flask-canvas', u'flask-canvas Documentation', - u'Demian Brecht', 'flask-canvas', 'One line description of project.', + ('index', 'flask-canvas', 'flask-canvas Documentation', + 'Demian Brecht', 'flask-canvas', 'One line description of project.', 'Miscellaneous'), ] + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.63204 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-flask-canvas-0.1 + 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_canvas.py -> build/lib running egg_info creating flask_canvas.egg-info writing flask_canvas.egg-info/PKG-INFO writing dependency_links to flask_canvas.egg-info/dependency_links.txt writing requirements to flask_canvas.egg-info/requires.txt writing top-level names to flask_canvas.egg-info/top_level.txt writing manifest file 'flask_canvas.egg-info/SOURCES.txt' reading manifest file 'flask_canvas.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'flask_canvas.egg-info/SOURCES.txt' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.83999 + 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-canvas-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-flask-canvas-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-flask-canvas-0.1 + 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-canvas-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-flask-canvas-buildroot creating /usr/src/tmp/python3-module-flask-canvas-buildroot/usr creating /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib creating /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages copying build/lib/flask_canvas.py -> /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages/flask_canvas.py to flask_canvas.cpython-39.pyc running install_egg_info running egg_info writing flask_canvas.egg-info/PKG-INFO writing dependency_links to flask_canvas.egg-info/dependency_links.txt writing requirements to flask_canvas.egg-info/requires.txt writing top-level names to flask_canvas.egg-info/top_level.txt reading manifest file 'flask_canvas.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'flask_canvas.egg-info/SOURCES.txt' Copying flask_canvas.egg-info to /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages/flask_canvas-0.1-py3.9.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-flask-canvas-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-flask-canvas-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-flask-canvas-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-flask-canvas-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-flask-canvas-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-flask-canvas-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-canvas-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-39.pyc compile /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages/flask_canvas.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-flask-canvas-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages/flask_canvas.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-flask-canvas-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages/flask_canvas.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-39.pyc' Processing files: python3-module-flask-canvas-0.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.17120 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-flask-canvas-0.1 + DOCDIR=/usr/src/tmp/python3-module-flask-canvas-buildroot/usr/share/doc/python3-module-flask-canvas-0.1 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/share/doc/python3-module-flask-canvas-0.1 + /bin/mkdir -p /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/share/doc/python3-module-flask-canvas-0.1 + cp -prL docs/source/index.rst README example /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/share/doc/python3-module-flask-canvas-0.1 + chmod -R go-w /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/share/doc/python3-module-flask-canvas-0.1 + chmod -R a+rX /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/share/doc/python3-module-flask-canvas-0.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cT0Am7 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.30Zw67 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-canvas-buildroot/usr/lib/python3/site-packages/flask_canvas.py: line=8 IGNORE (for REQ=slight and deep=8) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-flask-canvas-buildroot/usr/lib/python3/site-packages/flask_canvas.py: line=10 IGNORE (for REQ=slight and deep=8) module=json Provides: python3(flask_canvas) Requires: /usr/lib/python3/site-packages, python3(base64) < 0, python3(flask) < 0, python3(hashlib) < 0, python3(hmac) < 0, python3(inspect) < 0, python3(urllib.request) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-flask-canvas-0.1-alt2.noarch.rpm (w2.lzdio) 4.36user 0.47system 0:06.48elapsed 74%CPU (0avgtext+0avgdata 19220maxresident)k 0inputs+0outputs (0major+122339minor)pagefaults 0swaps 11.60user 4.27system 0:18.06elapsed 87%CPU (0avgtext+0avgdata 106068maxresident)k 0inputs+0outputs (0major+551665minor)pagefaults 0swaps --- python3-module-flask-canvas-0.1-alt2.noarch.rpm.repo 2019-11-12 14:31:12.000000000 +0000 +++ python3-module-flask-canvas-0.1-alt2.noarch.rpm.hasher 2021-07-02 13:28:48.403814975 +0000 @@ -1,11 +1,11 @@ /usr/lib/python3/site-packages/__pycache__ 40755 -/usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/flask_canvas-0.1-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/flask_canvas-0.1-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/flask_canvas-0.1-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/flask_canvas-0.1-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/flask_canvas-0.1-py3.7.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/flask_canvas-0.1-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-39.opt-1.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-39.opt-2.pyc 100644 +/usr/lib/python3/site-packages/__pycache__/flask_canvas.cpython-39.pyc 100644 +/usr/lib/python3/site-packages/flask_canvas-0.1-py3.9.egg-info 40755 +/usr/lib/python3/site-packages/flask_canvas-0.1-py3.9.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/flask_canvas-0.1-py3.9.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/flask_canvas-0.1-py3.9.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/flask_canvas-0.1-py3.9.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/flask_canvas-0.1-py3.9.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/flask_canvas.py 100644 @@ -25,2 +25,2 @@ Provides: python3-module-flask-canvas = 0.1-alt2:sisyphus+240622.100.1.1 -RPMIdentity: c6c3dc641ac1b551a2b32aadd982b2e7 +RPMIdentity: f94ba8d03cc346b74bf9cc73987bc551