diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/Fedora/samba.spec.tmpl | 4 | ||||
-rw-r--r-- | packaging/RedHat/samba.spec.tmpl | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/packaging/Fedora/samba.spec.tmpl b/packaging/Fedora/samba.spec.tmpl index e381dd0bc3..7fde5c0e9a 100644 --- a/packaging/Fedora/samba.spec.tmpl +++ b/packaging/Fedora/samba.spec.tmpl @@ -121,10 +121,11 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure \ --with-swatdir=%{_datadir}/swat \ --with-libsmbclient \ --with-acl-support \ + --with-shared-modules=idmap_rid \ --enable-cups=yes make showlayout make proto -make %{?_smp_mflags} all nsswitch/libnss_wins.so debug2html +make %{?_smp_mflags} all modules nsswitch/libnss_wins.so debug2html %install @@ -355,6 +356,7 @@ fi %{_libdir}/libsmbclient.a %{_libdir}/libsmbclient.so %{_libdir}/samba/charset/CP*.so +%{_libdir}/samba/idmap/idmap*.so %{_includedir}/libsmbclient.h %{_bindir}/testparm %{_bindir}/testprns diff --git a/packaging/RedHat/samba.spec.tmpl b/packaging/RedHat/samba.spec.tmpl index aa811dbe76..d5124d05ed 100644 --- a/packaging/RedHat/samba.spec.tmpl +++ b/packaging/RedHat/samba.spec.tmpl @@ -96,9 +96,10 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA" ./configure \ --with-utmp \ --with-sambabook=%{prefix}/share/swat/using_samba \ --with-swatdir=%{prefix}/share/swat \ + --with-shared-modules=idmap_rid \ --with-libsmbclient make -j${NUMCPU} proto -make -j${NUMCPU} all nsswitch/libnss_wins.so +make -j${NUMCPU} all modules nsswitch/libnss_wins.so make -j${NUMCPU} debug2html # Remove some permission bits to avoid to many dependencies @@ -430,6 +431,7 @@ fi %attr(755,root,root) /lib/libnss_wins.s* %attr(755,root,root) %{prefix}/lib/samba/vfs/*.so %attr(755,root,root) %{prefix}/lib/samba/charset/*.so +%attr(755,root,root) %{prefix}/lib/samba/idmap/*.so #%attr(755,root,root) %{prefix}/lib/samba/pdb/*.so %attr(755,root,root) %{prefix}/lib/samba/*.dat %attr(755,root,root) %{prefix}/lib/samba/*.msg |