waf issue?

Udo van den Heuvel udovdh at xs4all.nl
Fri Apr 5 08:12:02 UTC 2019


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 at .
Isn't waf supposed to handle this?

Kind regards,
Udo


More information about the devel mailing list