On 4/5/19 3:12 AM, Udo van den Heuvel via devel wrote:
> Hello,
>
> In my spec file (for Fedora) I configure and build nptsec with:
>
> %build
> CFLAGS="-O2" ./waf configure \
> --prefix=/usr\
> --enable-early-droproot\
> --refclock=nmea,generic\
> --libdir=%{_libdir}\
> --docdir=%{_docdir}/ntpsec\
> --enable-doc
> CFLAGS="-O2" ./waf build
>
> %install
>
> DESTDIR=$RPM_BUILD_ROOT ./waf install
>
>
>
> Using this method we end up with service files for systemd with strings
> in them like @BINDIR@ and @SBINDIR@.
> Isn't waf supposed to handle this?
Yes. I ran your commands and it works for me.
--
Richard
___
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel