This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Probing user-space markers in RPM installed binaries


Roland McGrath wrote:
make dist-gzip

Copied the systemtap-0.8.tar.gz into the rpm SOURCES directory and
copied the systemtap.spec into the rpm SPEC directory.  Built the rpms with:

rpmbuild -ba systemtap.spec

You can do: rpmbuild -ta systemtap*.tar.gz (when the tarfile contains systemtap.sec)

Hi Roland,


Thanks for the "rpmbuild -ta" shortcut. Past workflow for fedora and rhel maintainence programmed me to use "rpmbuld -ba"


The changes for the postgresql spec file were very modest:

Nice.


+%{!?sdt:%define sdt 1}

You can use _with_sdt in place of sdt here ...


rpmbuild -ba postgresql.spec --define 'sdt 1'

... then it's --with-sdt instead of --define.

Yes, the --with-sdt would be a bit cleaner. I was just aping other options already in the postgresql. The xorg-X11-server.spec has --with-* approach.


Thanks for the comments, Roland.

-Will

Install the resulting binary rpms. Access to the arguments of the


Thanks,
Roland


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]