silent incorrect rpmlintrc errors

This commit is contained in:
Mikhail Novosyolov 2020-09-14 10:26:38 +03:00
parent 78cc0753e7
commit cacf57e20e
2 changed files with 3 additions and 0 deletions

1
thrift.rpmlintrc Normal file
View file

@ -0,0 +1 @@
addFilter("E: non-versioned-file-in-library-package.*/usr/include/")

View file

@ -75,6 +75,8 @@ Source2: https://raw.github.com/apache/%{name}/%{version}/bootstrap.sh
Source3: https://repo1.maven.org/maven2/org/apache/thrift/libfb303/%{version}/libfb303-%{version}.pom
Source4: %{name}.rpmlintrc
# this patch is adapted from Gil Cattaneo's thrift-0.7.0 package
Patch0: %{name}-%{version}-buildxml.patch
# for fb303, excise maven ant tasks; build against system libraries; etc.