From 176cc18db5c647990b7d65679af64085997b784a94267d03bf1c6fedd643e274 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Tue, 30 Nov 2010 16:15:49 +0000 Subject: [PATCH] Accepting request 53972 from network:ldap Accepted submit request 53972 from user rhafer OBS-URL: https://build.opensuse.org/request/show/53972 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sssd?expand=0&rev=11 --- sssd.changes | 5 +++++ sssd.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sssd.changes b/sssd.changes index dd41395..c238b85 100644 --- a/sssd.changes +++ b/sssd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 25 16:30:40 UTC 2010 - rhafer@novell.com + +- install systemd service file + ------------------------------------------------------------------- Tue Nov 16 11:06:02 UTC 2010 - rhafer@novell.com diff --git a/sssd.spec b/sssd.spec index 3f12c67..eeec95a 100644 --- a/sssd.spec +++ b/sssd.spec @@ -120,7 +120,7 @@ export LDB_CFLAGS="-I/usr/include" --with-selinux=no \ --with-so=suse \ --with-semanage=no -make %{?jobs:-j%jobs} +make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT @@ -131,6 +131,8 @@ make install DESTDIR=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{_sysconfdir}/sssd install -m600 src/examples/sssd.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf install src/sysv/SUSE/sssd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/sssd +install -d $RPM_BUILD_ROOT/%{_sysconfdir}/systemd/system +install src/sysv/systemd/sssd.service $RPM_BUILD_ROOT%{_sysconfdir}/systemd/system/sssd.service ln -sf ../../etc/init.d/sssd $RPM_BUILD_ROOT/usr/sbin/rcsssd # Remove .la files created by libtool @@ -165,6 +167,7 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc COPYING %{_initrddir}/%{name} +%config %{_sysconfdir}/systemd/system/sssd.service %{_sbindir}/sssd %{_sbindir}/rcsssd %dir %{_libdir}/%{name}