Bug 441008 - Package does not conform to Emacs add-on package guidelines
Summary: Package does not conform to Emacs add-on package guidelines
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mercurial
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Neal Becker
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-05 00:18 UTC by Jonathan Underwood
Modified: 2008-11-30 10:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-30 10:40:40 UTC


Attachments (Terms of Use)
Patch for spec file to conform to Emacs guidelines (5.52 KB, patch)
2008-04-05 00:19 UTC, Jonathan Underwood
no flags Details | Diff

Description Jonathan Underwood 2008-04-05 00:18:40 UTC
Description of problem:
The mercurial package has add-on subpackages for Emacs and Xemacs, but doesn't
conform to the Emacs add-on packaging guidelines:

http://fedoraproject.org/wiki/Packaging/Emacs

Version-Release number of selected component (if applicable):
mercurial-1.0-4.fc9

Comment 1 Jonathan Underwood 2008-04-05 00:19:35 UTC
Created attachment 301354 [details]
Patch for spec file to conform to Emacs guidelines

Patch for spec file to conform to Emacs guidelines.

Comment 2 Jonathan Underwood 2008-04-09 21:11:11 UTC
Re-opening the bug:

You removed the -p option when installing the *.el and *.elc files. The result
is they will both have the same time stamp. If you then install both the
emacs-mercurial and emacs-mercurial-el packages, emacs may load the uncompiled
.el files rather than the elc files (which is slower) believing the uncompiled
files to be newer than the compiled files. The -p is important, I didn't just
add it for decoration :).

As an aside, you should always use the -p option when installing files from the
tarball.

Comment 3 Fedora Update System 2008-04-10 14:54:34 UTC
mercurial-1.0-11.fc8 has been submitted as an update for Fedora 8

Comment 4 Fedora Update System 2008-04-10 14:55:12 UTC
mercurial-1.0-11.fc7 has been submitted as an update for Fedora 7

Comment 5 Bug Zapper 2008-05-14 08:55:36 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Mads Kiilerich 2008-11-30 01:22:51 UTC
Jonathan, can you confirm that this issue was solved with

* Thu Apr 10 2008 Neal Becker <ndbecker2@gmail.com> - 1.0-11
- Use install -p to install .el{c} files

Comment 7 Jonathan Underwood 2008-11-30 10:40:40 UTC
yup, all fixed:

# ls -l mercurial.el*
-rw-r--r-- 1 root root 44336 2008-08-13 23:11 mercurial.el
-rw-r--r-- 1 root root 45977 2008-08-25 13:01 mercurial.elc

Thanks Neal.

I'll close this.


Note You need to log in before you can comment on or make changes to this bug.