diff options
Diffstat (limited to 'packaging/RHEL')
-rw-r--r-- | packaging/RHEL/samba.spec.tmpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packaging/RHEL/samba.spec.tmpl b/packaging/RHEL/samba.spec.tmpl index 7818296fa6..8ecf539e24 100644 --- a/packaging/RHEL/samba.spec.tmpl +++ b/packaging/RHEL/samba.spec.tmpl @@ -118,7 +118,7 @@ utilized by SWAT as well as the HTML and PDF version of "Using Samba", /bin/cp setup/filter-requires-samba.sh %{SOURCE998} -cd source +cd source3 # RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" ## check for ccache @@ -204,14 +204,14 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged mkdir -p $RPM_BUILD_ROOT/var/{log,run/winbindd,spool}/samba -cd source +cd source3 make DESTDIR=$RPM_BUILD_ROOT \ install cd .. # NSS winbind support -install -m 755 source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so.2 -install -m 755 source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so.2 +install -m 755 source3/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_winbind.so.2 +install -m 755 source3/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so.2 ( cd $RPM_BUILD_ROOT/%{_libarch}; ln -sf libnss_winbind.so.2 libnss_winbind.so; ln -sf libnss_wins.so.2 libnss_wins.so ) @@ -231,9 +231,9 @@ install -m644 setup/samba.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/samba install -m755 setup/smbprint $RPM_BUILD_ROOT%{_bindir} install -m644 setup/smbusers $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers install -m644 setup/smb.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf -install -m755 source/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs -install -m755 source/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs -install -m755 source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir} +install -m755 source3/bin/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs +install -m755 source3/bin/umount.cifs $RPM_BUILD_ROOT/sbin/umount.cifs +install -m755 source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_bindir} /bin/rm $RPM_BUILD_ROOT%{_sbindir}/*mount.cifs |