From 1929e98bfd6271fbea6c9b9e4b1e8594e35b3dc84bab3cd510e4b1b211a3a579 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 27 Apr 2020 11:59:11 +0000 Subject: [PATCH] Accepting request 796024 from home:mnhauke - Install the configuration file into the correct directory -> %{_sysconfdir}/ser2net/ OBS-URL: https://build.opensuse.org/request/show/796024 OBS-URL: https://build.opensuse.org/package/show/network:utilities/ser2net?expand=0&rev=16 --- ser2net.changes | 6 ++++++ ser2net.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ser2net.changes b/ser2net.changes index 67e2141..d3d34f1 100644 --- a/ser2net.changes +++ b/ser2net.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 21 10:17:48 UTC 2020 - Martin Hauke + +- Install the configuration file into the correct directory + -> %{_sysconfdir}/ser2net/ + ------------------------------------------------------------------- Sun Apr 19 12:19:00 UTC 2020 - Martin Hauke diff --git a/ser2net.spec b/ser2net.spec index b6095a7..920f156 100644 --- a/ser2net.spec +++ b/ser2net.spec @@ -50,7 +50,7 @@ autoreconf -fiv %install %make_install -install -D -m 0644 %{name}.yaml %{buildroot}/%{_sysconfdir}/%{name}.yaml +install -D -m 0644 %{name}.yaml %{buildroot}/%{_sysconfdir}/ser2net/%{name}.yaml install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/ser2net.service %pre @@ -69,7 +69,8 @@ install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/ser2net.service %license COPYING %doc ChangeLog AUTHORS README %{_sbindir}/%{name} -%config(noreplace) %{_sysconfdir}/%{name}.yaml +%dir %{_sysconfdir}/ser2net +%config(noreplace) %{_sysconfdir}/ser2net/%{name}.yaml %{_unitdir}/ser2net.service %{_mandir}/man5/ser2net.yaml.5%{?ext_man} %{_mandir}/man8/ser2net.8%{?ext_man}