dave wrote: > I can't seem to get the correct source. The latest code gdm-2.28 won't > compile without other libs, which I don't what to install. I would like to > simply rebuild the current version. I can't seem to figure out how to get > the correct source. Doing "yum list available | grep src" list very few > packages. I downloaded gdm-2.26.1-10.fc11.src.rpm from fedora, but yum > doesn't seem to want to install it. What happened to all the sources? > Where are they?
The sources are all the .src.rpm files. They are the source. You don't install them with yum. Instead you use the rpm command. For example, you could do: rpmbuild --rebuild gdm-2.26.1-10.fc11.src.rpm which isn't quite what you want. Instead do: rpm -i gdm-2.26.1-10.fc11.src.rpm Then you'll find the source in $HOME/rpmbuild/SOURCES. If you have a patch, dump it in SOURCES. Then modify the .spec file in $HOME/rpmbuild/SPECS to include that patch and apply it. Once you've done that you can build a new binary (and optionally a new .src.rpm package) with: rpmbuild -bb $HOME/rpmbuild/SPECS/gdm.spec The rpms will be written usually to $HOME/rpmbuild/RPMS/x86_64 for you. Hope this helps. -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
