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.
the 2.0 announcement: /launchpad. net/libmodbus/ +announcement/ 430
https:/
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_: libmodbus- 2.0.1.tar. gz SOURCES/ libmodbus- 2.0.1.tar. gz libmodbus- 2.0.1/packageco ntrol/libmodbus .spec 2.0.1/packageco ntrol/libmodbus .spec SPECS/ .spec .spec
cd %_topdir/
cp mystore/
tar -xzvf SOURCES/
mv libmodbus-
rpmbuild -bs SPECS/libmodbus
rpmbuild -bb SPECS/libmodbus
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.