summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glpi-ocsinventoryng.spec16
1 files changed, 5 insertions, 11 deletions
diff --git a/glpi-ocsinventoryng.spec b/glpi-ocsinventoryng.spec
index 7f6869d..ee4e261 100644
--- a/glpi-ocsinventoryng.spec
+++ b/glpi-ocsinventoryng.spec
@@ -1,6 +1,6 @@
# remirepo spec file for glpi-ocsinventoryng
#
-# Copyright (c) 2013-2017 Remi Collet
+# Copyright (c) 2013-2018 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -10,18 +10,16 @@
%global lockname ocsinventoryng.lock
Name: glpi-ocsinventoryng
-Version: 1.4.2
+Version: 1.4.3
Release: 1%{?dist}
Summary: Plugin to synchronize GLPI with OCS Inventory NG
-Group: Applications/Internet
License: GPLv2+
URL: https://github.com/pluginsGLPI/ocsinventoryng
Source0: https://github.com/pluginsGLPI/ocsinventoryng/releases/download/%{version}/glpi-ocsinventoryng-%{version}.tar.gz
Source1: %{name}-httpd.conf
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
@@ -101,8 +99,6 @@ done
%install
-rm -rf %{buildroot}
-
# Plugin
mkdir -p %{buildroot}/%{_datadir}/glpi/plugins
cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}
@@ -125,10 +121,6 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/glpi/files/_lock
touch %{buildroot}%{_localstatedir}/lib/glpi/files/_lock/%{lockname}
-%clean
-rm -rf %{buildroot}
-
-
%post
# first install (not upgrade)
if [ "$1" -eq "1" ]; then
@@ -150,7 +142,6 @@ grep %{lockname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}/setup.php |
%files -f %{name}.lang
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc docs/*
@@ -174,6 +165,9 @@ grep %{lockname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}/setup.php |
%changelog
+* Wed Feb 21 2018 Remi Collet <remi@remirepo.net> - 1.4.3-1
+- Update to 1.4.3 for GLPI 9.2
+
* Thu Oct 19 2017 Remi Collet <remi@remirepo.net> - 1.4.2-1
- Update to 1.4.2 for GLPI 9.2