From 0b568f26fdbfa12bf703a28c8a43d8630205628e Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: May 18 2016 13:36:22 +0000 Subject: Add some rpminfo checks and start on some overrides for existing pkgs We need to check the vendor and packager attributes before packages are released, so this script runs against the preupdates repo (if running in preupdates). It also will run against the base repos if run outside preupdates. --- diff --git a/tests/z_rpminfo/README b/tests/z_rpminfo/README new file mode 100644 index 0000000..815c601 --- /dev/null +++ b/tests/z_rpminfo/README @@ -0,0 +1,11 @@ +Adding an rpminfo check override for a package can be done in 2 ways: +- Modifying required_attrs in check-rpminfo.py + - should be done for packages specified by name (i.e. overrides for _all_ versions of that package) +- Adding an NVR line in special_overrides.txt + - should be done for specific NVRs + - in the form: --: + +Adding an attribute to check: +- modify the required_attrs dict in check-rpminfo.py + - the key is the name of the attribute to check + - the value is a shell-style glob of what the attribute should be diff --git a/tests/z_rpminfo/check-rpminfo.py b/tests/z_rpminfo/check-rpminfo.py new file mode 100644 index 0000000..39c35ba --- /dev/null +++ b/tests/z_rpminfo/check-rpminfo.py @@ -0,0 +1,93 @@ +#!/usr/bin/python -tt +''' +Author: Brian Stinson +Check rpminfo attributes that must be set before release in the repositories (e.g. Vendor, Packager) +''' + +from __future__ import print_function, with_statement +import os +import sys +import yum + +from datetime import datetime +from fnmatch import fnmatch + + +def log(methodstring): + localtime = datetime.now() + print("[+] {0} -> {1}".format(localtime.strftime("%a %b %e %H:%M:%S %Z %Y"), methodstring)) + + +def fail(failstring): + log('FAIL {0}'.format(failstring)) + + +def skip(skipstring): + log('SKIP {0}'.format(skipstring)) + +log('Running check-rpminfo.py - Check rpminfo Attributes') + +if str(os.getenv('PRE_UPDATES')) == '1': + checkrepos = ['preupdates'] +else: + log('Not running in preupdates, checking all repos') + checkrepos = ['extras', 'base', 'updates', 'centosplus'] + +# Set the required attributes and their values here. You may use shell-style +# globs in the value if necessary. +required_attrs = { + 'vendor': 'CentOS', + 'packager': '*centos.org*', + } + +# special_overrides is a dictionary of packages and a list of attributes +# to ignore for that package. When updating this list add a comment to +# the line describing why the override is in place +special_overrides = { + 'epel-release': ['vendor', 'packager'], #Rebuilt directly from Fedora, so the vendor remains Fedora Project + 'redhat-support-lib-python': ['vendor'], + 'redhat-support-tool': ['vendor'], + } + +# you can also add the NVR, and the attribute to ignore to the special_overrides.txt file +with open(os.path.join(sys.path[0],'special_overrides.txt'),'r') as thefile: + for line in thefile.readlines(): + if not line.strip() or line.startswith('#'): + continue + pkg, ignoreattr = map(str.strip,line.split(':')) + special_overrides.setdefault(pkg, []).append(ignoreattr) + +yb = yum.YumBase() +yb.conf.cache = 0 + +yb.repos.disableRepo('*') + +for repo in checkrepos: + yb.repos.enableRepo(repo) +yb.repos.doSetup() + +sack = yb.pkgSack + +finalret = 0 +for pkg in sack: + for attr, val in required_attrs.iteritems(): + nvr = '{0}-{1}-{2}'.format(pkg['name'], pkg['version'], pkg['release']) + if pkg.name in special_overrides: + if attr in special_overrides[pkg.name]: + skip('{0}: {1} listed in special_overrides'.format(pkg.remote_path, attr)) + continue + elif nvr in special_overrides: + if attr in special_overrides[nvr]: + skip('{0}: {1} listed in special_overrides'.format(pkg.remote_path, attr)) + continue + + if not pkg[attr]: + fail('{0}: Missing {1}'.format(pkg.remote_path, attr)) + finalret = 1 + continue + + if not fnmatch(str.upper(pkg[attr]), str.upper(val)): + fail('{0}: {1}: {2} does not match {3}'.format(pkg.remote_path, attr, pkg[attr], val)) + finalret = 1 + +sys.exit(finalret) diff --git a/tests/z_rpminfo/check-rpminfo.sh b/tests/z_rpminfo/check-rpminfo.sh new file mode 100755 index 0000000..78b55c4 --- /dev/null +++ b/tests/z_rpminfo/check-rpminfo.sh @@ -0,0 +1,10 @@ +#!/bin/sh +# Author: Brian Stinson +# Runner script for checking rpminfo so we can fail gracefully on EL5 + +if [[ $centos_ver != 5 ]] +then + python "$(dirname "$(readlink -f "$0")")/check-rpminfo.py" +else + echo "Skipped on CentOS 5" +fi diff --git a/tests/z_rpminfo/special_overrides.txt b/tests/z_rpminfo/special_overrides.txt new file mode 100644 index 0000000..b47daf2 --- /dev/null +++ b/tests/z_rpminfo/special_overrides.txt @@ -0,0 +1,298 @@ +kernel-plus-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-3.10.0-229.el7.centos.plus: packager +kernel-plus-3.10.0-229.el7.centos.plus: vendor +kernel-plus-abi-whitelists-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-abi-whitelists-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-abi-whitelists-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-abi-whitelists-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-abi-whitelists-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-abi-whitelists-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-abi-whitelists-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-abi-whitelists-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-abi-whitelists-3.10.0-229.el7.centos.plus: packager +kernel-plus-abi-whitelists-3.10.0-229.el7.centos.plus: vendor +kernel-plus-devel-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-devel-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-devel-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-devel-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-devel-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-devel-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-devel-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-devel-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-devel-3.10.0-229.el7.centos.plus: packager +kernel-plus-devel-3.10.0-229.el7.centos.plus: vendor +kernel-plus-doc-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-doc-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-doc-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-doc-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-doc-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-doc-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-doc-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-doc-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-doc-3.10.0-229.el7.centos.plus: packager +kernel-plus-doc-3.10.0-229.el7.centos.plus: vendor +kernel-plus-headers-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-headers-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-headers-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-headers-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-headers-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-headers-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-headers-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-headers-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-headers-3.10.0-229.el7.centos.plus: packager +kernel-plus-headers-3.10.0-229.el7.centos.plus: vendor +kernel-plus-tools-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-tools-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-tools-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-tools-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-tools-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-tools-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-tools-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-tools-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-tools-3.10.0-229.el7.centos.plus: packager +kernel-plus-tools-3.10.0-229.el7.centos.plus: vendor +kernel-plus-tools-libs-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-tools-libs-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-tools-libs-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-tools-libs-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-tools-libs-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-tools-libs-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-tools-libs-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-tools-libs-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-tools-libs-3.10.0-229.el7.centos.plus: packager +kernel-plus-tools-libs-3.10.0-229.el7.centos.plus: vendor +kernel-plus-tools-libs-devel-3.10.0-229.1.2.el7.centos.plus: packager +kernel-plus-tools-libs-devel-3.10.0-229.1.2.el7.centos.plus: vendor +kernel-plus-tools-libs-devel-3.10.0-229.11.1.el7.centos.plus: packager +kernel-plus-tools-libs-devel-3.10.0-229.11.1.el7.centos.plus: vendor +kernel-plus-tools-libs-devel-3.10.0-229.4.2.el7.centos.plus: packager +kernel-plus-tools-libs-devel-3.10.0-229.4.2.el7.centos.plus: vendor +kernel-plus-tools-libs-devel-3.10.0-229.7.2.el7.centos.plus: packager +kernel-plus-tools-libs-devel-3.10.0-229.7.2.el7.centos.plus: vendor +kernel-plus-tools-libs-devel-3.10.0-229.el7.centos.plus: packager +kernel-plus-tools-libs-devel-3.10.0-229.el7.centos.plus: vendor +perf-3.10.0-229.1.2.el7.centos.plus: packager +perf-3.10.0-229.1.2.el7.centos.plus: vendor +perf-3.10.0-229.11.1.el7.centos.plus: packager +perf-3.10.0-229.11.1.el7.centos.plus: vendor +perf-3.10.0-229.4.2.el7.centos.plus: packager +perf-3.10.0-229.4.2.el7.centos.plus: vendor +perf-3.10.0-229.7.2.el7.centos.plus: packager +perf-3.10.0-229.7.2.el7.centos.plus: vendor +perf-3.10.0-229.el7.centos.plus: packager +perf-3.10.0-229.el7.centos.plus: vendor +python-perf-3.10.0-229.1.2.el7.centos.plus: packager +python-perf-3.10.0-229.1.2.el7.centos.plus: vendor +python-perf-3.10.0-229.11.1.el7.centos.plus: packager +python-perf-3.10.0-229.11.1.el7.centos.plus: vendor +python-perf-3.10.0-229.4.2.el7.centos.plus: packager +python-perf-3.10.0-229.4.2.el7.centos.plus: vendor +python-perf-3.10.0-229.7.2.el7.centos.plus: packager +python-perf-3.10.0-229.7.2.el7.centos.plus: vendor +python-perf-3.10.0-229.el7.centos.plus: packager +python-perf-3.10.0-229.el7.centos.plus: vendor +grub2-2.02-0.33.el7.centos.1: packager +grub2-2.02-0.33.el7.centos.1: vendor +grub2-2.02-0.34.el7.centos: packager +grub2-2.02-0.34.el7.centos: vendor +grub2-efi-2.02-0.33.el7.centos.1: packager +grub2-efi-2.02-0.33.el7.centos.1: vendor +grub2-efi-2.02-0.34.el7.centos: packager +grub2-efi-2.02-0.34.el7.centos: vendor +grub2-efi-modules-2.02-0.33.el7.centos.1: packager +grub2-efi-modules-2.02-0.33.el7.centos.1: vendor +grub2-efi-modules-2.02-0.34.el7.centos: packager +grub2-efi-modules-2.02-0.34.el7.centos: vendor +grub2-tools-2.02-0.33.el7.centos.1: packager +grub2-tools-2.02-0.33.el7.centos.1: vendor +grub2-tools-2.02-0.34.el7.centos: packager +grub2-tools-2.02-0.34.el7.centos: vendor +kernel-3.10.0-327.10.1.el7: packager +kernel-3.10.0-327.10.1.el7: vendor +kernel-3.10.0-327.13.1.el7: packager +kernel-3.10.0-327.13.1.el7: vendor +kernel-3.10.0-327.18.2.el7: packager +kernel-3.10.0-327.18.2.el7: vendor +kernel-3.10.0-327.3.1.el7: packager +kernel-3.10.0-327.3.1.el7: vendor +kernel-3.10.0-327.4.4.el7: packager +kernel-3.10.0-327.4.4.el7: vendor +kernel-3.10.0-327.4.5.el7: packager +kernel-3.10.0-327.4.5.el7: vendor +kernel-abi-whitelists-3.10.0-327.10.1.el7: packager +kernel-abi-whitelists-3.10.0-327.10.1.el7: vendor +kernel-abi-whitelists-3.10.0-327.13.1.el7: packager +kernel-abi-whitelists-3.10.0-327.13.1.el7: vendor +kernel-abi-whitelists-3.10.0-327.18.2.el7: packager +kernel-abi-whitelists-3.10.0-327.18.2.el7: vendor +kernel-abi-whitelists-3.10.0-327.3.1.el7: packager +kernel-abi-whitelists-3.10.0-327.3.1.el7: vendor +kernel-abi-whitelists-3.10.0-327.4.4.el7: packager +kernel-abi-whitelists-3.10.0-327.4.4.el7: vendor +kernel-abi-whitelists-3.10.0-327.4.5.el7: packager +kernel-abi-whitelists-3.10.0-327.4.5.el7: vendor +kernel-debug-3.10.0-327.10.1.el7: packager +kernel-debug-3.10.0-327.10.1.el7: vendor +kernel-debug-3.10.0-327.13.1.el7: packager +kernel-debug-3.10.0-327.13.1.el7: vendor +kernel-debug-3.10.0-327.18.2.el7: packager +kernel-debug-3.10.0-327.18.2.el7: vendor +kernel-debug-3.10.0-327.3.1.el7: packager +kernel-debug-3.10.0-327.3.1.el7: vendor +kernel-debug-3.10.0-327.4.4.el7: packager +kernel-debug-3.10.0-327.4.4.el7: vendor +kernel-debug-3.10.0-327.4.5.el7: packager +kernel-debug-3.10.0-327.4.5.el7: vendor +kernel-debug-devel-3.10.0-327.10.1.el7: packager +kernel-debug-devel-3.10.0-327.10.1.el7: vendor +kernel-debug-devel-3.10.0-327.13.1.el7: packager +kernel-debug-devel-3.10.0-327.13.1.el7: vendor +kernel-debug-devel-3.10.0-327.18.2.el7: packager +kernel-debug-devel-3.10.0-327.18.2.el7: vendor +kernel-debug-devel-3.10.0-327.3.1.el7: packager +kernel-debug-devel-3.10.0-327.3.1.el7: vendor +kernel-debug-devel-3.10.0-327.4.4.el7: packager +kernel-debug-devel-3.10.0-327.4.4.el7: vendor +kernel-debug-devel-3.10.0-327.4.5.el7: packager +kernel-debug-devel-3.10.0-327.4.5.el7: vendor +kernel-devel-3.10.0-327.10.1.el7: packager +kernel-devel-3.10.0-327.10.1.el7: vendor +kernel-devel-3.10.0-327.13.1.el7: packager +kernel-devel-3.10.0-327.13.1.el7: vendor +kernel-devel-3.10.0-327.18.2.el7: packager +kernel-devel-3.10.0-327.18.2.el7: vendor +kernel-devel-3.10.0-327.3.1.el7: packager +kernel-devel-3.10.0-327.3.1.el7: vendor +kernel-devel-3.10.0-327.4.4.el7: packager +kernel-devel-3.10.0-327.4.4.el7: vendor +kernel-devel-3.10.0-327.4.5.el7: packager +kernel-devel-3.10.0-327.4.5.el7: vendor +kernel-doc-3.10.0-327.10.1.el7: packager +kernel-doc-3.10.0-327.10.1.el7: vendor +kernel-doc-3.10.0-327.13.1.el7: packager +kernel-doc-3.10.0-327.13.1.el7: vendor +kernel-doc-3.10.0-327.18.2.el7: packager +kernel-doc-3.10.0-327.18.2.el7: vendor +kernel-doc-3.10.0-327.3.1.el7: packager +kernel-doc-3.10.0-327.3.1.el7: vendor +kernel-doc-3.10.0-327.4.4.el7: packager +kernel-doc-3.10.0-327.4.4.el7: vendor +kernel-doc-3.10.0-327.4.5.el7: packager +kernel-doc-3.10.0-327.4.5.el7: vendor +kernel-headers-3.10.0-327.10.1.el7: packager +kernel-headers-3.10.0-327.10.1.el7: vendor +kernel-headers-3.10.0-327.13.1.el7: packager +kernel-headers-3.10.0-327.13.1.el7: vendor +kernel-headers-3.10.0-327.18.2.el7: packager +kernel-headers-3.10.0-327.18.2.el7: vendor +kernel-headers-3.10.0-327.3.1.el7: packager +kernel-headers-3.10.0-327.3.1.el7: vendor +kernel-headers-3.10.0-327.4.4.el7: packager +kernel-headers-3.10.0-327.4.4.el7: vendor +kernel-headers-3.10.0-327.4.5.el7: packager +kernel-headers-3.10.0-327.4.5.el7: vendor +kernel-tools-3.10.0-327.10.1.el7: packager +kernel-tools-3.10.0-327.10.1.el7: vendor +kernel-tools-3.10.0-327.13.1.el7: packager +kernel-tools-3.10.0-327.13.1.el7: vendor +kernel-tools-3.10.0-327.18.2.el7: packager +kernel-tools-3.10.0-327.18.2.el7: vendor +kernel-tools-3.10.0-327.3.1.el7: packager +kernel-tools-3.10.0-327.3.1.el7: vendor +kernel-tools-3.10.0-327.4.4.el7: packager +kernel-tools-3.10.0-327.4.4.el7: vendor +kernel-tools-3.10.0-327.4.5.el7: packager +kernel-tools-3.10.0-327.4.5.el7: vendor +kernel-tools-libs-3.10.0-327.10.1.el7: packager +kernel-tools-libs-3.10.0-327.10.1.el7: vendor +kernel-tools-libs-3.10.0-327.13.1.el7: packager +kernel-tools-libs-3.10.0-327.13.1.el7: vendor +kernel-tools-libs-3.10.0-327.18.2.el7: packager +kernel-tools-libs-3.10.0-327.18.2.el7: vendor +kernel-tools-libs-3.10.0-327.3.1.el7: packager +kernel-tools-libs-3.10.0-327.3.1.el7: vendor +kernel-tools-libs-3.10.0-327.4.4.el7: packager +kernel-tools-libs-3.10.0-327.4.4.el7: vendor +kernel-tools-libs-3.10.0-327.4.5.el7: packager +kernel-tools-libs-3.10.0-327.4.5.el7: vendor +kernel-tools-libs-devel-3.10.0-327.10.1.el7: packager +kernel-tools-libs-devel-3.10.0-327.10.1.el7: vendor +kernel-tools-libs-devel-3.10.0-327.13.1.el7: packager +kernel-tools-libs-devel-3.10.0-327.13.1.el7: vendor +kernel-tools-libs-devel-3.10.0-327.18.2.el7: packager +kernel-tools-libs-devel-3.10.0-327.18.2.el7: vendor +kernel-tools-libs-devel-3.10.0-327.3.1.el7: packager +kernel-tools-libs-devel-3.10.0-327.3.1.el7: vendor +kernel-tools-libs-devel-3.10.0-327.4.4.el7: packager +kernel-tools-libs-devel-3.10.0-327.4.4.el7: vendor +kernel-tools-libs-devel-3.10.0-327.4.5.el7: packager +kernel-tools-libs-devel-3.10.0-327.4.5.el7: vendor +perf-3.10.0-327.10.1.el7: packager +perf-3.10.0-327.10.1.el7: vendor +perf-3.10.0-327.13.1.el7: packager +perf-3.10.0-327.13.1.el7: vendor +perf-3.10.0-327.18.2.el7: packager +perf-3.10.0-327.18.2.el7: vendor +perf-3.10.0-327.3.1.el7: packager +perf-3.10.0-327.3.1.el7: vendor +perf-3.10.0-327.4.4.el7: packager +perf-3.10.0-327.4.4.el7: vendor +perf-3.10.0-327.4.5.el7: packager +perf-3.10.0-327.4.5.el7: vendor +python-perf-3.10.0-327.10.1.el7: packager +python-perf-3.10.0-327.10.1.el7: vendor +python-perf-3.10.0-327.13.1.el7: packager +python-perf-3.10.0-327.13.1.el7: vendor +python-perf-3.10.0-327.18.2.el7: packager +python-perf-3.10.0-327.18.2.el7: vendor +python-perf-3.10.0-327.3.1.el7: packager +python-perf-3.10.0-327.3.1.el7: vendor +python-perf-3.10.0-327.4.4.el7: packager +python-perf-3.10.0-327.4.4.el7: vendor +python-perf-3.10.0-327.4.5.el7: packager +python-perf-3.10.0-327.4.5.el7: vendor +grub2-2.02-0.29.el7.centos: packager +grub2-efi-2.02-0.29.el7.centos: packager +grub2-efi-modules-2.02-0.29.el7.centos: packager +grub2-tools-2.02-0.29.el7.centos: packager +kernel-3.10.0-327.el7: packager +kernel-abi-whitelists-3.10.0-327.el7: packager +kernel-debug-3.10.0-327.el7: packager +kernel-debug-devel-3.10.0-327.el7: packager +kernel-devel-3.10.0-327.el7: packager +kernel-doc-3.10.0-327.el7: packager +kernel-headers-3.10.0-327.el7: packager +kernel-tools-3.10.0-327.el7: packager +kernel-tools-libs-3.10.0-327.el7: packager +kernel-tools-libs-devel-3.10.0-327.el7: packager +mokutil-0.9-2.el7: packager +perf-3.10.0-327.el7: packager +python-perf-3.10.0-327.el7: packager +shim-0.9-2.el7: packager +shim-unsigned-0.9-1.el7.centos: packager +grub2-2.02-0.29.el7.centos: vendor +grub2-efi-2.02-0.29.el7.centos: vendor +grub2-efi-modules-2.02-0.29.el7.centos: vendor +grub2-tools-2.02-0.29.el7.centos: vendor +kernel-3.10.0-327.el7: vendor +kernel-abi-whitelists-3.10.0-327.el7: vendor +kernel-debug-3.10.0-327.el7: vendor +kernel-debug-devel-3.10.0-327.el7: vendor +kernel-devel-3.10.0-327.el7: vendor +kernel-doc-3.10.0-327.el7: vendor +kernel-headers-3.10.0-327.el7: vendor +kernel-tools-3.10.0-327.el7: vendor +kernel-tools-libs-3.10.0-327.el7: vendor +kernel-tools-libs-devel-3.10.0-327.el7: vendor +mokutil-0.9-2.el7: vendor +perf-3.10.0-327.el7: vendor +python-perf-3.10.0-327.el7: vendor +shim-0.9-2.el7: vendor +shim-unsigned-0.9-1.el7.centos: vendor