On 08/17/2017 07:14 PM, Gordon Messmer wrote:
On Wed, Aug 16, 2017 at 4:50 PM, Amadeus W.M.
<amadeus84(a)verizon.net> 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.
Thanks for the link. Looking at that, the spec file would need to be
modified:
%configure --with-dbus --with-gif --with-jpeg --with-png \
--with-rsvg --with-tiff --with-xft --with-xpm \
--with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets \
--with-modules %{?_with_all}
and rpmbuild invoked as:
rpmbuild ... --with all ...
(note the space between "with" and "all"). I think that's
what's needed.
I don't know it's necessary as the "--with-modules" looks like it'd
build pretty much everything, but I don't use emacs often and wouldn't
use any of its "sophisticated" features. I administer a LOT of machines
and I can generally rely on having vi/vim installed. Emacs...not so
much.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital ricks(a)alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
- -
- "The bogosity meter just pegged." -
----------------------------------------------------------------------