Laurent: It seems that execline will install files to /bin. On fedora, it will conflict with other packages:
[packager@rpm-builder rpmbuild]$ sudo rpm -ivh ~/rpmbuild/RPMS/x86_64/execline-2.9.4.0-1.fc39.x86_64.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] file /usr/bin from install of execline-2.9.4.0-1.fc39.x86_64 conflicts with file from package filesystem-3.18-6.fc39.x86_64 file /usr/bin/cd from install of execline-2.9.4.0-1.fc39.x86_64 conflicts with file from package bash-5.2.26-1.fc39.x86_64 file /usr/bin/umask from install of execline-2.9.4.0-1.fc39.x86_64 conflicts with file from package bash-5.2.26-1.fc39.x86_64 file /usr/bin/wait from install of execline-2.9.4.0-1.fc39.x86_64 conflicts with file from package bash-5.2.26-1.fc39.x86_64 [packager@rpm-builder rpmbuild]$ Could you provide some suggestion? Or does anyone has some experience on that? Wang > On Apr 1, 2024, at 17:25, ericwq...@qq.com wrote: > > Yes, skalibs, execline are different projects. The GitHub site is just a > central and temporary place to hold the spec files. > > For skalibs project, I build 4 rpm packages: skalibs, skalibs-devel, > skalibs-devel-static, skalibs-doc. > skalibs-devel depends on skalibs. Just follow the aports counterpart pacakges > dependency rule. > > The rpmbuild tool supports building different packages in one directory. > >> On Apr 1, 2024, at 17:09, Laurent Bercot <ska-skaw...@skarnet.org> wrote: >> >> >> I haven't looked in detail, but I'm not sure why you want everything >> in one single RPM. >> >> skalibs, utmps, execline and s6 are different projects. A package should >> be one project, not a set of projects. A package manager will handle >> dependencies between packages and install all the rpms that are needed by >> a given project. >> >> Or isn't it how the rpm packaging system handles dependencies? >> >> -- >> Laurent >> >