summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2016-01-13 19:44:58 +0100
committerFlorent Le Coz <louiz@louiz.org>2016-01-13 14:01:04 +0100
commit25475b60ab363299ddbe5e81ded8968b76838b44 (patch)
treea081ed2c3e99fa9c3f6727457fbe10fbdc86ba43 /packaging
parent4233e1f6538351e3bf3c15c88454455998b718e5 (diff)
downloadbiboumi-25475b60ab363299ddbe5e81ded8968b76838b44.tar.gz
biboumi-25475b60ab363299ddbe5e81ded8968b76838b44.tar.bz2
biboumi-25475b60ab363299ddbe5e81ded8968b76838b44.tar.xz
biboumi-25475b60ab363299ddbe5e81ded8968b76838b44.zip
Generate systemd file from template and make installs it and the conf
The unit file Type=, as well as the executable path should now be correct with a simple “make install”, whatever the install prefix and the DESTDIR values are. ref #3152
Diffstat (limited to 'packaging')
-rw-r--r--packaging/biboumi.spec12
1 files changed, 4 insertions, 8 deletions
diff --git a/packaging/biboumi.spec b/packaging/biboumi.spec
index fb9a30f..e375504 100644
--- a/packaging/biboumi.spec
+++ b/packaging/biboumi.spec
@@ -49,14 +49,6 @@ LC_ALL=en_GB.utf-8 make doc
%install
make install DESTDIR=%{buildroot}
-# Default config file
-install -D -p -m 644 conf/biboumi.cfg \
- %{buildroot}%{biboumi_confdir}/biboumi.cfg
-
-# Systemd unit file
-install -D -p -m 644 unit/%{name}.service \
- %{buildroot}%{_unitdir}/%{name}.service
-
%check
make test_suite/fast VERBOSE=1
@@ -73,6 +65,10 @@ make test_suite/fast VERBOSE=1
%changelog
+* Wed Jan 13 2016 Le Coz Florent <louiz@louiz.org> - 2.0-2
+- Do not install the systemd unit and configuration files, because
+ “make install” does it itself now
+
* Fri May 29 2015 Le Coz Florent <louiz@louiz.org> - 2.0-1
- Update to 2.0 sources