Description of problem: Pyrex has had several updates and bugfixes since the last Fedora packaged version. Additionally, the emacs mode included in the distribution isn't being packaged. Version-Release number of selected component (if applicable): 0.9.5.1a How reproducible: Always. Steps to Reproduce: 1. Look at version of Pyrex. 2. Realize that it is old. I'm including an updated spec file.
Created attachment 304575 [details] updated .spec file with new version and emacs-pyrex subpackage
Don't bother with this yet. I need to write an auto-load hook file for emacs.
Created attachment 304578 [details] Updated .spec with site-start for emacs package
Created attachment 304579 [details] emacs site init for pyrex-mode
I'm having a different problem with this. The emacs package names its binary emacs-22.2, so this command fails: "emacs -batch -f batch-byte-compile Tools/*.el" Not sure how best to address that. I'd really hate to have to rebuild this package for every minor version increment of emacs.
Sounds like you might be getting bit by an "alternatives" bug: https://bugzilla.redhat.com/show_bug.cgi?id=394131 Properly installed, there will be a plain emacs command.
I noticed in the build log at http://koji.fedoraproject.org/packages/Pyrex/0.9.6.4/1.fc10/data/logs/noarch/build.log that it had trouble figuring out the macros based on the pkg-config command which wasn't present. Eventually, this will break things when it can't figure out the emcas directories. Should we add a "BuildRequires: pkgconfig"?
Done. How does this look? http://koji.fedoraproject.org/packages/Pyrex/0.9.6.4/2.fc10/data/logs/noarch/build.log
Looks good to me!
Packages built for Fedora 8 and 9. The F9 one will have to wait a week and go out as a post-release update. Thanks a lot for your help with this, Kyle. It would have taken me ages to figure out the emacs stuff.
Pyrex-0.9.6.4-1.fc8 has been submitted as an update for Fedora 8
Pyrex-0.9.6.4-1.fc9 has been submitted as an update for Fedora 9
Pyrex-0.9.6.4-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
Pyrex-0.9.6.4-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 226339 has been marked as a duplicate of this bug. ***