[389-users] problems building RPM for 389-admin

William william at firstyear.id.au
Sun Apr 26 23:01:56 UTC 2015


On Sun, 2015-04-26 at 14:39 +0200, Giovanni Baruzzi wrote:
> Hi all,
> 
> sorry for a newcomer question.
> After having built the RPM for 389-ds-base and 389-adminutil I’m stuck with a problem with 389-admin.
> I was not able to find an „official“ SPEC file and I resorted to one found somewhere in Internet.
> The problem is that this file requires the definition of the macro %{_unitdir}, which apparetnly is not defined anymore (?) for Fedora.
> 
> How can I solve the problem?
> Is there a location for the „official“ spec files?
> 

If you are building for fedora, look at the fedpkg tool.

fedpkg clone --anonymous 389-ds
cd 389-ds
git branch -r -v
git checkout f21
less 389-ds.spec
fedpkg prep 
fedpkg local


See man fedpkg. If you want the admin console, you should look at some
of the other 389-ds fedpkg repos.


-- 
William <william at firstyear.id.au>




More information about the 389-users mailing list