After going through a variety of errors and variations, I finally got my wireshark source rpm to work using the fedora-12-x86_64 config file on 'ireland'. Initially I was rebuilding the package with rpmbuild -ba whenever I edited to the spec (which took a very long time), however it was later brought ot my attention that I could simply use rpmbuild -bs to just include the edited specfile into the rpm package. After many, edits my mocked source rpm is up and running
located at http://scotland.proximity.on.ca/slatty/mock/
After days of failed builds my wireshark package is complete. Apparently, it was always supposed to be trial and error and that there isn't a real approach to follow. My source rpm Can be found at
I am not sure if I missed this in class or if it applies to this package only (nled), but when I run the rebuild command my spec file disappears, in the case of wireshark that doesn't happen, however, that could be because wireshark didn't get rebuilt successfully because of missing dependencies. To get the spec file back I have to use the rpm -i on the package.
The second part of this exercise creates a minimal (skeleton) spec file however my current mission is to find out if there is a way to provide an alternative specfile name so that I can compare the minimal vs the main spec file
So it seems I also needed ncurses-devel alongside ncurses..after installing both of those then rebuilding,remaking...bled was operational....the new step will be part b using another source code
So far I'm not being very successful with my choices of packages does anyone have any suggestions?
So far I've been trying to figure out how to do this while make file thing without much luck up until now. I figured I would try to do the nled one first then try another one after once this one was successful.
After many attempts I realized that the nled make file required cc and was giving me and error saying no such command so I tried yum installing cc without much luck. Another forum suggested just grabbing gcc which would then take care of the cc error....which it did but i still came across mire errors even though the cc errors were gone...being ncurses.h...I gotta say so far make is painful...but the voyage continues...