[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[leafnode-list] Re: FTBFS on RHEL-7
-----BEGIN PGP SIGNED MESSAGE-----
Am 24.07.2014 um 18:13 schrieb Mat?j Cepl:
> Hi, Matthias,
> aside from mirroring the git repo on
> https://gitorious.org/leafnode-2/leafnode-2 I have obviously also tried
> to build a package from it on my RHEL-7 (more or less like Fedora 19).
> Aside from need to fix one POD file (see attached patch), build also
> fails in Koji (the official Fedora build system), because Fedora doesn’t
> have per default user 'news'. Moreover, of course, build system has
> absolutely nothing common with the system where the leafnode-2 in the
> end will run.
> It is possible to define in the .spec file (roughly equivalent of
> Debian’s debian/ directory) that before installation of the package on
> target system new user will be created (installation of the package
> obviously runs as root) and then it could be defined which files should
> be set as owned by defined group or user. But I cannot create new user
> on the build system (and I don't think it makes any sense anyway).
> Any ideas how to patch build system to allow this?
I think release 20140727b should address your needs - just run
./configure with --enable-runas-user=`id -gn` and make sure that your
spec file creates the user before install, and that your .spec file's
%files section sets the proper owner and group for the directories.
Let me know how it goes.
I've also pushed the changes to my repo, so you may want to resynch.
Hope that helps.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
-----END PGP SIGNATURE-----
leafnode-list mailing list