Bug 441008

Summary: Package does not conform to Emacs add-on package guidelines
Product: [Fedora] Fedora Reporter: Jonathan Underwood <jonathan.underwood>
Component: mercurialAssignee: Neal Becker <ndbecker2>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: dennis, mads, mmcgrath, ndbecker2
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-30 10:40:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch for spec file to conform to Emacs guidelines none

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> - 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.