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