Add an rpminspect.yaml file
Also fix some interdependencies between subpackages. Resolves: rhbz#2213850
This commit is contained in:
parent
cc1cc6b2d0
commit
a71bb6b912
@ -896,6 +896,7 @@ This package contains files used to embed Python 2 into applications.
|
|||||||
Summary: Libraries and header files needed for Python 2 development
|
Summary: Libraries and header files needed for Python 2 development
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{python}%{?_isa} = %{version}-%{release}
|
Requires: %{python}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
Requires: python-rpm-macros
|
Requires: python-rpm-macros
|
||||||
Requires: python2-rpm-macros
|
Requires: python2-rpm-macros
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
@ -970,6 +971,7 @@ user interface for Python 2 programming.
|
|||||||
Summary: The test modules from the main python2 package
|
Summary: The test modules from the main python2 package
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description test
|
%description test
|
||||||
|
|
||||||
|
40
rpminspect.yaml
Normal file
40
rpminspect.yaml
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# exclude test XML data (not always valid) from XML validity check:
|
||||||
|
xml:
|
||||||
|
ignore:
|
||||||
|
- /usr/lib*/python*/test/xmltestdata/*
|
||||||
|
- /usr/lib*/python*/test/xmltestdata/*/*
|
||||||
|
|
||||||
|
# exclude _socket from ipv4 only functions check, it has both ipv4 and ipv6 only
|
||||||
|
badfuncs:
|
||||||
|
allowed::
|
||||||
|
/usr/lib*/python*/lib-dynload/_socket.*:
|
||||||
|
- inet_aton
|
||||||
|
- inet_ntoa
|
||||||
|
|
||||||
|
# don't report changed content of compiled files
|
||||||
|
# that is expected with every toolchain update and not reproducible yet
|
||||||
|
changedfiles:
|
||||||
|
# note that this is a posix regex, so no \d
|
||||||
|
exclude_path: (\.so(\.[0-9]+(\.[0-9]+)?)?$|^/usr/bin/python[0-9]+\.[0-9]+d?m?$)
|
||||||
|
|
||||||
|
# files change size all the time, we don't need to VERIFY it
|
||||||
|
# however, the INFO is useful, so we don't disable the check entirely
|
||||||
|
filesize:
|
||||||
|
# artificially large number, TODO a better way
|
||||||
|
size_threshold: 100000
|
||||||
|
|
||||||
|
debuginfo:
|
||||||
|
ignore:
|
||||||
|
# libpython3.so doesn't contain compiled code
|
||||||
|
- /usr/lib/debug/usr/lib*/libpython3.so*debug
|
||||||
|
|
||||||
|
# completely disabled inspections:
|
||||||
|
inspections:
|
||||||
|
# we know about our patches, no need to report anything
|
||||||
|
patches: off
|
||||||
|
|
||||||
|
# Ignore the runpath which we have enabled explicitly
|
||||||
|
# pyexpat
|
||||||
|
runpath:
|
||||||
|
ignore:
|
||||||
|
- /usr/lib*/python*/lib-dynload/pyexpat.so
|
Loading…
Reference in New Issue
Block a user