summaryrefslogtreecommitdiffstats
path: root/glpi-fusioninventory.spec
diff options
context:
space:
mode:
authorJohan Cwiklinski <jcwiklinski@teclib.com>2016-07-08 13:49:19 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-08 15:08:17 +0200
commit7ce363ceb42979bd8a2256df382735f04967c81b (patch)
tree266da03c466c542886463ce3afc86f19dd700286 /glpi-fusioninventory.spec
parentedc890ce3c8c6502be0a771b307eb2fbda287c5c (diff)
Fix some rpmlint warnings
Diffstat (limited to 'glpi-fusioninventory.spec')
-rw-r--r--glpi-fusioninventory.spec11
1 files changed, 11 insertions, 0 deletions
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