- install and enable systemd service files also in -mini package
- install and enable systemd service files also in -mini package OBS-URL: https://build.opensuse.org/package/show/network/krb5?expand=0&rev=108
This commit is contained in:
parent
071b9cc1bd
commit
6ca487dd65
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 16:21:07 UTC 2013 - mc@suse.com
|
||||
|
||||
- install and enable systemd service files also in -mini package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 02:12:03 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -322,13 +322,45 @@ rm -rf %{buildroot}/usr/lib/mit/share/examples
|
||||
# krb5(-mini) pre/post/postun
|
||||
#####################################################
|
||||
|
||||
%if %{build_mini}
|
||||
|
||||
%preun
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_del_preun krb5kdc.service kadmind.service kpropd.service
|
||||
%else
|
||||
%stop_on_removal krb5kdc kadmind kpropd
|
||||
%endif
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_del_postun krb5kdc.service kadmind.service kpropd.service
|
||||
%else
|
||||
%restart_on_update krb5kdc kadmind kpropd
|
||||
%{insserv_cleanup}
|
||||
%endif
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_add_post krb5kdc.service kadmind.service kpropd.service
|
||||
%endif
|
||||
%{fillup_only -n kadmind}
|
||||
%{fillup_only -n krb5kdc}
|
||||
%{fillup_only -n kpropd}
|
||||
|
||||
%pre
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_add_pre krb5kdc.service kadmind.service kpropd.service
|
||||
%endif
|
||||
|
||||
%else
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%if ! %{build_mini}
|
||||
|
||||
#####################################################
|
||||
# krb5-server preun/postun/pre/post
|
||||
#####################################################
|
||||
@ -430,6 +462,11 @@ rm -rf %{buildroot}/usr/lib/mit/share/examples
|
||||
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/k*
|
||||
%{_var}/adm/fillup-templates/sysconfig.*
|
||||
%{_sysconfdir}/init.d/*
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%{_unitdir}/kadmind.service
|
||||
%{_unitdir}/krb5kdc.service
|
||||
%{_unitdir}/kpropd.service
|
||||
%endif
|
||||
%{_libdir}/libgssapi_krb5.*
|
||||
%{_libdir}/libgssrpc.so.*
|
||||
%{_libdir}/libk5crypto.so.*
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 24 16:21:07 UTC 2013 - mc@suse.com
|
||||
|
||||
- install and enable systemd service files also in -mini package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 02:12:03 UTC 2013 - crrodriguez@opensuse.org
|
||||
|
||||
|
41
krb5.spec
41
krb5.spec
@ -322,13 +322,45 @@ rm -rf %{buildroot}/usr/lib/mit/share/examples
|
||||
# krb5(-mini) pre/post/postun
|
||||
#####################################################
|
||||
|
||||
%if %{build_mini}
|
||||
|
||||
%preun
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_del_preun krb5kdc.service kadmind.service kpropd.service
|
||||
%else
|
||||
%stop_on_removal krb5kdc kadmind kpropd
|
||||
%endif
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_del_postun krb5kdc.service kadmind.service kpropd.service
|
||||
%else
|
||||
%restart_on_update krb5kdc kadmind kpropd
|
||||
%{insserv_cleanup}
|
||||
%endif
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_add_post krb5kdc.service kadmind.service kpropd.service
|
||||
%endif
|
||||
%{fillup_only -n kadmind}
|
||||
%{fillup_only -n krb5kdc}
|
||||
%{fillup_only -n kpropd}
|
||||
|
||||
%pre
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_add_pre krb5kdc.service kadmind.service kpropd.service
|
||||
%endif
|
||||
|
||||
%else
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%if ! %{build_mini}
|
||||
|
||||
#####################################################
|
||||
# krb5-server preun/postun/pre/post
|
||||
#####################################################
|
||||
@ -430,6 +462,11 @@ rm -rf %{buildroot}/usr/lib/mit/share/examples
|
||||
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/k*
|
||||
%{_var}/adm/fillup-templates/sysconfig.*
|
||||
%{_sysconfdir}/init.d/*
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%{_unitdir}/kadmind.service
|
||||
%{_unitdir}/krb5kdc.service
|
||||
%{_unitdir}/kpropd.service
|
||||
%endif
|
||||
%{_libdir}/libgssapi_krb5.*
|
||||
%{_libdir}/libgssrpc.so.*
|
||||
%{_libdir}/libk5crypto.so.*
|
||||
|
Loading…
Reference in New Issue
Block a user