Bug 53108 - gettext-0.10.38-7 spec file fix
Summary: gettext-0.10.38-7 spec file fix
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: gettext
Version: 1.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-03 19:10 UTC by Need Real Name
Modified: 2007-04-18 16:36 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-09-04 15:52:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2001-09-03 19:10:18 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010825

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rpm --rebuild --target i686 gettext-0.10.38-7.src.rpm
2.
3.
	

Actual Results:  RPM build errors:
    File not found by glob:
/var/tmp/gettext-0.10.38-root/usr/share/emacs/site-lisp/*.el*


Additional info:

FIX (since there are no .el* files there): #%{_datadir}/emacs/site-lisp/*.el*
The only .el* file is:
%{_datadir}/emacs/site-lisp/site-start.d/po-mode-init.el

Comment 1 Trond Eivind Glomsrxd 2001-09-04 15:11:27 UTC
There should be an elc file there as well:

[teg@halden teg]$ rpm -ql gettext |grep -E "(el|elc)$"
/usr/share/emacs/site-lisp/po-mode.el
/usr/share/emacs/site-lisp/po-mode.elc
/usr/share/emacs/site-lisp/site-start.d/po-mode-init.el
[teg@halden teg]$ rpm -q gettext
gettext-0.10.38-7
[teg@halden teg]$


Comment 2 Trond Eivind Glomsrxd 2001-09-04 15:52:15 UTC
Sweet. I rebuilt twice. One worked, one didn't.

Comment 3 Trond Eivind Glomsrxd 2001-09-17 15:13:04 UTC
"Fixed" - I moved the el file to the emacs build. Emacs 20.7-42, gettext 0.10.40-1.

Comment 4 Need Real Name 2001-09-17 21:19:03 UTC
Found the probable cause of the problem, a typo in the misc/Makefile. This may
still be interesting information, even though another solution has been found.
(Don't know if the 0.10.40 misc/Makefile has changed from 0.10.38)

Error in build log:
...
mkdir /var/tmp/gettext-0.10.38-root/usr/share/emacs/site-lisp
/bin/sh: @list=po-mode.el: command not found
...

Fix:
Change misc/Makefile:
-
  @list='$(lisp_LISP)'; test '$(EMACS)' = no || for p in $$list; do \
+
  list='$(lisp_LISP)'; test '$(EMACS)' = no || for p in $$list; do \


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