[Samba] RPM building tools for Samba 4.0.3 on RHEL 6 published bye me on Github
miguelmedalha at sapo.pt
Wed Mar 20 13:37:31 MDT 2013
I tested the .spec file you posted today. There's still a glitch remaining.
If built with the file as it is ("%global with_dc 0") the packages build
However, if "%global with_dc 1" is used, the build fails with the
RPM build errors:
Installed (but unpackaged) file(s) found:
I can see that this file is excluded in the packging list pertaining to
DC-LIBS, if "with_dc" is disabled but it is not one of the "# ldb
libraries built with DC activated", contrary to the other file always
excluded in the Fedora .spec (ldbsamba_extensions.so), which is listed
in your file.
When I do a rpm query for --whatrequires both files, the answer is that
no package requires either file. As such, they should probably be always
excluded, as happens with the Fedora .spec file.
One more thing: since Samba 4.0.4 is out now, maybe you should update
your files to match? This is just a security release that presents no
problem whatsoever when built with the same specs as 4.0.3. I did it and
all went well. I have an experimental AD domain controller working
correctly it it.
Thank you again
More information about the samba