From c675e159e49c94fc1553083d00dab9c1b8bf3bf24716a90cc5029aeac08535ed Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 8 Jan 2014 12:49:34 +0000 Subject: [PATCH] - Add back /etc/sysconfig/quasselcore (bnc#849850) OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/quassel?expand=0&rev=8 --- quassel.changes | 5 +++++ quassel.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/quassel.changes b/quassel.changes index cdfd7b7..c81a4e3 100644 --- a/quassel.changes +++ b/quassel.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 8 12:49:17 UTC 2014 - speilicke@suse.com + +- Add back /etc/sysconfig/quasselcore (bnc#849850) + ------------------------------------------------------------------- Sat Dec 7 20:59:26 UTC 2013 - cgiboudeaux@gmx.com diff --git a/quassel.spec b/quassel.spec index 9402d28..94df8b4 100644 --- a/quassel.spec +++ b/quassel.spec @@ -1,7 +1,7 @@ # # spec file for package quassel # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -97,10 +97,8 @@ This is the quassel client only %package core Summary: Modern, cross-platform, distributed IRC client Group: Productivity/Networking/IRC -PreReq: %fillup_prereq -PreReq: %insserv_prereq PreReq: pwdutils -Requires: %fillup_prereq +PreReq: %fillup_prereq Requires: libqt4_sql_backend Requires: logrotate Recommends: libqt4-sql-sqlite @@ -160,7 +158,7 @@ mkdir -p %{buildroot}%{_unitdir} install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/quasselcore.service # Provide SUSE policy symlink /usr/sbin/rcFOO -> /etc/init.d/FOO ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcquasselcore -install -D -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}core +install -D -m 644 %{SOURCE2} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.quasselcore install -d -m 751 %{buildroot}%{_localstatedir}/log/%{name} install -D -m 644 %{SOURCE3} %{buildroot}%{_kde4_sysconfdir}/logrotate.d/%{name}core install -D -m 644 %{SOURCE4} %{buildroot}%{_kde4_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name} @@ -172,6 +170,7 @@ install -D -m 644 %{SOURCE4} %{buildroot}%{_kde4_sysconfdir}/sysconfig/SuSEfirew %service_add_pre quasselcore.service %post core +%{fillup_only -n quasselcore} %service_add_post quasselcore.service %preun core