Re: rpmbuild --rebuiild with config options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/17/2017 07:14 PM, Gordon Messmer wrote:
> 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.

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@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-                   "The bogosity meter just pegged."                -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux