<86>Jun 16 01:16:01 userdel[1711390]: delete user 'rooter' <86>Jun 16 01:16:01 userdel[1711390]: removed group 'rooter' owned by 'rooter' <86>Jun 16 01:16:01 userdel[1711390]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 16 01:16:01 groupadd[1711412]: group added to /etc/group: name=rooter, GID=1814 <86>Jun 16 01:16:01 groupadd[1711412]: group added to /etc/gshadow: name=rooter <86>Jun 16 01:16:01 groupadd[1711412]: new group: name=rooter, GID=1814 <86>Jun 16 01:16:01 useradd[1711431]: new user: name=rooter, UID=1814, GID=1814, home=/root, shell=/bin/bash <86>Jun 16 01:16:01 userdel[1711460]: delete user 'builder' <86>Jun 16 01:16:01 userdel[1711460]: removed group 'builder' owned by 'builder' <86>Jun 16 01:16:01 userdel[1711460]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 01:16:01 groupadd[1711480]: group added to /etc/group: name=builder, GID=1815 <86>Jun 16 01:16:01 groupadd[1711480]: group added to /etc/gshadow: name=builder <86>Jun 16 01:16:01 groupadd[1711480]: new group: name=builder, GID=1815 <86>Jun 16 01:16:01 useradd[1711498]: new user: name=builder, UID=1815, GID=1815, home=/usr/src, shell=/bin/bash <13>Jun 16 01:16:04 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Jun 16 01:16:04 rpmi: libexpat-2.5.0-alt1 p10+324220.100.1.1 1688465137 installed <13>Jun 16 01:16:04 rpmi: libp11-kit-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 01:16:04 rpmi: libtasn1-4.19.0-alt1 p10+309071.100.2.1 1668522760 installed <13>Jun 16 01:16:04 rpmi: rpm-macros-alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 01:16:04 rpmi: alternatives-0.5.2-alt1 p10+309129.100.2.1 1668066636 installed <13>Jun 16 01:16:04 rpmi: ca-certificates-2022.09.15-alt1 p10+308004.100.2.1 1665748370 installed <13>Jun 16 01:16:04 rpmi: ca-trust-0.1.6-alt1 p10+344774.100.1.1 1712685728 installed <13>Jun 16 01:16:04 rpmi: p11-kit-trust-0.24.1-alt1 p10+305061.100.3.1 1660573397 installed <13>Jun 16 01:16:04 rpmi: libcrypto1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 01:16:04 rpmi: libssl1.1-1.1.1w-alt0.p10.1 p10+330586.100.4.1 1697560982 installed <13>Jun 16 01:16:04 rpmi: python3-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed <13>Jun 16 01:16:05 rpmi: python3-base-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed <13>Jun 16 01:16:05 rpmi: tests-for-installed-python3-pkgs-0.1.22-alt1 p10+325520.200.7.1 1691156214 installed <13>Jun 16 01:16:05 rpmi: rpm-build-python3-0.1.22-alt1 p10+325520.200.7.1 1691156214 installed WARNING: %python3_build_debug is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead <13>Jun 16 01:16:06 rpmi: libpython3-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed <13>Jun 16 01:16:06 rpmi: libncurses-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 01:16:06 rpmi: libtinfo-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 01:16:07 rpmi: libncurses-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 01:16:07 rpmi: libpython-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python2-base-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-compiler-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-email-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-unittest-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-encodings-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-xml-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-hotshot-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-bsddb-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-ctypes-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-multiprocessing-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-logging-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: rpm-build-python-0.43.2-alt1 sisyphus+271106.100.1.1 1619868598 installed <13>Jun 16 01:16:07 rpmi: python-modules-curses-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-modules-distutils-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-dev-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:07 rpmi: python-tools-2to3-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:08 rpmi: python3-dev-3.9.18-alt1 p10+340781.400.5.1 1709555259 installed WARNING: %python3_build_debug is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-which-1.1.0-alt1.2.nosrc.rpm (w1.gzdio) <13>Jun 16 01:16:10 rpmi: python3-module-pkg_resources-1:57.4.0-alt1 p10+281549.200.4.1 1628026198 installed <13>Jun 16 01:16:10 rpmi: python-modules-json-2.7.18-alt10 p10+309289.100.3.1 1668015444 installed <13>Jun 16 01:16:10 rpmi: python-module-pkg_resources-1:42.0.0-alt3 sisyphus+257539.100.1.1 1599462744 installed <13>Jun 16 01:16:10 rpmi: python-module-setuptools-1:42.0.0-alt3 sisyphus+257539.100.1.1 1599462744 installed <13>Jun 16 01:16:10 rpmi: python3-module-setuptools-1:57.4.0-alt1 p10+281549.200.4.1 1628026198 installed WARNING: %python3_build_debug is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead Installing python-module-which-1.1.0-alt1.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.99103 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-which-1.1.0 + echo 'Source #0 (python-module-which-1.1.0.tar):' Source #0 (python-module-which-1.1.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-which-1.1.0.tar + cd python-module-which-1.1.0 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.60977 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-which-1.1.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python2.7 setup.py build --debug running build running build_py creating build creating build/lib copying which.py -> build/lib + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-which-1.1.0 + find -type f -name '*.py' -exec 2to3 -w '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ./which.py RefactoringTool: Refactored ./test/testsupport.py RefactoringTool: Refactored ./test/test_which.py --- ./which.py (original) +++ ./which.py (refactored) @@ -90,13 +90,13 @@ if sys.platform.startswith('win'): if os.path.splitext(exeName)[1].lower() != '.exe': exeName += '.exe' - import _winreg + import winreg try: key = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\" +\ exeName - value = _winreg.QueryValue(_winreg.HKEY_LOCAL_MACHINE, key) + value = winreg.QueryValue(winreg.HKEY_LOCAL_MACHINE, key) registered = (value, "from HKLM\\"+key) - except _winreg.error: + except winreg.error: pass if registered and not os.path.exists(registered[0]): registered = None @@ -243,7 +243,7 @@ If no match is found for the command, a WhichError is raised. """ try: - match = whichgen(command, path, verbose, exts).next() + match = next(whichgen(command, path, verbose, exts)) except StopIteration: raise WhichError("Could not find '%s' on the path." % command) return match @@ -280,17 +280,17 @@ try: optlist, args = getopt.getopt(argv[1:], 'haVvqp:e:', ['help', 'all', 'version', 'verbose', 'quiet', 'path=', 'exts=']) - except getopt.GetoptError, msg: + except getopt.GetoptError as msg: sys.stderr.write("which: error: %s. Your invocation was: %s\n"\ % (msg, argv)) sys.stderr.write("Try 'which --help'.\n") return 1 for opt, optarg in optlist: if opt in ('-h', '--help'): - print _cmdlnUsage + print(_cmdlnUsage) return 0 elif opt in ('-V', '--version'): - print "which %s" % __version__ + print("which %s" % __version__) return 0 elif opt in ('-a', '--all'): all = 1 @@ -318,9 +318,9 @@ nmatches = 0 for match in whichgen(arg, path=altpath, verbose=verbose, exts=exts): if verbose: - print "%s (%s)" % match + print("%s (%s)" % match) else: - print match + print(match) nmatches += 1 if not all: break --- ./test/testsupport.py (original) +++ ./test/testsupport.py (refactored) @@ -37,7 +37,7 @@ results. Returns (, , ). Note: 'argv' may also just be the command string. """ - if type(argv) in (types.ListType, types.TupleType): + if type(argv) in (list, tuple): cmd = _joinArgv(argv) else: cmd = argv @@ -73,7 +73,7 @@ def _rmtreeOnError(rmFunction, filePath, excInfo): if excInfo[0] == OSError: # presuming because file is read-only - os.chmod(filePath, 0777) + os.chmod(filePath, 0o777) rmFunction(filePath) def rmtree(dirname): --- ./test/test_which.py (original) +++ ./test/test_which.py (refactored) @@ -41,7 +41,7 @@ for app in self.testapps: path = os.path.join(self.tmpdir, app) open(path, 'wb').write('\n') - os.chmod(path, 0755) + os.chmod(path, 0o755) def tearDown(self): testsupport.rmtree(self.tmpdir) @@ -49,49 +49,49 @@ def test_opt_h(self): output, error, retval = testsupport.run(self.which+' --h') token = 'Usage:' - self.failUnless(output.find(token) != -1, + self.assertTrue(output.find(token) != -1, "'%s' was not found in 'which -h' output: '%s' "\ % (token, output)) - self.failUnless(retval == 0, + self.assertTrue(retval == 0, "'which -h' did not return 0: retval=%d" % retval) def test_opt_help(self): output, error, retval = testsupport.run(self.which+' --help') token = 'Usage:' - self.failUnless(output.find(token) != -1, + self.assertTrue(output.find(token) != -1, "'%s' was not found in 'which --help' output: '%s' "\ % (token, output)) - self.failUnless(retval == 0, + self.assertTrue(retval == 0, "'which --help' did not return 0: retval=%d" % retval) def test_opt_version(self): output, error, retval = testsupport.run(self.which+' --version') versionRe = re.compile("^which \d+\.\d+\.\d+$") versionMatch = versionRe.search(output.strip()) - self.failUnless(versionMatch, + self.assertTrue(versionMatch, "Version, '%s', from 'which --version' does not "\ "match pattern, '%s'."\ % (output.strip(), versionRe.pattern)) - self.failUnless(retval == 0, + self.assertTrue(retval == 0, "'which --version' did not return 0: retval=%d"\ % retval) def test_no_args(self): output, error, retval = testsupport.run(self.which) - self.failUnless(retval == -1, + self.assertTrue(retval == -1, "'which' with no args should return -1: retval=%d"\ % retval) def test_one_failure(self): output, error, retval = testsupport.run( self.which+' whichtestapp1') - self.failUnless(retval == 1, + self.assertTrue(retval == 1, "One failure did not return 1: retval=%d" % retval) def test_two_failures(self): output, error, retval = testsupport.run( self.which+' whichtestapp1 whichtestapp2') - self.failUnless(retval == 2, + self.assertTrue(retval == 2, "Two failures did not return 2: retval=%d" % retval) def _match(self, path1, path2): @@ -109,10 +109,10 @@ os.environ["PATH"] += os.pathsep + self.tmpdir output, error, retval = testsupport.run(self.which+' -q whichtestapp1') expectedOutput = os.path.join(self.tmpdir, "whichtestapp1") - self.failUnless(self._match(output.strip(), expectedOutput), + self.assertTrue(self._match(output.strip(), expectedOutput), "Output, %r, and expected output, %r, do not match."\ % (output.strip(), expectedOutput)) - self.failUnless(retval == 0, + self.assertTrue(retval == 0, "'which ...' should have returned 0: retval=%d" % retval) def test_two_successes(self): @@ -123,17 +123,17 @@ lines = output.strip().split("\n") for app, line in zip(apps, lines): expected = os.path.join(self.tmpdir, app) - self.failUnless(self._match(line, expected), + self.assertTrue(self._match(line, expected), "Output, %r, and expected output, %r, do not match."\ % (line, expected)) - self.failUnless(retval == 0, + self.assertTrue(retval == 0, "'which ...' should have returned 0: retval=%d" % retval) if sys.platform.startswith("win"): def test_PATHEXT_failure(self): os.environ["PATH"] += os.pathsep + self.tmpdir output, error, retval = testsupport.run(self.which+' whichtestapp3') - self.failUnless(retval == 1, + self.assertTrue(retval == 1, "'which ...' should have returned 1: retval=%d" % retval) def test_PATHEXT_success(self): @@ -141,20 +141,20 @@ os.environ["PATHEXT"] += os.pathsep + '.wta' output, error, retval = testsupport.run(self.which+' whichtestapp3') expectedOutput = os.path.join(self.tmpdir, "whichtestapp3") - self.failUnless(self._match(output.strip(), expectedOutput), + self.assertTrue(self._match(output.strip(), expectedOutput), "Output, %r, and expected output, %r, do not match."\ % (output.strip(), expectedOutput)) - self.failUnless(retval == 0, + self.assertTrue(retval == 0, "'which ...' should have returned 0: retval=%d" % retval) def test_exts(self): RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./build.py RefactoringTool: Files that were modified: RefactoringTool: ./which.py RefactoringTool: ./test/testsupport.py RefactoringTool: ./test/test_which.py RefactoringTool: ./setup.py RefactoringTool: ./build.py os.environ["PATH"] += os.pathsep + self.tmpdir output, error, retval = testsupport.run(self.which+' -e .wta whichtestapp3') expectedOutput = os.path.join(self.tmpdir, "whichtestapp3") - self.failUnless(self._match(output.strip(), expectedOutput), + self.assertTrue(self._match(output.strip(), expectedOutput), "Output, %r, and expected output, %r, do not match."\ % (output.strip(), expectedOutput)) - self.failUnless(retval == 0, + self.assertTrue(retval == 0, "'which ...' should have returned 0: retval=%d" % retval) --- ./build.py (original) +++ ./build.py (refactored) @@ -129,7 +129,7 @@ def _rmtree_OnError(rmFunction, filePath, excInfo): if excInfo[0] == OSError: # presuming because file is read-only - os.chmod(filePath, 0777) + os.chmod(filePath, 0o777) rmFunction(filePath) def _rmtree(dirname): import shutil @@ -179,7 +179,7 @@ def _getTargets(): """Find all targets and return a dict of targetName:targetFunc items.""" targets = {} - for name, attr in sys.modules[__name__].__dict__.items(): + for name, attr in list(sys.modules[__name__].__dict__.items()): if name.startswith('target_'): targets[ name[len('target_'):] ] = attr return targets @@ -188,16 +188,16 @@ """Pretty print a list of targets.""" width = 77 nameWidth = 15 # min width - for name in targets.keys(): + for name in list(targets.keys()): nameWidth = max(nameWidth, len(name)) nameWidth += 2 # space btwn name and doc format = "%%-%ds%%s" % nameWidth - print format % ("TARGET", "DESCRIPTION") + print(format % ("TARGET", "DESCRIPTION")) for name, func in sorted(targets.items()): doc = _first_paragraph(func.__doc__ or "", True) if len(doc) > (width - nameWidth): doc = doc[:(width-nameWidth-3)] + "..." - print format % (name, doc) + print(format % (name, doc)) # Recipe: first_paragraph (1.0.1) in /Users/trentm/tm/recipes/cookbook @@ -234,7 +234,7 @@ ver = _get_project_version() dirs = ["dist", "build", "%s-%s" % (_project_name_, ver)] for d in dirs: - print "removing '%s'" % d + print("removing '%s'" % d) if os.path.isdir(d): _rmtree(d) patterns = ["*.pyc", "*~", "MANIFEST", @@ -243,7 +243,7 @@ ] for pattern in patterns: for file in glob.glob(pattern): - print "removing '%s'" % file + print("removing '%s'" % file) os.unlink(file) @@ -409,13 +409,13 @@ log.debug("build(targets=%r)" % targets) available = _getTargets() if not targets: - if available.has_key('default'): + if 'default' in available: return available['default']() else: log.warn("No default target available. Doing nothing.") else: for target in targets: - if available.has_key(target): + if target in available: retval = available[target]() if retval: raise Error("Error running '%s' target: retval=%s"\ + sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' which.py + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib copying which.py -> build/lib + popd ~/RPM/BUILD/python-module-which-1.1.0 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.60977 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-which-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-which-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python-module-which-1.1.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-which-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-which-buildroot creating /usr/src/tmp/python-module-which-buildroot/usr creating /usr/src/tmp/python-module-which-buildroot/usr/lib creating /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages copying build/lib/which.py -> /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages byte-compiling /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which.py to which.pyc running install_data creating /usr/src/tmp/python-module-which-buildroot/usr/bin running install_egg_info Writing /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which-1.1.0-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-which-1.1.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-which-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-which-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages copying build/lib/which.py -> /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which.py to which.cpython-39.pyc running install_data running install_egg_info Writing /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which-1.1.0-py3.9.egg-info + popd ~/RPM/BUILD/python-module-which-1.1.0 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-which-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-which-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python-module-which-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-which-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-which-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python-module-which-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-which-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which.pyc compile /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-which-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which.py Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/which.pyo' => './usr/lib/python2.7/site-packages/which.pyc' Bytecompiling python3 modules in /usr/src/tmp/python-module-which-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/__pycache__/which.cpython-39.pyc compile /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-which-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-which-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/which.cpython-39.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/which.cpython-39.pyc' Processing files: python-module-which-1.1.0-alt1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40780 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-which-1.1.0 + DOCDIR=/usr/src/tmp/python-module-which-buildroot/usr/share/doc/python-module-which-1.1.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python-module-which-1.1.0 + /bin/mkdir -p /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python-module-which-1.1.0 + cp -prL LICENSE.txt README.txt TODO.txt /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python-module-which-1.1.0 + chmod -R go-w /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python-module-which-1.1.0 + chmod -R a+rX /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python-module-which-1.1.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qdViA2 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.BoV330 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which.py: line=93 IGNORE (for REQ=slight and deep=12) module=_winreg shebang.req.files: executable script /usr/src/tmp/python-module-which-buildroot/usr/lib/python2.7/site-packages/which.py is not executable Provides: python2.7(which) Requires: /usr/lib/python2.7/site-packages, python2-base Processing files: python3-module-which-1.1.0-alt1.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.14591 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-which-1.1.0 + DOCDIR=/usr/src/tmp/python-module-which-buildroot/usr/share/doc/python3-module-which-1.1.0 + export DOCDIR + rm -rf /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python3-module-which-1.1.0 + /bin/mkdir -p /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python3-module-which-1.1.0 + cp -prL LICENSE.txt README.txt TODO.txt /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python3-module-which-1.1.0 + chmod -R go-w /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python3-module-which-1.1.0 + chmod -R a+rX /usr/src/tmp/python-module-which-buildroot/usr/share/doc/python3-module-which-1.1.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4J4B5Z 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.icDSE0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which.py: Ignore for REQ=slight module=winreg shebang.req.files: executable script /usr/src/tmp/python-module-which-buildroot/usr/lib/python3/site-packages/which.py is not executable Provides: python3(which) Requires: /usr/lib/python3/site-packages, python3(getopt) < 0, python3(os) < 0, python3(stat) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-which-1.1.0-alt1.2.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/python3-module-which-1.1.0-alt1.2.noarch.rpm (w2.lzdio) 2.93user 1.22system 0:07.58elapsed 54%CPU (0avgtext+0avgdata 30848maxresident)k 0inputs+0outputs (0major+249207minor)pagefaults 0swaps 4.12user 3.43system 0:21.45elapsed 35%CPU (0avgtext+0avgdata 128988maxresident)k 0inputs+0outputs (0major+329925minor)pagefaults 0swaps --- python-module-which-1.1.0-alt1.2.noarch.rpm.repo 2018-05-22 17:06:05.000000000 +0000 +++ python-module-which-1.1.0-alt1.2.noarch.rpm.hasher 2024-06-16 01:16:19.462517481 +0000 @@ -9,3 +9,3 @@ Requires: /usr/lib/python2.7/site-packages -Requires: python-base +Requires: python2-base Requires: rpmlib(PayloadIsLzma) @@ -21,2 +21,2 @@ File: /usr/share/doc/python-module-which-1.1.0/TODO.txt 100644 root:root 0e2506e52ed26c56ee1da75ac1c2e628 -RPMIdentity: 6a68ff0d5653aac83fb96444c83b835fce03990d9feae3d45cd5f3c7fbc0c70632b3a959663a15f8158b777272b95ce715f3a6b8d497cfab434754ceac00ee20 +RPMIdentity: 0751a2947aae147db76f489ff1cb8c5bc4a1b773bb695b6191362ce63620a9fc8618c02cf20a94bc92698fe0d539f99fe2fe403926c16998e035e7f1b6ddcbea --- python3-module-which-1.1.0-alt1.2.noarch.rpm.repo 2018-05-22 17:06:05.000000000 +0000 +++ python3-module-which-1.1.0-alt1.2.noarch.rpm.hasher 2024-06-16 01:16:19.532518638 +0000 @@ -1,6 +1,6 @@ /usr/lib/python3/site-packages/__pycache__ 40755 root:root -/usr/lib/python3/site-packages/__pycache__/which.cpython-36.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/which.cpython-36.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/which.cpython-36.pyc 100644 root:root -/usr/lib/python3/site-packages/which-1.1.0-py3.6.egg-info 100644 root:root +/usr/lib/python3/site-packages/__pycache__/which.cpython-39.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/which.cpython-39.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/which.cpython-39.pyc 100644 root:root +/usr/lib/python3/site-packages/which-1.1.0-py3.9.egg-info 100644 root:root /usr/lib/python3/site-packages/which.py 100644 root:root @@ -18,6 +18,6 @@ File: /usr/lib/python3/site-packages/__pycache__ 40755 root:root -File: /usr/lib/python3/site-packages/__pycache__/which.cpython-36.opt-1.pyc 100644 root:root 24d5557fe06da9bf318eef8477ea1d2a -File: /usr/lib/python3/site-packages/__pycache__/which.cpython-36.opt-2.pyc 100644 root:root b7022baaff75800f135c71b678963321 -File: /usr/lib/python3/site-packages/__pycache__/which.cpython-36.pyc 100644 root:root 24d5557fe06da9bf318eef8477ea1d2a -File: /usr/lib/python3/site-packages/which-1.1.0-py3.6.egg-info 100644 root:root 2a4155587ab5a7241c85b3fdd7f50513 +File: /usr/lib/python3/site-packages/__pycache__/which.cpython-39.opt-1.pyc 100644 root:root 6c81c71d3e72addbf2e879b8569d1212 +File: /usr/lib/python3/site-packages/__pycache__/which.cpython-39.opt-2.pyc 100644 root:root 01ea02fc60ed60968a468a344b8a8ac4 +File: /usr/lib/python3/site-packages/__pycache__/which.cpython-39.pyc 100644 root:root 6c81c71d3e72addbf2e879b8569d1212 +File: /usr/lib/python3/site-packages/which-1.1.0-py3.9.egg-info 100644 root:root 2a4155587ab5a7241c85b3fdd7f50513 File: /usr/lib/python3/site-packages/which.py 100644 root:root 39a1f501639291db2cac6690abbd8dd8 @@ -27,2 +27,2 @@ File: /usr/share/doc/python3-module-which-1.1.0/TODO.txt 100644 root:root 0e2506e52ed26c56ee1da75ac1c2e628 -RPMIdentity: c3ea63942ac532aad482b05508a560a87b1d653d8b13d4d77705a9ef02cf6000864da9a8c47f709be1b249e508f4e9449d047cf5285c950e31d2970e5d8ed7bb +RPMIdentity: a5d7fd424a42ec1b8c2f1389c5ce86312b94cd5bcfb0addea97792d50d1f27d6729f4867a2586a717d0a624f8071ca03a6593aac6d5ecb3654878f991760090f