summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Cwiklinski <jcwiklinski@teclib.com>2016-07-08 13:38:16 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-08 15:08:17 +0200
commitedc890ce3c8c6502be0a771b307eb2fbda287c5c (patch)
treeea7f210b4785c095e44ed97f6e885f2fdc4a5b52
parente474e42a04f895e0b0b81067a61e0cd37e34220a (diff)
Add plugin data dir
-rw-r--r--glpi-fusioninventory.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/glpi-fusioninventory.spec b/glpi-fusioninventory.spec
index cc5d6a8..e2732f4 100644
--- a/glpi-fusioninventory.spec
+++ b/glpi-fusioninventory.spec
@@ -17,7 +17,7 @@ Name: glpi-fusioninventory
# New version schema : 2.4.0 = 0.80+1.0 < 0.80+1.1 < 0.83+1.0
Epoch: 1
Version: %{glpi_version}.0.%{plug_version}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: FusionInventory Server embedded as a GLPI plugin
Summary(fr): Serveur FusionInventory en extension pour GLPI
@@ -89,6 +89,8 @@ done
rm -rf %{buildroot}
# Plugin
+mkdir -p %{buildroot}%{_localstatedir}/lib/glpi/files/_plugins/%{pluginname}
+
mkdir -p %{buildroot}/%{_datadir}/glpi/plugins
cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}
@@ -131,9 +133,14 @@ rm -rf %{buildroot}
%{_datadir}/glpi/plugins/%{pluginname}/pics
%{_datadir}/glpi/plugins/%{pluginname}/report
%{_datadir}/glpi/plugins/%{pluginname}/scripts
+# Data
+%attr(750,apache,root) %{_localstatedir}/lib/glpi/files/_plugins/%{pluginname}
%changelog
+* Fri Jul 08 2016 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 1:0.90.0.1.3-2
+- Add plugin data dir
+
* Wed May 18 2016 Remi Collet <remi@fedoraproject.org> - 1:0.90.0.1.3-1
- update to 0.90+1.3