SHA256
1
0
forked from jengelh/sssd

feed through beautifier

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=214
This commit is contained in:
Jan Engelhardt 2019-02-21 13:29:19 +00:00 committed by Git OBS Bridge
parent 34c451039c
commit 0da5a62e10

View File

@ -390,7 +390,7 @@ export LDFLAGS="-pie"
--with-pipe-path="%pipepath" \ --with-pipe-path="%pipepath" \
--with-pubconf-path="%pubconfpath" \ --with-pubconf-path="%pubconfpath" \
--with-init-dir="%_initrddir" \ --with-init-dir="%_initrddir" \
--with-environment-file=%{_sysconfdir}/sysconfig/sssd \ --with-environment-file="%_sysconfdir/sysconfig/sssd" \
--with-initscript=systemd \ --with-initscript=systemd \
--with-syslog=journald \ --with-syslog=journald \
--enable-nsslibdir="/%_lib" \ --enable-nsslibdir="/%_lib" \
@ -407,7 +407,7 @@ make %{?_smp_mflags} all
%install %install
# sss_obfuscate is compatible with both python 2 and 3 # 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" b="%buildroot"
make install DESTDIR="$b" make install DESTDIR="$b"
@ -421,8 +421,8 @@ install -d "$b/%_sysconfdir/sssd/conf.d"
install -d "$b/%_unitdir" install -d "$b/%_unitdir"
# Copy default logrotate file # Copy default logrotate file
install -d "$b/%{_sysconfdir}/logrotate.d" install -d "$b/%_sysconfdir/logrotate.d"
install -m644 src/examples/logrotate "$b/%{_sysconfdir}/logrotate.d/sssd" install -m644 src/examples/logrotate "$b/%_sysconfdir/logrotate.d/sssd"
rm -Rf "$b/%_initddir" rm -Rf "$b/%_initddir"
ln -s service "$b/%_sbindir/rcsssd" ln -s service "$b/%_sbindir/rcsssd"