summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--glpi-behaviors.spec12
2 files changed, 9 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1ab5c4f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+package-*.xml
+*.tgz
+*.tar.gz
+*.tar.xz
+*.tar.xz.asc
+*.src.rpm
+*/*rpm
diff --git a/glpi-behaviors.spec b/glpi-behaviors.spec
index 1b8906d..fb22a92 100644
--- a/glpi-behaviors.spec
+++ b/glpi-behaviors.spec
@@ -9,7 +9,7 @@
%global pluginname behaviors
Name: glpi-behaviors
-Version: 1.3
+Version: 1.4.0
Release: 1%{?dist}
Summary: Plugin to add optional behaviors to GLPI
Summary(fr): Extension ajoutant des comportements optionnels à GLPI
@@ -18,9 +18,8 @@ Group: Applications/Internet
License: AGPLv3+
URL: https://forge.glpi-project.org/projects/behaviors
-Source0: https://forge.glpi-project.org/attachments/download/2178/glpi-behaviors-1.3.tar.gz
+Source0: https://forge.glpi-project.org/attachments/download/2187/glpi-behaviors-1.4.0.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
@@ -54,8 +53,6 @@ done
%install
-rm -rf %{buildroot}
-
mkdir -p %{buildroot}/%{_datadir}/glpi/plugins
cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}
@@ -66,12 +63,7 @@ do
done | tee %{name}.lang
-%clean
-rm -rf %{buildroot}
-
-
%files -f %{name}.lang
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%dir %{_datadir}/glpi/plugins/%{pluginname}