forked from pool/sssd
undo specfile horkage 2
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=190
This commit is contained in:
parent
b37bcee6c1
commit
1509d47d02
31
sssd.spec
31
sssd.spec
@ -431,27 +431,28 @@ export LDFLAGS="-pie"
|
||||
make %{?_smp_mflags} all
|
||||
|
||||
%install
|
||||
make install DESTDIR="%buildroot"
|
||||
b="%buildroot"
|
||||
make install DESTDIR="$b"
|
||||
|
||||
# Copy default sssd.conf file
|
||||
install -d "%buildroot/%_mandir"/{cs,cs/man8,nl,nl/man8,pt,pt/man8,uk,uk/man1} \
|
||||
"%buildroot/%_mandir"/{uk/man5,uk/man8}
|
||||
install -d "%buildroot/%_sysconfdir/sssd"
|
||||
install -m600 src/examples/sssd-example.conf "%buildroot/%_sysconfdir/sssd/sssd.conf"
|
||||
install -d "%buildroot/%_sysconfdir/sssd/conf.d"
|
||||
install -d "%buildroot/%_unitdir"
|
||||
install -m644 %{S:4} "%buildroot/%_unitdir/sssd.service"
|
||||
rm -Rf "%buildroot/%_initddir"
|
||||
ln -s service "%buildroot/%_sbindir/rcsssd"
|
||||
install -d "$b/%_mandir"/{cs,cs/man8,nl,nl/man8,pt,pt/man8,uk,uk/man1} \
|
||||
"$b/%_mandir"/{uk/man5,uk/man8}
|
||||
install -d "$b/%_sysconfdir/sssd"
|
||||
install -m600 src/examples/sssd-example.conf "$b/%_sysconfdir/sssd/sssd.conf"
|
||||
install -d "$b/%_sysconfdir/sssd/conf.d"
|
||||
install -d "$b/%_unitdir"
|
||||
install -m644 %{S:4} "$b/%_unitdir/sssd.service"
|
||||
rm -Rf "$b/%_initddir"
|
||||
ln -s service "$b/%_sbindir/rcsssd"
|
||||
|
||||
mkdir -p "%buildroot/%sssdstatedir/mc"
|
||||
mkdir -p "%buildroot/%_sysconfdir/ld.so.conf.d"
|
||||
cat >"%buildroot/%_sysconfdir/ld.so.conf.d/sssd-wbclient.conf" <<-EOF
|
||||
mkdir -p "$b/%sssdstatedir/mc"
|
||||
mkdir -p "$b/%_sysconfdir/ld.so.conf.d"
|
||||
cat >"$b/%_sysconfdir/ld.so.conf.d/sssd-wbclient.conf" <<-EOF
|
||||
%_libdir/%name/modules
|
||||
EOF
|
||||
find "%buildroot" -type f -name "*.la" -delete
|
||||
find "$b" -type f -name "*.la" -delete
|
||||
|
||||
rm -Rf "%buildroot/%_sysconfdir/dbus-1" "%buildroot/%_datadir/dbus-1"
|
||||
rm -Rf "$b/%_sysconfdir/dbus-1" "$b/%_datadir/dbus-1"
|
||||
|
||||
%find_lang %name --all-name
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user