From 7ce363ceb42979bd8a2256df382735f04967c81b Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Fri, 8 Jul 2016 13:49:19 +0200 Subject: Fix some rpmlint warnings --- glpi-fusioninventory.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/glpi-fusioninventory.spec b/glpi-fusioninventory.spec index e2732f4..757fb22 100644 --- a/glpi-fusioninventory.spec +++ b/glpi-fusioninventory.spec @@ -76,6 +76,17 @@ mv %{pluginname}/PICTURES . rm %{pluginname}/install/mysql/.htaccess \ %{pluginname}/scripts/.htaccess +#Fix rpmlint warnings +chmod +x %{pluginname}/scripts/createSNMPWalks.php +find %{pluginname}/lib \(\ + -name .travis.yml \ + -o -name .npmignore \ + -o -name .gitignore \ + -o -name .gitmodules \ + -o -name .jshintrc \ + \) -exec rm -f {} \; +iconv -f ISO-8859-1 -t UTF-8 docs/CHANGES >a && mv a docs/CHANGES + %build # Regenerate the locales -- cgit