On Wed, Aug 16, 2017 at 4:50 PM, Amadeus W.M. <amadeus84@xxxxxxxxxxx> wrote: > I'm trying to put together a minimal emacs rpm and I'm trying this, with > the ensuing error: > > rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without-all > rpmbuild: --without-all: unknown option Looking at the emacs spec (available at https://src.fedoraproject.org/rpms/emacs/tree/master), I don't see any "with" options defined for this package, so there's no way to specify such options, nor any way to pass options to ./configure. The normal build produces a "nox" version. If that's not what you mean by minimal, then you can install (rpm -i) the src.rpm and then edit the spec. Locate the "./configure" line and make the changes you require, there. Build the package as normal, but anticipate that you might need to adjust the %files section if rpm tells you that files are missing, and rebuild again. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx