Comment 7 for bug 224496

Revision history for this message
Todd Denniston (todd-denniston) wrote :

the 2.0 announcement:
https://launchpad.net/libmodbus/+announcement/430
indicates this bug was fixed in the 2.0 release, but...

I am not finding the spec file in the http://launchpad.net/libmodbus/trunk/2.0.0/+download/libmodbus-2.0.0.tar.gz
(Sorry, I just noticed the release.)

Here is an updated spec file.

I assume that in 2.0.1, on a redhat product, I will be able to do something _like_:
cd %_topdir/
cp mystore/libmodbus-2.0.1.tar.gz SOURCES/
tar -xzvf SOURCES/libmodbus-2.0.1.tar.gz libmodbus-2.0.1/packagecontrol/libmodbus.spec
mv libmodbus-2.0.1/packagecontrol/libmodbus.spec SPECS/
rpmbuild -bs SPECS/libmodbus.spec
rpmbuild -bb SPECS/libmodbus.spec

to get all the rpms I will need for an RH based system.
The above Assumes you will modify the Version: line in the spec to:
Version: 2.0.1
before or while packaging the tar.gz.