- Add back /etc/sysconfig/quasselcore (bnc#849850)

OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/quassel?expand=0&rev=8
This commit is contained in:
Sascha Peilicke 2014-01-08 12:49:34 +00:00 committed by Git OBS Bridge
parent bd18a66f30
commit 8b8cf4af09
2 changed files with 9 additions and 5 deletions

View File

@ -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 Sat Dec 7 20:59:26 UTC 2013 - cgiboudeaux@gmx.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package quassel # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -97,10 +97,8 @@ This is the quassel client only
%package core %package core
Summary: Modern, cross-platform, distributed IRC client Summary: Modern, cross-platform, distributed IRC client
Group: Productivity/Networking/IRC Group: Productivity/Networking/IRC
PreReq: %fillup_prereq
PreReq: %insserv_prereq
PreReq: pwdutils PreReq: pwdutils
Requires: %fillup_prereq PreReq: %fillup_prereq
Requires: libqt4_sql_backend Requires: libqt4_sql_backend
Requires: logrotate Requires: logrotate
Recommends: libqt4-sql-sqlite Recommends: libqt4-sql-sqlite
@ -160,7 +158,7 @@ mkdir -p %{buildroot}%{_unitdir}
install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/quasselcore.service install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/quasselcore.service
# Provide SUSE policy symlink /usr/sbin/rcFOO -> /etc/init.d/FOO # Provide SUSE policy symlink /usr/sbin/rcFOO -> /etc/init.d/FOO
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcquasselcore 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 751 %{buildroot}%{_localstatedir}/log/%{name}
install -D -m 644 %{SOURCE3} %{buildroot}%{_kde4_sysconfdir}/logrotate.d/%{name}core 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} 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 %service_add_pre quasselcore.service
%post core %post core
%{fillup_only -n quasselcore}
%service_add_post quasselcore.service %service_add_post quasselcore.service
%preun core %preun core