[lug] RPM --rebuild question

Riggs, Rob RRiggs at doubleclick.net
Tue Mar 19 12:59:28 MST 2002


No. The goal of RPMs is a consistent build. (i.e. There is only one way to
build an RPM from an SRPM.) To do what you want, you will need to install
the SRPM. Then do 'rpm -bp' to install the source and apply the patches. You
can then muck about with configuration changes in the BUILD directory. Once
you are satisfied that you know how to build the package the way you want
you can modify the SPEC file and rebuild the RPM & SRPM.

That's not an eloquent answer but it should get you started.

-Rob

-----Original Message-----
From: D. Stimits [mailto:stimits at idcomm.com]
Sent: Tuesday, March 19, 2002 12:54 PM
To: BLUG
Subject: [lug] RPM --rebuild question


I have an rpm in source format, designed for Redhat. I'm doing a
--rebuild, but it says in the stage that works with configure:
  For your convenience, here's a summary of configure's results:
  Support for shared libraries:           yes
  C++ language binding for PDFlib:        no

Now this might actually be some other issue with what comes in the
download lib, that it doesn't support C++ language bindings. But it
leads me to the question, is there a way in a source rpm to directly
tell it to run the configure stage with --help? Can I tell an rpm
package directly to give me the output of "./configure --help" from
inside the project? If I wanted to pass a configure option during the
rebuild, "./configure --with-foo-bar", can I do this? Obviously rpm has
its own options, but can I access configure script options of autoconf
directly (I'm wondering in general, not just for this particular pdflib
rpm)?

D. Stimits, stimits at idcomm.com
_______________________________________________
Web Page:  http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list