Probing user-space markers in RPM installed binaries

William Cohen wcohen@redhat.com
Wed Jan 14 19:16:00 GMT 2009


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



More information about the Systemtap mailing list