Avoid globs, list specific packaged files #2
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "scabrero/sssd:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In preparation for samba 4.21 update.
Signed-off-by: Samuel Cabrero scabrero@suse.de
The rationale is insufficient. What is in samba 4.21 that makes these changes necessary?
Samba no longer provides an independent
libldb
tarball, the library is now considered to be private by default but it provides a configure switch to expose it. Related to this the modules path changed from/usr/lib64/ldb2/modules/ldb/
to/usr/lib64/samba/ldb
, causing the following build error:The current filelist contains (rpm -ql):
After your change, the filelist contains:
So the only immediate change you did is a removal of directories, which is bad in its own right.
The explicit spelling of .so files has the effect that, if those files were to be no longer produced by the sssd build, that we will know about their disappearance. But if sss.so / memberof.so is expected to be no longer produced, then why bother spelling it out instead of removing it altogether⸘
Hi @jengelh
I think there is a misunderstanding here. You have to build sssd with samba 4.21 in the same OBS project (I had to create a link with
osc linkpac
because branching packages with<scmsync>
is no longer possible and AFAIK the GIT workflow isn't ready...).After building with 4.21:
Regarding the directories, from https://en.opensuse.org/openSUSE:Specfile_guidelines#Ownership
In the case of
/usr/lib64/samba/ldb/memberof.so
the directory/usr/lib64/samba/ldb
is owned bylibldb2
andsssd
requires it, so the directory shouldn't be owned by sssd.The case of
/usr/lib64/samba/idmap/sss.so
falls into theCommon directory for unrelated packages
exception. In this case sssd should also own/usr/lib64/samba
.is exactly what I did. And this very local build succeeds already with the unmodified sssd.spec. The fact that the memberof.so file changed directories is automatically taken care of.
sssd.spec also does not depend on ldb's directory presence; which is to say, if libldb2 stopped shipping plugins tomorrow, no one would potentially own /usr/lib64/samba/ldb, and that's a good case for why sssd.spec ought to co-own it.
P.S.: Anyway, if you would like to indulge in a second opinion for the git workflow, do check out https://inai.de/linux/obs-with-git-scmsync where I have (just now) written down my rough take on the workflow.
I tried and in my machine it fails in the same way OBS does.
Ok, I will push an update.
That means I must have made an error somewhere. Oh well, let me please take care of it now that I know where the error is ;-)