<86>Jan 23 06:51:47 userdel[890]: delete user 'rooter' <86>Jan 23 06:51:47 userdel[890]: removed group 'rooter' owned by 'rooter' <86>Jan 23 06:51:47 userdel[890]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 23 06:51:47 groupadd[895]: group added to /etc/group: name=rooter, GID=561 <86>Jan 23 06:51:47 groupadd[895]: group added to /etc/gshadow: name=rooter <86>Jan 23 06:51:47 groupadd[895]: new group: name=rooter, GID=561 <86>Jan 23 06:51:47 useradd[899]: new user: name=rooter, UID=561, GID=561, home=/root, shell=/bin/bash <86>Jan 23 06:51:47 userdel[906]: delete user 'builder' <86>Jan 23 06:51:47 userdel[906]: removed group 'builder' owned by 'builder' <86>Jan 23 06:51:47 userdel[906]: removed shadow group 'builder' owned by 'builder' <86>Jan 23 06:51:47 groupadd[912]: group added to /etc/group: name=builder, GID=562 <86>Jan 23 06:51:47 groupadd[912]: group added to /etc/gshadow: name=builder <86>Jan 23 06:51:47 groupadd[912]: new group: name=builder, GID=562 <86>Jan 23 06:51:47 useradd[916]: new user: name=builder, UID=562, GID=562, home=/usr/src, shell=/bin/bash <13>Jan 23 06:51:51 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 23 06:51:51 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jan 23 06:51:51 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Jan 23 06:51:51 rpmi: libp11-kit-0.23.9-alt5 1525798298 installed <13>Jan 23 06:51:51 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Jan 23 06:51:51 rpmi: alternatives-0.5.0-alt1 sisyphus.219012.300 1546745004 installed <13>Jan 23 06:51:51 rpmi: ca-certificates-2018.11.12-alt1 sisyphus.216395.300 1542114035 installed <13>Jan 23 06:51:51 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Jan 23 06:51:51 rpmi: p11-kit-trust-0.23.9-alt5 1525798298 installed <13>Jan 23 06:51:51 rpmi: libcrypto1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Jan 23 06:51:51 rpmi: libssl1.1-1.1.0j-alt1 sisyphus.216647.100 1542743878 installed <13>Jan 23 06:51:51 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jan 23 06:51:51 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jan 23 06:51:51 rpmi: python3-3.6.5-alt1.1 1535734576 installed <13>Jan 23 06:51:52 rpmi: python3-base-3.6.5-alt1.1 1535734576 installed <13>Jan 23 06:51:52 rpmi: libpython3-3.6.5-alt1.1 1535734576 installed <13>Jan 23 06:51:58 rpmi: python3-module-pkg_resources-1:40.6.3-alt1 sisyphus+219164.200.2.1 1548188195 installed <13>Jan 23 06:51:58 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Jan 23 06:51:58 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus.215627.200 1540831974 installed <13>Jan 23 06:51:58 rpmi: python3-dev-3.6.5-alt1.1 1535734576 installed <13>Jan 23 06:51:58 rpmi: python-modules-curses-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: libverto-0.3.0-alt1_5 1525957714 installed <13>Jan 23 06:51:58 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Jan 23 06:51:58 rpmi: libcom_err-1.44.5-alt1 sisyphus.218838.100 1546206118 installed <86>Jan 23 06:51:58 groupadd[14925]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 23 06:51:58 groupadd[14925]: group added to /etc/gshadow: name=_keytab <86>Jan 23 06:51:58 groupadd[14925]: new group: name=_keytab, GID=499 <13>Jan 23 06:51:58 rpmi: libkrb5-1.16.3-alt1 sisyphus.219042.100 1547045815 installed <13>Jan 23 06:51:58 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jan 23 06:51:58 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jan 23 06:51:58 rpmi: python-modules-email-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-unittest-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-nis-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-encodings-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-compiler-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-ctypes-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-multiprocessing-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-modules-logging-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-tools-2to3-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:58 rpmi: python-module-pkg_resources-1:40.6.3-alt1 sisyphus+219164.200.2.1 1548188195 installed <13>Jan 23 06:51:59 rpmi: python-modules-xml-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:59 rpmi: python-modules-hotshot-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:59 rpmi: python-modules-bsddb-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:59 rpmi: python-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:59 rpmi: python-modules-distutils-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:59 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jan 23 06:51:59 rpmi: python-dev-2.7.15-alt1 sisyphus.217364.100 1544022423 installed <13>Jan 23 06:51:59 rpmi: python-module-setuptools-1:40.6.3-alt1 sisyphus+219164.200.2.1 1548188195 installed <13>Jan 23 06:51:59 rpmi: python3-module-setuptools-1:40.6.3-alt1 sisyphus+219164.200.2.1 1548188195 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.nosrc.rpm Installing python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.34161 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-universal-analytics-python-0.2.4 + echo 'Source #0 (python-module-universal-analytics-python-0.2.4.tar):' Source #0 (python-module-universal-analytics-python-0.2.4.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-universal-analytics-python-0.2.4.tar + cd python-module-universal-analytics-python-0.2.4 + /bin/chmod -c -Rf u+rwX,go-w . + echo 0.2.4 + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored ../python3/test/test_everything.py WARNING: couldn't encode ../python3/test/test_everything.py's diff for your terminal RefactoringTool: Refactored ../python3/setup.py RefactoringTool: Refactored ../python3/UniversalAnalytics/__init__.py RefactoringTool: Refactored ../python3/UniversalAnalytics/Tracker.py --- ../python3/test/test_everything.py (original) +++ ../python3/test/test_everything.py (refactored) @@ -10,7 +10,7 @@ ############################################################################### import unittest -import urllib +import urllib.request, urllib.parse, urllib.error from UniversalAnalytics import Tracker from UniversalAnalytics import HTTPLog @@ -33,7 +33,7 @@ @classmethod def url_quote(cls, value, safe_chars = ''): - return urllib.quote(value, safe_chars) + return urllib.parse.quote(value, safe_chars) @property @@ -83,7 +83,7 @@ # Send unicode data: # As unicode --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -2,7 +2,7 @@ import sys VERSION=open('commit-version').read().strip() -print >>sys.stderr, "Preparing version {0}\n".format(VERSION or "NOTFOUND") +print("Preparing version {0}\n".format(VERSION or "NOTFOUND"), file=sys.stderr) try: --- ../python3/UniversalAnalytics/__init__.py (original) +++ ../python3/UniversalAnalytics/__init__.py (refactored) @@ -1 +1 @@ -import Tracker +from . import Tracker --- ../python3/UniversalAnalytics/Tracker.py (original) +++ ../python3/UniversalAnalytics/Tracker.py (refactored) @@ -1,16 +1,7 @@ -############################################################################### -# Universal Analytics for Python -# Copyright (c) 2013, Analytics Pros -# -# This project is free software, distributed under the BSD license. -# Analytics Pros offers consulting and integration services if your firm needs -# assistance in strategy, implementation, or auditing existing work. -############################################################################### - -from urllib2 import urlopen, build_opener, install_opener -from urllib2 import Request, HTTPSHandler -from urllib2 import URLError, HTTPError -from urllib import urlencode +from urllib.request import urlopen, build_opener, install_opener +from urllib.request import Request, HTTPSHandler +from urllib.error import URLError, HTTPError +from urllib.parse import urlencode import random import datetime @@ -25,7 +16,7 @@ """ Provides a _random_ UUID with no input, or a UUID4-format MD5 checksum of any input data provided """ if basedata is None: return str(uuid.uuid4()) - elif isinstance(basedata, basestring): + elif isinstance(basedata, str): checksum = hashlib.md5(basedata).hexdigest() return '%8s-%4s-%4s-%4s-%12s' % (checksum[0:8], checksum[8:12], checksum[12:16], checksum[16:20], checksum[20:32]) @@ -44,7 +35,7 @@ def to_unix(cls, timestamp): """ Wrapper over time module to produce Unix epoch time as a float """ if not isinstance(timestamp, datetime.datetime): - raise TypeError, 'Time.milliseconds expects a datetime object' + raise TypeError('Time.milliseconds expects a datetime object') base = time.mktime(timestamp.timetuple()) return base @@ -89,7 +80,7 @@ def fixUTF8(cls, data): # Ensure proper encoding for UA's servers... """ Convert all strings to UTF-8 """ for key in data: - if isinstance(data[ key ], basestring): + if isinstance(data[ key ], str): data[ key ] = data[ key ].encode('utf-8') return data @@ -156,17 +147,17 @@ @classmethod def coerceParameter(cls, name, value = None): - if isinstance(name, basestring) and name[0] == '&': + if isinstance(name, str) and name[0] == '&': return name[1:], str(value) elif name in cls.parameter_alias: typecast, param_name = cls.parameter_alias.get(name) return param_name, typecast(value) else: - raise KeyError, 'Parameter "{0}" is not recognized'.format(name) + raise KeyError('Parameter "{0}" is not recognized'.format(name)) def payload(self, data): - for key, value in data.iteritems(): + for key, value in data.items(): try: yield self.coerceParameter(key, value) except KeyError: @@ -175,10 +166,10 @@ option_sequence = { - 'pageview': [ (basestring, 'dp') ], - 'event': [ (basestring, 'ec'), (basestring, 'ea'), (basestring, 'el'), (int, 'ev') ], - 'social': [ (basestring, 'sn'), (basestring, 'sa'), (basestring, 'st') ], - 'timing': [ (basestring, 'utc'), (basestring, 'utv'), (basestring, 'utt'), (basestring, 'utl') ] + 'pageview': [ (str, 'dp') ], + 'event': [ (str, 'ec'), (str, 'ea'), (str, 'el'), (int, 'ev') ], + 'social': [ (str, 'sn'), (str, 'sa'), (str, 'st') ], + 'timing': [ (str, 'utc'), (str, 'utv'), (str, 'utt'), (str, 'utl') ] } @classmethod @@ -254,7 +245,7 @@ for key, val in self.payload(item): data[ key ] = val - for k, v in self.params.iteritems(): # update only absent parameters + for k, v in self.params.items(): # update only absent parameters if k not in data: data[ k ] = v @@ -273,13 +264,13 @@ # Setting persistent attibutes of the session/hit/etc (inc. custom dimensions/metrics) def set(self, name, value = None): if isinstance(name, dict): - for key, value in name.iteritems(): + for key, value in name.items(): try: param, value = self.coerceParameter(key, value) self.params[param] = value except KeyError: pass - elif isinstance(name, basestring): + elif isinstance(name, str): try: param, value = self.coerceParameter(name, value) self.params[param] = value @@ -304,7 +295,7 @@ def safe_unicode(obj): """ Safe convertion to the Unicode string version of the object """ try: - return unicode(obj) + return str(obj) except UnicodeDecodeError: return obj.decode('utf-8') @@ -403,7 +394,7 @@ # Enhanced Ecommerce Tracker.alias(str, 'pa') # Product action Tracker.alias(str, 'tcc') # Coupon code -Tracker.alias(unicode, 'pal') # Product action list +Tracker.alias(str, 'pal') # Product action list Tracker.alias(int, 'cos') # Checkout step Tracker.alias(str, 'col') # Checkout step option @@ -411,10 +402,10 @@ for product_index in range(1, MAX_EC_PRODUCTS): Tracker.alias(str, 'pr{0}id'.format(product_index)) # Product SKU - Tracker.alias(unicode, 'pr{0}nm'.format(product_index)) # Product name - Tracker.alias(unicode, 'pr{0}br'.format(product_index)) # Product brand - Tracker.alias(unicode, 'pr{0}ca'.format(product_index)) # Product category - Tracker.alias(unicode, 'pr{0}va'.format(product_index)) # Product variant + Tracker.alias(str, 'pr{0}nm'.format(product_index)) # Product name + Tracker.alias(str, 'pr{0}br'.format(product_index)) # Product brand + Tracker.alias(str, 'pr{0}ca'.format(product_index)) # Product category + Tracker.alias(str, 'pr{0}va'.format(product_index)) # Product variant Tracker.alias(str, 'pr{0}pr'.format(product_index)) # Product price Tracker.alias(int, 'pr{0}qt'.format(product_index)) # Product quantity Tracker.alias(str, 'pr{0}cc'.format(product_index)) # Product coupon code @@ -426,10 +417,10 @@ for list_index in range(1, MAX_EC_LISTS): Tracker.alias(str, 'il{0}pi{1}id'.format(list_index, product_index)) # Product impression SKU - Tracker.alias(unicode, 'il{0}pi{1}nm'.format(list_index, product_index)) # Product impression name - Tracker.alias(unicode, 'il{0}pi{1}br'.format(list_index, product_index)) # Product impression brand - Tracker.alias(unicode, 'il{0}pi{1}ca'.format(list_index, product_index)) # Product impression category - Tracker.alias(unicode, 'il{0}pi{1}va'.format(list_index, product_index)) # Product impression variant + Tracker.alias(str, 'il{0}pi{1}nm'.format(list_index, product_index)) # Product impression name + Tracker.alias(str, 'il{0}pi{1}br'.format(list_index, product_indRefactoringTool: Refactored ../python3/UniversalAnalytics/HTTPLog.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/test/test_everything.py RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/UniversalAnalytics/__init__.py RefactoringTool: ../python3/UniversalAnalytics/Tracker.py RefactoringTool: ../python3/UniversalAnalytics/HTTPLog.py ex)) # Product impression brand + Tracker.alias(str, 'il{0}pi{1}ca'.format(list_index, product_index)) # Product impression category + Tracker.alias(str, 'il{0}pi{1}va'.format(list_index, product_index)) # Product impression variant Tracker.alias(int, 'il{0}pi{1}ps'.format(list_index, product_index)) # Product impression position Tracker.alias(int, 'il{0}pi{1}pr'.format(list_index, product_index)) # Product impression price @@ -438,11 +429,11 @@ Tracker.alias(int, 'il{0}pi{1}cm{2}'.format(list_index, product_index, custom_index)) # Product impression custom metric for list_index in range(1, MAX_EC_LISTS): - Tracker.alias(unicode, 'il{0}nm'.format(list_index)) # Product impression list name + Tracker.alias(str, 'il{0}nm'.format(list_index)) # Product impression list name for promotion_index in range(1, MAX_EC_PROMOTIONS): Tracker.alias(str, 'promo{0}id'.format(promotion_index)) # Promotion ID - Tracker.alias(unicode, 'promo{0}nm'.format(promotion_index)) # Promotion name + Tracker.alias(str, 'promo{0}nm'.format(promotion_index)) # Promotion name Tracker.alias(str, 'promo{0}cr'.format(promotion_index)) # Promotion creative Tracker.alias(str, 'promo{0}ps'.format(promotion_index)) # Promotion position --- ../python3/UniversalAnalytics/HTTPLog.py (original) +++ ../python3/UniversalAnalytics/HTTPLog.py (refactored) @@ -10,7 +10,7 @@ import sys, re, os -from cStringIO import StringIO +from io import StringIO @@ -116,6 +116,6 @@ if __name__ == '__main__': consume(sys.stdout).write(sys.stdin.read()) - print '\n' + print('\n') # vim: set nowrap tabstop=4 shiftwidth=4 softtabstop=0 expandtab textwidth=0 filetype=python foldmethod=indent foldcolumn=4 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.36278 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build --debug Preparing version 0.2.4 running build running build_py creating build creating build/lib creating build/lib/UniversalAnalytics copying UniversalAnalytics/__init__.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/Tracker.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/HTTPLog.py -> build/lib/UniversalAnalytics + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/UniversalAnalytics copying UniversalAnalytics/__init__.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/Tracker.py -> build/lib/UniversalAnalytics copying UniversalAnalytics/HTTPLog.py -> build/lib/UniversalAnalytics Preparing version 0.2.4 + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.38054 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-universal-analytics-python-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-universal-analytics-python-buildroot + cd python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-universal-analytics-python-buildroot --force Preparing version 0.2.4 running install running install_lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/HTTPLog.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/Tracker.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/__init__.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py to HTTPLog.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py to Tracker.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py to __init__.pyc running install_egg_info running egg_info creating universal_analytics_python.egg-info writing universal_analytics_python.egg-info/PKG-INFO writing top-level names to universal_analytics_python.egg-info/top_level.txt writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' Copying universal_analytics_python.egg-info to /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/universal_analytics_python-0.2.4-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-universal-analytics-python-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/HTTPLog.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/Tracker.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics copying build/lib/UniversalAnalytics/__init__.py -> /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py to HTTPLog.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py to Tracker.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py to __init__.cpython-36.pyc running install_egg_info running egg_info creating universal_analytics_python.egg-info writing universal_analytics_python.egg-info/PKG-INFO writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing top-level names to universal_analytics_python.egg-info/top_level.txt writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' Copying universal_analytics_python.egg-info to /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.6.egg-info running install_scripts Preparing version 0.2.4 + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-universal-analytics-python-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-universal-analytics-python-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-universal-analytics-python-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-universal-analytics-python-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-universal-analytics-python-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyc compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-36.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-36.pyc unlink /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.pyc compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-universal-analytics-python-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py compile /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-36.pyc' './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-36.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.pyc' './usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/Tracker.pyc' './usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyo' => './usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.30535 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + python setup.py test Preparing version 0.2.4 running test running egg_info writing universal_analytics_python.egg-info/PKG-INFO writing top-level names to universal_analytics_python.egg-info/top_level.txt writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + python3 setup.py test running test running egg_info writing universal_analytics_python.egg-info/PKG-INFO writing dependency_links to universal_analytics_python.egg-info/dependency_links.txt writing top-level names to universal_analytics_python.egg-info/top_level.txt reading manifest file 'universal_analytics_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'universal_analytics_python.egg-info/SOURCES.txt' running build_ext Preparing version 0.2.4 ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + sed -i 's|python|python3|' Makefile + popd ~/RPM/BUILD/python-module-universal-analytics-python-0.2.4 + exit 0 Processing files: python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.23636 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + DOCDIR=/usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + /bin/mkdir -p /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + cp -prL DESCRIPTION.rst README.md /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + chmod -R go-w /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + chmod -R a+rX /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python-module-universal-analytics-python-0.2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nv6GiX 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.gZh9oN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py: skipping sys python.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/__init__.py: hiding Tracker, which SEEMS TO BE SELF-SATISFIED shebang.req.files: executable script /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python2.7/site-packages/UniversalAnalytics/HTTPLog.py is not executable Provides: python2.7(UniversalAnalytics), python2.7(UniversalAnalytics.HTTPLog), python2.7(UniversalAnalytics.Tracker) Requires: /usr/lib/python2.7/site-packages, python-modules Processing files: python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.44033 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-universal-analytics-python-0.2.4 + DOCDIR=/usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + export DOCDIR + rm -rf /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + /bin/mkdir -p /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + cp -prL DESCRIPTION.rst README.md /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + chmod -R go-w /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + chmod -R a+rX /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/share/doc/python3-module-universal-analytics-python-0.2.4 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nAAgLj 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.GmPVQ9 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-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py: skipping sys python3.req: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/Tracker.py: skipping time /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/__init__.py: line=1 possible relative import from ., UNIMPLEMENTED shebang.req.files: executable script /usr/src/tmp/python-module-universal-analytics-python-buildroot/usr/lib/python3/site-packages/UniversalAnalytics/HTTPLog.py is not executable Provides: python3(UniversalAnalytics), python3(UniversalAnalytics.HTTPLog), python3(UniversalAnalytics.Tracker) Requires: /usr/lib/python3/site-packages, python3(datetime) < 0, python3(hashlib) < 0, python3(io) < 0, python3(os) < 0, python3(random) < 0, python3(re) < 0, python3(socket) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(uuid) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.noarch.rpm 24.40user 1.47system 0:33.54elapsed 77%CPU (0avgtext+0avgdata 24860maxresident)k 0inputs+0outputs (0major+250370minor)pagefaults 0swaps 45.24user 8.36system 1:02.08elapsed 86%CPU (0avgtext+0avgdata 122020maxresident)k 0inputs+0outputs (0major+813058minor)pagefaults 0swaps --- python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.noarch.rpm.repo 2018-02-06 17:59:41.000000000 +0000 +++ python3-module-universal-analytics-python-0.2.4-alt1.git20141205.1.1.noarch.rpm.hasher 2019-01-23 06:52:38.482211870 +0000 @@ -5,17 +5,17 @@ /usr/lib/python3/site-packages/UniversalAnalytics/__pycache__ 40755 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info 40755 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/top_level.txt 100644 -/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.5.egg-info/zip-safe 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/HTTPLog.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/Tracker.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.opt-1.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.opt-2.pyc 100644 +/usr/lib/python3/site-packages/UniversalAnalytics/__pycache__/__init__.cpython-36.pyc 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.6.egg-info 40755 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.6.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.6.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.6.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.6.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/universal_analytics_python-0.2.4-py3.6.egg-info/zip-safe 100644 /usr/share/doc/python3-module-universal-analytics-python-0.2.4 40755 @@ -37,7 +37,4 @@ Provides: python3(UniversalAnalytics) -Provides: python3.3(UniversalAnalytics) Provides: python3(UniversalAnalytics.HTTPLog) Provides: python3(UniversalAnalytics.Tracker) -Provides: python3.3(UniversalAnalytics.HTTPLog) -Provides: python3.3(UniversalAnalytics.Tracker) Provides: python3-module-universal-analytics-python = 0.2.4-alt1.git20141205.1.1