Bug 593344

Summary: change BuildRequires: emacs to emacs-common
Product: [Fedora] Fedora Reporter: Kirill Kolyshkin <kolyshkin>
Component: autoconfAssignee: Karsten Hopp <karsten>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: karsten
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-03 16:32:18 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:

Description Kirill Kolyshkin 2010-05-18 15:02:41 UTC
Description of problem:
I am trying to rebuild autoconf-2.63.5 from src.rpm. It says it build-requires emacs. From the autoconf.spec %changelog and then the description of bug #79031 I see that BuildRequires: emacs was added in order for /usr/share/emacs/site-lisp to be present while building.

Maybe back in 2002 (when #79031 was filed and fixed) /usr/share/emacs/site-lisp was provided by emacs package, but nowdays it's emacs-common. Now, since emacs is an X package pulling lots of other dependencies, I guess it makes sense to change BuildRequires to emacs-common.

Version-Release number of selected component (if applicable):
autoconf-2.63-5.noarch

How reproducible:
always

Steps to Reproduce:
1. yumdownload --source autoconf
2. rpm -e emacs # just to be sure
3. rpmbuild --rebuild autoconf-*.src.rpm
  
Actual results:
error: Failed build dependencies:
	emacs is needed by autoconf-2.63-5.noarch


Expected results:
Successful build

Additional info:

Comment 1 Kirill Kolyshkin 2010-05-18 15:09:28 UTC
[PATCH] change BuildReq from emacs to emacs-common

From the autoconf.spec %changelog and then the description of bug #79031
I see that BuildRequires: emacs was added in order for
/usr/share/emacs/site-lisp to be present while building.

Maybe back in 2002 (when #79031 was filed and fixed) /usr/share/emacs/site-lisp
was provided by emacs package, but nowdays it's emacs-common. Now, since emacs
is an X package pulling lots of other dependencies, I guess it makes sense to
change BuildRequires to emacs-common.

Signed-off-by: Kir Kolyshkin <kir>

--- autoconf.spec-orig	2010-05-18 19:02:54.000000000 +0400
+++ autoconf.spec	2010-05-18 19:03:09.000000000 +0400
@@ -10,7 +10,7 @@
 # Fix for #556223
 Patch0:     autoconf-erlang_fix.diff
 URL:        http://www.gnu.org/software/autoconf/
-BuildRequires:      m4 >= 1.4.7, emacs
+BuildRequires:      m4 >= 1.4.7, emacs-common
 Requires:           m4 >= 1.4.7
 Requires(post):     /sbin/install-info
 Requires(preun):    /sbin/install-info

Comment 2 Kirill Kolyshkin 2010-05-18 15:11:11 UTC
I guess this affects a number of other packages which BuildRequire emacs. I am not quite aware of Fedora version control systems (neither I was able to found the source repo where autoconf.spec is hosted), so I don't have an easy way to check all the packages. Hope someone else will clone that bug or fix all the similarly affected packages at once, whatever is more appropriate in this case.

Comment 3 Bug Zapper 2010-11-03 14:38:34 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Kirill Kolyshkin 2010-11-03 16:32:18 UTC
This is not a bug for F14, closing