getting compile flags from an rpm
scouter at bigpond.net.au
Wed Feb 20 15:30:36 EST 2002
Kim Holburn <kim.holburn at anu.edu.au> wrote:
> I want to recompile a suse package, namely netatalk is there any simple way of finding the compile flags that were used to compile it?
See if the binary has a command-line option to print out what you're
after, similar to perl's -V option.
Failing that, grab the source RPM from SuSE and check the spec file.
This method also has the advantage that you can modify the spec file and
build a binary RPM with the options you want.
I don't know of any way of getting the spec file or any of the build
options from a binary RPM. You need the source RPM for that.
Sam "Eddie" Couter | mailto:scouter at bigpond.net.au
Debian Developer | mailto:eddie at debian.org
| jabber:sam at jabber.topic.com.au
OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20020220/3cf64c2b/attachment.bin
More information about the linux