On Sun, Jun 08, 2003 at 04:17:24PM +0200, Luca Berra wrote:
/me admits his ignorance of the existance of mandrake cvs, i will search
for it and see if i have anything else to patch.

got a spec from samba cvs and would like some comments:

why kill wrepld? the ldap scripts?

make --with system work:
@@ -110,8 +110,8 @@
# To use it, do rpm [-ba|--rebuild] --with 'xxx'
# Check if the rpm was built with the defaults, otherwise we inform the user
%define build_non_default 0
-%{?_with_system: %{expand: %%define build_system 1}}
-%{?_without_system: %{expand: %%define build_system 0}}
+%{?_with_system: %{expand: %%global build_system 1}}
+%{?_without_system: %{expand: %%global build_system 0}}
%{?_with_acl: %{expand: %%global build_acl 1}}
%{?_with_acl: %{expand: %%define build_non_default 1}}
%{?_without_acl: %{expand: %%global build_acl 0}}


stops creating directory %{1} at random places @@ -638,8 +638,8 @@ %prep

# Allow users to query build options with --with options:
-#%define opt_status(%1)        %(echo %{1})
-#%( [ -d %{1} ]||mkdir -p %{1}; [ -w %{1} ] && echo %{1})
+#define opt_status(%1) %(echo %{1})
+#( [ -d %{1} ]||mkdir -p %{1}; [ -w %{1} ] && echo %{1})
%if %{?_with_options:1}%{!?_with_options:0}
%define opt_status(%{1})       %(if [ %{1} -eq 1 ];then echo enabled;else echo 
disabled;fi)
#exit 1

fixes percent in %changelog
vi samba.spec
/%changelog
:.,$s/\([^%]\)%\([^%]\)/\1%%\1

i noticed two other things:
1) "non unix account range" has been replaced by "idmap uid" and "idmap gid", but not 
in smb.conf
2) manpage for smb.conf is broken in the beta1 tarball or in samba cvs, and i am not 
able to rebuild the docs (xsltproc hangs processing smb.conf.5.xml)

L.

--
Luca Berra -- [EMAIL PROTECTED]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \



Reply via email to