Re: rpmbuild --rebuiild with config options

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

 



On 08/18/2017 09:47 AM, Rick Stevens wrote:
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'm mostly sure you also need to add a "bcond" statement, and you'll *probably* spend some time massaging the file lists.

http://rpm.org/user_doc/conditional_builds.html

If you need to remove some of the flags currently passed to configure, you'd need to keep the existing configure command inside a conditional statement, and your minimal configure command in its "else" clause.

If this is your first foray into spec files, you're probably better off just making the changes you want, directly.
_______________________________________________
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