yep, I was trying to build the rpm for fc10 from a rpm file I had already built on fc8
It would be helpful if the built rpm name contained the os 2009/8/25 Martin Pala <[email protected]>: > Hi, > > the rpmbuild -tb can be used on monit-5.0.3.tar.gz which you can get here: > > http://www.mmonit.com/monit/download/ > > It contains monit.spec in the main directory which serves as template for > rpmbuild to create package. > > I don't know what the mentioned file monit-5.0.3-1.i386.rpm.gz contains and > where from it is, but it looks more like binary rpm, rather then source code > (srpm). You can also create source code srpm using rpmbuild -ts (or both > binary and source at once using rpmbuild -ta option). > > > Martin > > On Aug 25, 2009, at 5:02 PM, Nick Upson wrote: > >> $ rpmbuild -tb monit-5.0.3-1.i386.rpm.gz >> error: Failed to read spec file from monit-5.0.3-1.i386.rpm.gz >> >> $ gunzip monit-5.0.3-1.i386.rpm.gz >> >> $ rpmbuild -bb monit-5.0.3-1.i386.rpm >> error: File /root/monit-5.0.3-1.i386.rpm does not appear to be a specfile. >> >> if I untar it, a specfile does exist >> >> 2009/6/11 Martin Pala <[email protected]>: >>> >>> you can also recompile monit rpm for fc10: >>> rpmbuild -bb monit-4.10.1.tar.gz >>> (monit comes with monit.spec so you can use rpmbuild to create rpm >>> directly) >>> Martin >>> >>> On Jun 11, 2009, at 5:01 PM, Nick Upson wrote: >>> >>> our local build of 4.10.1 isn't >>> >>> 2009/6/11 Martin Pala <[email protected]> >>>> >>>> Hi, >>>> >>>> monit is part of Fedora 10 ... you can install it using yum from Fedora >>>> repository. >>>> >>>> Martin >>>> >>>> >>>> On Jun 11, 2009, at 4:12 PM, Nick Upson wrote: >>>> >>>>> rpm --install monit-4.10.1-1.i386.rpm >>>>> error: Failed dependencies: >>>>> libcrypto.so.6 is needed by monit-4.10.1a-1.i386 >>>>> libssl.so.6 is needed by monit-4.10.1a-1.i386 >>>>> >>>>> is there a way I can build the rpm so it can continue using these on >>>>> fc8 >>>>> but will use libcrypto.so.7 when installed on fc10 >>>>> -- >>>>> To unsubscribe: >>>>> http://lists.nongnu.org/mailman/listinfo/monit-general >>>> >>>> >>>> >>>> -- >>>> To unsubscribe: >>>> http://lists.nongnu.org/mailman/listinfo/monit-general >>> >>> -- >>> To unsubscribe: >>> http://lists.nongnu.org/mailman/listinfo/monit-general >>> >>> -- >>> To unsubscribe: >>> http://lists.nongnu.org/mailman/listinfo/monit-general >>> >> >> >> -- >> To unsubscribe: >> http://lists.nongnu.org/mailman/listinfo/monit-general > > > > -- > To unsubscribe: > http://lists.nongnu.org/mailman/listinfo/monit-general > -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
