<86>Apr 21 01:11:51 userdel[41270]: delete user 'rooter' <86>Apr 21 01:11:51 userdel[41270]: removed group 'rooter' owned by 'rooter' <86>Apr 21 01:11:51 userdel[41270]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 21 01:11:51 groupadd[41346]: group added to /etc/group: name=rooter, GID=615 <86>Apr 21 01:11:51 groupadd[41346]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:11:51 groupadd[41346]: new group: name=rooter, GID=615 <86>Apr 21 01:11:51 useradd[41364]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Apr 21 01:11:51 userdel[41407]: delete user 'builder' <86>Apr 21 01:11:51 userdel[41407]: removed group 'builder' owned by 'builder' <86>Apr 21 01:11:51 groupadd[41436]: group added to /etc/group: name=builder, GID=616 <86>Apr 21 01:11:51 groupadd[41436]: group added to /etc/gshadow: name=builder <86>Apr 21 01:11:51 groupadd[41436]: new group: name=builder, GID=616 <86>Apr 21 01:11:51 useradd[41458]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Apr 21 01:11:54 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 21 01:11:54 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 21 01:11:54 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:11:54 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:11:54 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:54 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:11:54 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:11:54 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:11:54 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:11:54 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:11:54 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 01:11:54 groupadd[53105]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:11:54 groupadd[53105]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:11:54 groupadd[53105]: new group: name=_keytab, GID=499 <13>Apr 21 01:11:54 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:11:55 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:11:55 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:55 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 21 01:11:55 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:55 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 21 01:11:55 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:55 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 21 01:11:56 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed Installing python-module-fastimport-0.9.4-alt1.1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.95289 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-fastimport-0.9.4 + echo 'Source #0 (python-module-fastimport-0.9.4.tar):' Source #0 (python-module-fastimport-0.9.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-fastimport-0.9.4.tar + cd python-module-fastimport-0.9.4 + /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.51160 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-fastimport-0.9.4 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/fastimport copying fastimport/processor.py -> build/lib/fastimport copying fastimport/parser.py -> build/lib/fastimport copying fastimport/helpers.py -> build/lib/fastimport copying fastimport/errors.py -> build/lib/fastimport copying fastimport/dates.py -> build/lib/fastimport copying fastimport/commands.py -> build/lib/fastimport copying fastimport/__init__.py -> build/lib/fastimport creating build/lib/fastimport/tests copying fastimport/tests/test_parser.py -> build/lib/fastimport/tests copying fastimport/tests/test_helpers.py -> build/lib/fastimport/tests copying fastimport/tests/test_filter_processor.py -> build/lib/fastimport/tests copying fastimport/tests/test_errors.py -> build/lib/fastimport/tests copying fastimport/tests/test_dates.py -> build/lib/fastimport/tests copying fastimport/tests/test_commands.py -> build/lib/fastimport/tests copying fastimport/tests/__init__.py -> build/lib/fastimport/tests creating build/lib/fastimport/processors copying fastimport/processors/query_processor.py -> build/lib/fastimport/processors copying fastimport/processors/filter_processor.py -> build/lib/fastimport/processors copying fastimport/processors/__init__.py -> build/lib/fastimport/processors + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-fastimport-0.9.4 + 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: No changes to ./setup.py RefactoringTool: Refactored ./fastimport/tests/test_parser.py --- ./fastimport/tests/test_parser.py (original) +++ ./fastimport/tests/test_parser.py (refactored) @@ -15,7 +15,7 @@ """Test the Import parsing""" -import StringIO +import io import time import unittest @@ -29,7 +29,7 @@ class TestLineBasedParser(unittest.TestCase): def test_push_line(self): - s = StringIO.StringIO("foo\nbar\nbaz\n") + s = io.StringIO("foo\nbar\nbaz\n") p = parser.LineBasedParser(s) self.assertEqual('foo', p.next_line()) self.assertEqual('bar', p.next_line()) @@ -39,7 +39,7 @@ self.assertEqual(None, p.next_line()) def test_read_bytes(self): - s = StringIO.StringIO("foo\nbar\nbaz\n") + s = io.StringIO("foo\nbar\nbaz\n") p = parser.LineBasedParser(s) self.assertEqual('fo', p.read_bytes(2)) self.assertEqual('o\nb', p.read_bytes(3)) @@ -53,7 +53,7 @@ def test_read_until(self): # TODO return - s = StringIO.StringIO("foo\nbar\nbaz\nabc\ndef\nghi\n") + s = io.StringIO("foo\nbar\nbaz\nabc\ndef\nghi\n") p = parser.LineBasedParser(s) self.assertEqual('foo\nbar', p.read_until('baz')) self.assertEqual('abc', p.next_line()) @@ -153,7 +153,7 @@ del self.fake_time def test_iter_commands(self): - s = StringIO.StringIO(_sample_import_text) + s = io.StringIO(_sample_import_text) p = parser.ImportParser(s) result = [] for cmd in p.iter_commands(): @@ -199,7 +199,7 @@ file_cmd1 = result.pop(0) self.assertEqual('filemodify', file_cmd1.name) self.assertEqual('README', file_cmd1.path) - self.assertEqual(0100644, file_cmd1.mode) + self.assertEqual(0o100644, file_cmd1.mode) self.assertEqual('Welcome from bugs\n', file_cmd1.data) cmd5 = result.pop(0) self.assertEqual('commit', cmd5.name) @@ -215,7 +215,7 @@ file_cmd2 = result.pop(0) self.assertEqual('filemodify', file_cmd2.name) self.assertEqual('README', file_cmd2.path) - self.assertEqual(0100644, file_cmd2.mode) + self.assertEqual(0o100644, file_cmd2.mode) self.assertEqual('Welcome from bugs, etc.', file_cmd2.data) cmd6 = result.pop(0) self.assertEqual(cmd6.name, 'checkpoint') @@ -237,7 +237,7 @@ file_cmd1 = result.pop(0) self.assertEqual('filemodify', file_cmd1.name) self.assertEqual('tree-id', file_cmd1.path) - self.assertEqual(0160000, file_cmd1.mode) + self.assertEqual(0o160000, file_cmd1.mode) self.assertEqual("rev-id", file_cmd1.dataref) cmd = result.pop(0) self.assertEqual('feature', cmd.name) @@ -253,9 +253,9 @@ self.assertEqual('test of properties', cmd.message) self.assertEqual({ 'p1': None, - 'p2': u'hohum', - 'p3': u'alpha\nbeta\ngamma', - 'p4': u'whatever', + 'p2': 'hohum', + 'p3': 'alpha\nbeta\ngamma', + 'p4': 'whatever', }, cmd.properties) cmd = result.pop(0) self.assertEqual('commit', cmd.name) @@ -271,37 +271,37 @@ self.assertEqual('donald@duck.org', cmd.more_authors[1][1]) def test_done_feature_missing_done(self): - s = StringIO.StringIO("""feature done + s = io.StringIO("""feature done """) p = parser.ImportParser(s) cmds = p.iter_commands() - self.assertEquals("feature", cmds.next().name) - self.assertRaises(errors.PrematureEndOfStream, cmds.next) + self.assertEqual("feature", cmds.next().name) + self.assertRaises(errors.PrematureEndOfStream, cmds.__next__) def test_done_with_feature(self): - s = StringIO.StringIO("""feature done + s = io.StringIO("""feature done done more data """) p = parser.ImportParser(s) cmds = p.iter_commands() - self.assertEquals("feature", cmds.next().name) - self.assertRaises(StopIteration, cmds.next) + self.assertEqual("feature", cmds.nRefactoringTool: No changes to ./fastimport/tests/test_helpers.py RefactoringTool: Refactored ./fastimport/tests/test_filter_processor.py RefactoringTool: No changes to ./fastimport/tests/test_errors.py RefactoringTool: Refactored ./fastimport/tests/test_dates.py RefactoringTool: Refactored ./fastimport/tests/test_commands.py ext().name) + self.assertRaises(StopIteration, cmds.__next__) def test_done_without_feature(self): - s = StringIO.StringIO("""done + s = io.StringIO("""done more data """) p = parser.ImportParser(s) cmds = p.iter_commands() - self.assertEquals([], list(cmds)) + self.assertEqual([], list(cmds)) class TestStringParsing(unittest.TestCase): def test_unquote(self): s = r'hello \"sweet\" wo\\r\tld' - self.assertEquals(r'hello "sweet" wo\r' + "\tld", + self.assertEqual(r'hello "sweet" wo\r' + "\tld", parser._unquote_c_string(s)) @@ -320,20 +320,20 @@ class TestTagParsing(unittest.TestCase): def test_tagger_with_email(self): - p = parser.ImportParser(StringIO.StringIO( + p = parser.ImportParser(io.StringIO( "tag refs/tags/v1.0\n" "from :xxx\n" "tagger Joe Wong 1234567890 -0600\n" "data 11\n" "create v1.0")) cmds = list(p.iter_commands()) - self.assertEquals(1, len(cmds)) + self.assertEqual(1, len(cmds)) self.assertTrue(isinstance(cmds[0], commands.TagCommand)) - self.assertEquals(cmds[0].tagger, + self.assertEqual(cmds[0].tagger, ('Joe Wong', 'joe@example.com', 1234567890.0, -21600)) def test_tagger_no_email_strict(self): - p = parser.ImportParser(StringIO.StringIO( + p = parser.ImportParser(io.StringIO( "tag refs/tags/v1.0\n" "from :xxx\n" "tagger Joe Wong\n" @@ -342,13 +342,13 @@ self.assertRaises(errors.BadFormat, list, p.iter_commands()) def test_tagger_no_email_not_strict(self): - p = parser.ImportParser(StringIO.StringIO( + p = parser.ImportParser(io.StringIO( "tag refs/tags/v1.0\n" "from :xxx\n" "tagger Joe Wong\n" "data 11\n" "create v1.0"), strict=False) cmds = list(p.iter_commands()) - self.assertEquals(1, len(cmds)) + self.assertEqual(1, len(cmds)) self.assertTrue(isinstance(cmds[0], commands.TagCommand)) - self.assertEquals(cmds[0].tagger[:2], ('Joe Wong', None)) + self.assertEqual(cmds[0].tagger[:2], ('Joe Wong', None)) --- ./fastimport/tests/test_filter_processor.py (original) +++ ./fastimport/tests/test_filter_processor.py (refactored) @@ -15,7 +15,7 @@ """Test FilterProcessor""" -from cStringIO import StringIO +from io import StringIO from unittest import TestCase @@ -113,7 +113,7 @@ p = parser.ImportParser(s) proc.process(p.iter_commands) out = outf.getvalue() - self.assertEquals(expected, out) + self.assertEqual(expected, out) class TestNoFiltering(TestCaseWithFiltering): --- ./fastimport/tests/test_dates.py (original) +++ ./fastimport/tests/test_dates.py (refactored) @@ -24,11 +24,11 @@ class ParseTzTests(TestCase): def test_parse_tz_utc(self): - self.assertEquals(0, dates.parse_tz("+0000")) - self.assertEquals(0, dates.parse_tz("-0000")) + self.assertEqual(0, dates.parse_tz("+0000")) + self.assertEqual(0, dates.parse_tz("-0000")) def test_parse_tz_cet(self): - self.assertEquals(3600, dates.parse_tz("+0100")) + self.assertEqual(3600, dates.parse_tz("+0100")) def test_parse_tz_odd(self): - self.assertEquals(1864800, dates.parse_tz("+51800")) + self.assertEqual(1864800, dates.parse_tz("+51800")) --- ./fastimport/tests/test_commands.py (original) +++ ./fastimport/tests/test_commands.py (refactored) @@ -58,7 +58,7 @@ def test_commit_unicode_committer(self): # user tuple is (name, email, secs-since-epoch, secs-offset-from-utc) - name = u'\u013d\xf3r\xe9m \xcdp\u0161\xfam' + name = '\u013d\xf3r\xe9m \xcdp\u0161\xfam' name_utf8 = name.encode('utf8') committer = (name, 'test@example.com', 1234567890, -6 * 3600) c = commands.CommitCommand("refs/heads/master", "bRefactoringTool: No changes to ./fastimport/tests/__init__.py RefactoringTool: Refactored ./fastimport/processors/query_processor.py bb", None, committer, @@ -133,7 +133,7 @@ def test_commit_with_filecommands(self): file_cmds = iter([ commands.FileDeleteCommand('readme.txt'), - commands.FileModifyCommand('NEWS', 0100644, None, + commands.FileModifyCommand('NEWS', 0o100644, None, 'blah blah blah'), ]) # user tuple is (name, email, secs-since-epoch, secs-offset-from-utc) @@ -180,8 +180,8 @@ # user tuple is (name, email, secs-since-epoch, secs-offset-from-utc) committer = ('Joe Wong', 'joe@example.com', 1234567890, -6 * 3600) properties = { - u'greeting': u'hello', - u'planet': u'world', + 'greeting': 'hello', + 'planet': 'world', } c = commands.CommitCommand("refs/heads/master", "bbb", None, committer, "release v1.0", ":aaa", None, None, @@ -203,7 +203,7 @@ super(TestCommitCopy, self).setUp() file_cmds = iter([ commands.FileDeleteCommand('readme.txt'), - commands.FileModifyCommand('NEWS', 0100644, None, 'blah blah blah'), + commands.FileModifyCommand('NEWS', 0o100644, None, 'blah blah blah'), ]) committer = ('Joe Wong', 'joe@example.com', 1234567890, -6 * 3600) @@ -284,24 +284,24 @@ class TestFileModifyDisplay(TestCase): def test_filemodify_file(self): - c = commands.FileModifyCommand("foo/bar", 0100644, ":23", None) + c = commands.FileModifyCommand("foo/bar", 0o100644, ":23", None) self.assertEqual("M 644 :23 foo/bar", repr(c)) def test_filemodify_file_executable(self): - c = commands.FileModifyCommand("foo/bar", 0100755, ":23", None) + c = commands.FileModifyCommand("foo/bar", 0o100755, ":23", None) self.assertEqual("M 755 :23 foo/bar", repr(c)) def test_filemodify_file_internal(self): - c = commands.FileModifyCommand("foo/bar", 0100644, None, + c = commands.FileModifyCommand("foo/bar", 0o100644, None, "hello world") self.assertEqual("M 644 inline foo/bar\ndata 11\nhello world", repr(c)) def test_filemodify_symlink(self): - c = commands.FileModifyCommand("foo/bar", 0120000, None, "baz") + c = commands.FileModifyCommand("foo/bar", 0o120000, None, "baz") self.assertEqual("M 120000 inline foo/bar\ndata 3\nbaz", repr(c)) def test_filemodify_treeref(self): - c = commands.FileModifyCommand("tree-info", 0160000, + c = commands.FileModifyCommand("tree-info", 0o160000, "revision-id-info", None) self.assertEqual("M 160000 revision-id-info tree-info", repr(c)) @@ -362,7 +362,7 @@ from_=None, merges=[], file_iter=[ - commands.FileModifyCommand('bar', 0100644, None, '') + commands.FileModifyCommand('bar', 0o100644, None, '') ]), commands.CommitCommand( ref='refs/notes/commits', @@ -423,9 +423,9 @@ def test_filemodify_path_checking(self): self.assertRaises(ValueError, commands.FileModifyCommand, "", - 0100644, None, "text") + 0o100644, None, "text") self.assertRaises(ValueError, commands.FileModifyCommand, None, - 0100644, None, "text") + 0o100644, None, "text") def test_filedelete_path_checking(self): self.assertRaises(ValueError, commands.FileDeleteCommand, "") --- ./fastimport/processors/query_processor.py (original) +++ ./fastimport/processors/query_processor.py (refactored) @@ -40,7 +40,7 @@ if 'commit-mark' in params: self.interesting_commit = params['commit-mark'] del params['commit-mark'] - for name, value in params.iteritems(): + for name, value in params.items(): if value == 1: # All fields fields = None @@ -54,13 +54,13 @@ return if self.interesRefactoringTool: No changes to ./fastimport/processors/filter_processor.py RefactoringTool: Refactored ./fastimport/processor.py RefactoringTool: Refactored ./fastimport/parser.py RefactoringTool: No changes to ./fastimport/helpers.py RefactoringTool: Refactored ./fastimport/errors.py ting_commit and cmd.name == 'commit': if cmd.mark == self.interesting_commit: - print cmd.to_string() + print(cmd.to_string()) self._finished = True return - if self.parsed_params.has_key(cmd.name): + if cmd.name in self.parsed_params: fields = self.parsed_params[cmd.name] str = cmd.dump_str(fields, self.parsed_params, self.verbose) - print "%s" % (str,) + print("%s" % (str,)) def progress_handler(self, cmd): """Process a ProgressCommand.""" --- ./fastimport/processor.py (original) +++ ./fastimport/processor.py (refactored) @@ -33,7 +33,7 @@ import sys import time -import errors +from . import errors class ImportProcessor(object): --- ./fastimport/parser.py (original) +++ ./fastimport/parser.py (refactored) @@ -526,7 +526,7 @@ try: when = self.date_parser(datestr, self.lineno) except ValueError: - print "failed to parse datestr '%s'" % (datestr,) + print("failed to parse datestr '%s'" % (datestr,)) raise name = match.group(1) email = match.group(2) @@ -592,7 +592,7 @@ parts[1] = parts[1][1:-1] elif parts[1].startswith('"') or parts[1].endswith('"'): self.abort(errors.BadFormat, '?', '?', s) - return map(_unquote_c_string, parts) + return list(map(_unquote_c_string, parts)) def _mode(self, s): """Check file mode format and parse into an int. @@ -601,15 +601,15 @@ """ # Note: Output from git-fast-export slightly different to spec if s in ['644', '100644', '0100644']: - return 0100644 + return 0o100644 elif s in ['755', '100755', '0100755']: - return 0100755 + return 0o100755 elif s in ['040000', '0040000']: - return 040000 + return 0o40000 elif s in ['120000', '0120000']: - return 0120000 + return 0o120000 elif s in ['160000', '0160000']: - return 0160000 + return 0o160000 else: self.abort(errors.BadFormat, 'filemodify', 'mode', s) --- ./fastimport/errors.py (original) +++ ./fastimport/errors.py (refactored) @@ -20,18 +20,18 @@ # ImportError is heavily based on BzrError -class ImportError(StandardError): +class ImportError(Exception): """The base exception class for all import processing exceptions.""" _fmt = "Unknown Import Error" def __init__(self, msg=None, **kwds): - StandardError.__init__(self) + Exception.__init__(self) if msg is not None: self._preformatted_string = msg else: self._preformatted_string = None - for key, value in kwds.items(): + for key, value in list(kwds.items()): setattr(self, key, value) def _format(self): @@ -47,7 +47,7 @@ # __str__() should always return a 'str' object # never a 'unicode' object. return s - except (AttributeError, TypeError, NameError, ValueError, KeyError), e: + except (AttributeError, TypeError, NameError, ValueError, KeyError) as e: return 'Unprintable exception %s: dict=%r, fmt=%r, error=%r' \ % (self.__class__.__name__, self.__dict__, @@ -58,16 +58,16 @@ u = self._format() if isinstance(u, str): # Try decoding the str using the default encoding. - u = unicode(u) - elif not isinstance(u, unicode): + u = str(u) + elif not isinstance(u, str): # Try to make a unicode object from it, because __unicode__ must # return a unicode object. - u = unicode(u) + u = str(u) return u def __str__(self): s = self._format() - if isinstance(s, unicode): + if isinstance(s, str)RefactoringTool: No changes to ./fastimport/dates.py RefactoringTool: Refactored ./fastimport/commands.py RefactoringTool: No changes to ./fastimport/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./fastimport/tests/test_parser.py RefactoringTool: ./fastimport/tests/test_helpers.py RefactoringTool: ./fastimport/tests/test_filter_processor.py RefactoringTool: ./fastimport/tests/test_errors.py RefactoringTool: ./fastimport/tests/test_dates.py RefactoringTool: ./fastimport/tests/test_commands.py RefactoringTool: ./fastimport/tests/__init__.py RefactoringTool: ./fastimport/processors/query_processor.py RefactoringTool: ./fastimport/processors/filter_processor.py RefactoringTool: ./fastimport/processor.py RefactoringTool: ./fastimport/parser.py RefactoringTool: ./fastimport/helpers.py RefactoringTool: ./fastimport/errors.py RefactoringTool: ./fastimport/dates.py RefactoringTool: ./fastimport/commands.py RefactoringTool: ./fastimport/__init__.py : s = s.encode('utf8') else: # __str__ must return a str. --- ./fastimport/commands.py (original) +++ ./fastimport/commands.py (refactored) @@ -20,6 +20,7 @@ """ import stat +import collections # There is a bug in git 1.5.4.3 and older by which unquoting a string consumes # one extra character. Set this variable to True to work-around it. It only @@ -74,7 +75,7 @@ """ interesting = {} if names is None: - fields = [k for k in self.__dict__.keys() if not k.startswith('_')] + fields = [k for k in list(self.__dict__.keys()) if not k.startswith('_')] else: fields = names for field in fields: @@ -146,7 +147,7 @@ if not isinstance(self.file_iter, list): self.file_iter = list(self.file_iter) - fields = dict((k, v) for k, v in self.__dict__.iteritems() + fields = dict((k, v) for k, v in self.__dict__.items() if k not in ('id', 'name') if not k.startswith('_')) fields.update(kwargs) @@ -221,7 +222,7 @@ def iter_files(self): """Iterate over files.""" # file_iter may be a callable or an iterator - if callable(self.file_iter): + if isinstance(self.file_iter, collections.Callable): return self.file_iter() return iter(self.file_iter) @@ -321,15 +322,15 @@ return self.to_string(include_file_contents=False) def _format_mode(self, mode): - if mode in (0755, 0100755): + if mode in (0o755, 0o100755): return "755" - elif mode in (0644, 0100644): + elif mode in (0o644, 0o100644): return "644" - elif mode == 040000: + elif mode == 0o40000: return "040000" - elif mode == 0120000: + elif mode == 0o120000: return "120000" - elif mode == 0160000: + elif mode == 0o160000: return "160000" else: raise AssertionError("Unknown mode %o" % mode) @@ -450,10 +451,10 @@ sep = '' else: sep = ' ' - if isinstance(name, unicode): + if isinstance(name, str): name = name.encode('utf8') email = fields[1] - if isinstance(email, unicode): + if isinstance(email, str): email = email.encode('utf8') result = "%s%s<%s> %d %s" % (name, sep, email, fields[2], offset_str) return result + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/fastimport copying fastimport/commands.py -> build/lib/fastimport copying fastimport/errors.py -> build/lib/fastimport copying fastimport/parser.py -> build/lib/fastimport copying fastimport/processor.py -> build/lib/fastimport copying fastimport/helpers.py -> build/lib/fastimport copying fastimport/dates.py -> build/lib/fastimport copying fastimport/__init__.py -> build/lib/fastimport creating build/lib/fastimport/tests copying fastimport/tests/test_commands.py -> build/lib/fastimport/tests copying fastimport/tests/test_dates.py -> build/lib/fastimport/tests copying fastimport/tests/test_filter_processor.py -> build/lib/fastimport/tests copying fastimport/tests/test_parser.py -> build/lib/fastimport/tests copying fastimport/tests/test_helpers.py -> build/lib/fastimport/tests copying fastimport/tests/test_errors.py -> build/lib/fastimport/tests copying fastimport/tests/__init__.py -> build/lib/fastimport/tests creating build/lib/fastimport/processors copying fastimport/processors/query_processor.py -> build/lib/fastimport/processors copying fastimport/processors/filter_processor.py -> build/lib/fastimport/processors copying fastimport/processors/__init__.py -> build/lib/fastimport/processors + popd ~/RPM/BUILD/python-module-fastimport-0.9.4 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.87145 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-fastimport-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-fastimport-buildroot + cd python-module-fastimport-0.9.4 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-fastimport-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-fastimport-buildroot creating /usr/src/tmp/python-module-fastimport-buildroot/usr creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors copying build/lib/fastimport/processors/__init__.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors copying build/lib/fastimport/processors/filter_processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors copying build/lib/fastimport/processors/query_processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/tests/__init__.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_commands.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_dates.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_errors.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_filter_processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_helpers.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_parser.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests copying build/lib/fastimport/__init__.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport copying build/lib/fastimport/commands.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport copying build/lib/fastimport/dates.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport copying build/lib/fastimport/errors.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport copying build/lib/fastimport/helpers.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport copying build/lib/fastimport/parser.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport copying build/lib/fastimport/processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/filter_processor.py to filter_processor.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/query_processor.py to query_processor.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_commands.py to test_commands.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_dates.py to test_dates.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_errors.py to test_errors.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_filter_processor.py to test_filter_processor.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_helpers.py to test_helpers.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_parser.py to test_parser.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/commands.py to commands.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/dates.py to dates.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/errors.py to errors.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/helpers.py to helpers.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/parser.py to parser.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processor.py to processor.pyc running install_egg_info Writing /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport-0.9.4-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-fastimport-0.9.4 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-fastimport-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors copying build/lib/fastimport/processors/__init__.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors copying build/lib/fastimport/processors/filter_processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors copying build/lib/fastimport/processors/query_processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors creating /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/tests/__init__.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_errors.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_helpers.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_parser.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_filter_processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_dates.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/tests/test_commands.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests copying build/lib/fastimport/__init__.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport copying build/lib/fastimport/dates.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport copying build/lib/fastimport/helpers.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport copying build/lib/fastimport/processor.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport copying build/lib/fastimport/parser.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport copying build/lib/fastimport/errors.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport copying build/lib/fastimport/commands.py -> /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/filter_processor.py to filter_processor.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/query_processor.py to query_processor.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_errors.py to test_errors.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_helpers.py to test_helpers.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_parser.py to test_parser.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_filter_processor.py to test_filter_processor.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_dates.py to test_dates.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_commands.py to test_commands.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/dates.py to dates.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/helpers.py to helpers.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processor.py to processor.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/parser.py to parser.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/errors.py to errors.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/commands.py to commands.cpython-35.pyc running install_egg_info Writing /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport-0.9.4-py3.5.egg-info + popd ~/RPM/BUILD/python-module-fastimport-0.9.4 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-fastimport-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-fastimport-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-fastimport-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-fastimport-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-fastimport-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-fastimport-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/__init__.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/filter_processor.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/query_processor.pyc compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/query_processor.py unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/__init__.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_commands.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_dates.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_errors.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_filter_processor.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_helpers.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_parser.pyc compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_parser.py unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/__init__.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/commands.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/dates.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/errors.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/helpers.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/parser.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processor.pyc compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processor.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-fastimport-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/query_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/tests/test_parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processor.py Bytecompiling python3 modules in /usr/src/tmp/python-module-fastimport-buildroot using python3 unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-35.pyc compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/query_processor.py unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-35.pyc unlink /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-35.pyc compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processor.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-fastimport-buildroot using python3 -O compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/query_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processor.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-fastimport-buildroot using python3 -OO compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processors/query_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_filter_processor.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/__init__.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/commands.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/dates.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/errors.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/helpers.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/parser.py compile /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processor.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/tests/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/tests/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/fastimport/processor.pyo' => './usr/lib/python2.7/site-packages/fastimport/processor.pyc' './usr/lib/python2.7/site-packages/fastimport/parser.pyo' => './usr/lib/python2.7/site-packages/fastimport/parser.pyc' './usr/lib/python2.7/site-packages/fastimport/helpers.pyo' => './usr/lib/python2.7/site-packages/fastimport/helpers.pyc' './usr/lib/python2.7/site-packages/fastimport/errors.pyo' => './usr/lib/python2.7/site-packages/fastimport/errors.pyc' './usr/lib/python2.7/site-packages/fastimport/dates.pyo' => './usr/lib/python2.7/site-packages/fastimport/dates.pyc' './usr/lib/python2.7/site-packages/fastimport/commands.pyo' => './usr/lib/python2.7/site-packages/fastimport/commands.pyc' './usr/lib/python2.7/site-packages/fastimport/__init__.pyo' => './usr/lib/python2.7/site-packages/fastimport/__init__.pyc' './usr/lib/python2.7/site-packages/fastimport/tests/test_parser.pyo' => './usr/lib/python2.7/site-packages/fastimport/tests/test_parser.pyc' './usr/lib/python2.7/site-packages/fastimport/tests/test_helpers.pyo' => './usr/lib/python2.7/site-packages/fastimport/tests/test_helpers.pyc' './usr/lib/python2.7/site-packages/fastimport/tests/test_filter_processor.pyo' => './usr/lib/python2.7/site-packages/fastimport/tests/test_filter_processor.pyc' './usr/lib/python2.7/site-packages/fastimport/tests/test_errors.pyo' => './usr/lib/python2.7/site-packages/fastimport/tests/test_errors.pyc' './usr/lib/python2.7/site-packages/fastimport/tests/test_dates.pyo' => './usr/lib/python2.7/site-packages/fastimport/tests/test_dates.pyc' './usr/lib/python2.7/site-packages/fastimport/tests/test_commands.pyo' => './usr/lib/python2.7/site-packages/fastimport/tests/test_commands.pyc' './usr/lib/python2.7/site-packages/fastimport/tests/__init__.pyo' => './usr/lib/python2.7/site-packages/fastimport/tests/__init__.pyc' './usr/lib/python2.7/site-packages/fastimport/processors/query_processor.pyo' => './usr/lib/python2.7/site-packages/fastimport/processors/query_processor.pyc' './usr/lib/python2.7/site-packages/fastimport/processors/filter_processor.pyo' => './usr/lib/python2.7/site-packages/fastimport/processors/filter_processor.pyc' './usr/lib/python2.7/site-packages/fastimport/processors/__init__.pyo' => './usr/lib/python2.7/site-packages/fastimport/processors/__init__.pyc' Processing files: python-module-fastimport-0.9.4-alt1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.40161 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-fastimport-0.9.4 + DOCDIR=/usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python-module-fastimport-0.9.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python-module-fastimport-0.9.4 + /bin/mkdir -p /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python-module-fastimport-0.9.4 + cp -prL PKG-INFO /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python-module-fastimport-0.9.4 + chmod -R go-w /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python-module-fastimport-0.9.4 + chmod -R a+rX /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python-module-fastimport-0.9.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ru2lXD 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.JBVKQg find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/commands.py: line=426 IGNORE (for REQ=slight and deep=12) module=re python.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/dates.py: hiding fastimport, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/helpers.py: line=39 IGNORE (for REQ=slight and deep=8) module=posixpath python.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/parser.py: skipping sys python.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/parser.py: hiding fastimport, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processor.py: skipping sys python.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processor.py: hiding errors, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/filter_processor.py: hiding fastimport, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python2.7/site-packages/fastimport/processors/query_processor.py: hiding fastimport, which SEEMS TO BE SELF-SATISFIED Provides: python2.7(fastimport), python2.7(fastimport.commands), python2.7(fastimport.dates), python2.7(fastimport.errors), python2.7(fastimport.helpers), python2.7(fastimport.parser), python2.7(fastimport.processor), python2.7(fastimport.processors), python2.7(fastimport.processors.filter_processor), python2.7(fastimport.processors.query_processor) Requires: /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-fastimport-0.9.4-alt1.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.20842 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-fastimport-0.9.4 + DOCDIR=/usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python3-module-fastimport-0.9.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python3-module-fastimport-0.9.4 + /bin/mkdir -p /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python3-module-fastimport-0.9.4 + cp -prL PKG-INFO /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python3-module-fastimport-0.9.4 + chmod -R go-w /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python3-module-fastimport-0.9.4 + chmod -R a+rX /usr/src/tmp/python-module-fastimport-buildroot/usr/share/doc/python3-module-fastimport-0.9.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xDTRbX 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.hV0xrG find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/commands.py: line=427 IGNORE (for REQ=slight and deep=12) module=re python3.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/dates.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/helpers.py: line=39 IGNORE (for REQ=slight and deep=8) module=posixpath python3.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/parser.py: skipping sys python3.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processor.py: skipping sys python3.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processor.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/processor.py: line=36 possible relative import from ., UNIMPLEMENTED Provides: python3(fastimport), python3.3(fastimport), python3(fastimport.commands), python3(fastimport.dates), python3(fastimport.errors), python3(fastimport.helpers), python3(fastimport.parser), python3(fastimport.processor), python3(fastimport.processors), python3(fastimport.processors.filter_processor), python3(fastimport.processors.query_processor), python3.3(fastimport.commands), python3.3(fastimport.dates), python3.3(fastimport.errors), python3.3(fastimport.helpers), python3.3(fastimport.parser), python3.3(fastimport.processor), python3.3(fastimport.processors), python3.3(fastimport.processors.filter_processor), python3.3(fastimport.processors.query_processor) Requires: /usr/lib/python3/site-packages, python3(collections) < 0, python3(re) < 0, python3(stat) < 0 Processing files: python3-module-fastimport-tests-0.9.4-alt1.1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HsFfev 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.XictUm find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python3.req: /usr/src/tmp/python-module-fastimport-buildroot/usr/lib/python3/site-packages/fastimport/tests/test_parser.py: skipping time Provides: python3(fastimport.tests), python3(fastimport.tests.test_commands), python3(fastimport.tests.test_dates), python3(fastimport.tests.test_errors), python3(fastimport.tests.test_filter_processor), python3(fastimport.tests.test_helpers), python3(fastimport.tests.test_parser), python3.3(fastimport.tests), python3.3(fastimport.tests.test_commands), python3.3(fastimport.tests.test_dates), python3.3(fastimport.tests.test_errors), python3.3(fastimport.tests.test_filter_processor), python3.3(fastimport.tests.test_helpers), python3.3(fastimport.tests.test_parser) Requires: python3-module-fastimport = 0.9.4-alt1.1.1, /usr/lib/python3/site-packages, python3(fastimport) < 0, python3(io) < 0, python3(unittest) < 0 Processing files: python-module-fastimport-tests-0.9.4-alt1.1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.d9YSth 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.5yyGVe find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Provides: python2.7(fastimport.tests), python2.7(fastimport.tests.test_commands), python2.7(fastimport.tests.test_dates), python2.7(fastimport.tests.test_errors), python2.7(fastimport.tests.test_filter_processor), python2.7(fastimport.tests.test_helpers), python2.7(fastimport.tests.test_parser) Requires: python-module-fastimport = 0.9.4-alt1.1.1, /usr/lib/python2.7/site-packages, python-base, python2.7(fastimport), python2.7(unittest) Removing 1 extra deps from python-module-fastimport-tests due to dependency on python-module-fastimport Removing 1 extra deps from python3-module-fastimport-tests due to dependency on python3-module-fastimport Removing 1 extra deps from python-module-fastimport-tests due to repentancy on python-module-fastimport Removing 1 extra deps from python3-module-fastimport-tests due to repentancy on python3-module-fastimport Wrote: /usr/src/RPM/RPMS/noarch/python-module-fastimport-0.9.4-alt1.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-fastimport-0.9.4-alt1.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-fastimport-tests-0.9.4-alt1.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python-module-fastimport-tests-0.9.4-alt1.1.1.noarch.rpm 6.04user 0.64system 0:15.12elapsed 44%CPU (0avgtext+0avgdata 33352maxresident)k 0inputs+0outputs (0major+300352minor)pagefaults 0swaps 10.06user 2.66system 0:23.10elapsed 55%CPU (0avgtext+0avgdata 122116maxresident)k 0inputs+0outputs (0major+578146minor)pagefaults 0swaps --- python3-module-fastimport-0.9.4-alt1.1.1.noarch.rpm.repo 2016-03-14 08:29:25.000000000 +0000 +++ python3-module-fastimport-0.9.4-alt1.1.1.noarch.rpm.hasher 2019-04-21 01:12:12.948770091 +0000 @@ -1,17 +1,26 @@ /usr/lib/python3/site-packages/fastimport 40755 -/usr/lib/python3/site-packages/fastimport-0.9.4-py3.3.egg-info 100644 +/usr/lib/python3/site-packages/fastimport-0.9.4-py3.5.egg-info 100644 /usr/lib/python3/site-packages/fastimport/__init__.py 100644 /usr/lib/python3/site-packages/fastimport/__pycache__ 40755 -/usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/commands.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/dates.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/errors.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/helpers.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/parser.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/__pycache__/processor.cpython-35.pyc 100644 /usr/lib/python3/site-packages/fastimport/commands.py 100644 @@ -25,6 +34,11 @@ /usr/lib/python3/site-packages/fastimport/processors/__pycache__ 40755 -/usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/filter_processor.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/processors/__pycache__/query_processor.cpython-35.pyc 100644 /usr/lib/python3/site-packages/fastimport/processors/filter_processor.py 100644 @@ -34,6 +48,5 @@ Requires: /usr/lib/python3/site-packages -Requires: python3.3(collections) -Requires: python3.3(re) -Requires: python3.3(stat) -Requires: python3.3(time) +Requires: python3(collections) < 0 +Requires: python3(re) < 0 +Requires: python3(stat) < 0 Requires: rpmlib(PayloadIsLzma) --- python3-module-fastimport-tests-0.9.4-alt1.1.1.noarch.rpm.repo 2016-03-14 08:29:25.000000000 +0000 +++ python3-module-fastimport-tests-0.9.4-alt1.1.1.noarch.rpm.hasher 2019-04-21 01:12:12.981769760 +0000 @@ -3,14 +3,23 @@ /usr/lib/python3/site-packages/fastimport/tests/__pycache__ 40755 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_commands.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_dates.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_errors.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_filter_processor.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_helpers.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/fastimport/tests/__pycache__/test_parser.cpython-35.pyc 100644 /usr/lib/python3/site-packages/fastimport/tests/test_commands.py 100644 @@ -22,4 +31,4 @@ Requires: python3-module-fastimport = 0.9.4-alt1.1.1 -Requires: python3.3(io) -Requires: python3.3(unittest) +Requires: python3(io) < 0 +Requires: python3(unittest) < 0 Requires: rpmlib(PayloadIsLzma)