From 0da5a62e10f2d7d02569b6be452b9f8aa32bd1b19c7e9a34c429088219b45d4b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 21 Feb 2019 13:29:19 +0000 Subject: [PATCH] feed through beautifier OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=214 --- sssd.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sssd.spec b/sssd.spec index 69fe122..b01ea33 100644 --- a/sssd.spec +++ b/sssd.spec @@ -390,7 +390,7 @@ export LDFLAGS="-pie" --with-pipe-path="%pipepath" \ --with-pubconf-path="%pubconfpath" \ --with-init-dir="%_initrddir" \ - --with-environment-file=%{_sysconfdir}/sysconfig/sssd \ + --with-environment-file="%_sysconfdir/sysconfig/sssd" \ --with-initscript=systemd \ --with-syslog=journald \ --enable-nsslibdir="/%_lib" \ @@ -407,7 +407,7 @@ make %{?_smp_mflags} all %install # sss_obfuscate is compatible with both python 2 and 3 -sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate +sed -i -e 's:%_bindir/python:%_bindir/python3:' src/tools/sss_obfuscate b="%buildroot" make install DESTDIR="$b" @@ -421,8 +421,8 @@ install -d "$b/%_sysconfdir/sssd/conf.d" install -d "$b/%_unitdir" # Copy default logrotate file -install -d "$b/%{_sysconfdir}/logrotate.d" -install -m644 src/examples/logrotate "$b/%{_sysconfdir}/logrotate.d/sssd" +install -d "$b/%_sysconfdir/logrotate.d" +install -m644 src/examples/logrotate "$b/%_sysconfdir/logrotate.d/sssd" rm -Rf "$b/%_initddir" ln -s service "$b/%_sbindir/rcsssd"