From fc5a8de3213a169543ca9eaf3d0457e59e0c74ad Mon Sep 17 00:00:00 2001 From: Denis Silakov Date: Sat, 18 Jun 2016 00:14:13 +0300 Subject: [PATCH] Fix rpmlint --- docker.rpmlintrc | 2 +- docker.spec | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docker.rpmlintrc b/docker.rpmlintrc index ad2d5c9..f3e0e3d 100644 --- a/docker.rpmlintrc +++ b/docker.rpmlintrc @@ -1,2 +1,2 @@ -# # modifying the dockerinit binary breaks the SHA1 sum check by docker +# modifying the dockerinit binary breaks the SHA1 sum check by docker addFilter("unstripped-binary-or-object") diff --git a/docker.spec b/docker.spec index 94bb79f..0204c6f 100644 --- a/docker.spec +++ b/docker.spec @@ -41,6 +41,7 @@ Source4: %{repo}-logrotate.sh Source5: README.%{repo}-logrotate Source6: %{repo}-network.sysconfig Source7: %{repo}.socket +Source100: %{name}.rpmlintrc BuildRequires: gcc BuildRequires: glibc-static-devel @@ -376,5 +377,3 @@ exit 0 %files zsh-completion %{_datadir}/zsh/site-functions/_%{repo} - -