Bug 10091 - gear-srpmimport generates bad .gear-rules
: gear-srpmimport generates bad .gear-rules
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/gear)
: unstable
: all Linux
: P2 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2006-10-05 21:25 by
Modified: 2008-08-23 18:57 (History)


Attachments


Note

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


Description From 2006-10-05 21:25:04
$ gear-srpmimport .../Master/2.2/SRPMS.main/quake2-r0.14.1-alt1.1.src.rpm
Committing initial tree 3c2256e0025d17a1c82a5d3a0f52daff94e1d038
gear-srpmimport: Imported .../Master/2.2/SRPMS.main/quake2-r0.14.1-alt1.1.src.rpm
gear-srpmimport: Created master branch
$ gear --rpmbuild -- rpmbuild -bp               
gear: .gear-rules line 4: tree quake2-@version@ not found in HEAD
[1]    32246 exit 1     gear --rpmbuild -- rpmbuild -bp
$ cat .gear-rules 
copy: *.patch
copy: q2ded
copy: quake2
tar.bz2: quake2-@version@ name=quake2-@version@
$ ls -1 
q2ded
quake2
quake2-makefile.patch
quake2-r0.14.1/
quake2.spec
quake2-vid_so.patch

Проблема в том, что quake2 уже есть в виде скрипта (%SOURCEn), а в имени
каталога у tar* кейврды не подставляются.
------- Comment #1 From 2006-11-03 00:18:34 -------
Может быть лучше сделать так чтобы подстановка была?
------- Comment #2 From 2006-11-22 02:10:47 -------
In 7c3d3bb0b9e63a8479c87c8221b5f44cd4bf2a8f,
implemented keyword substitution in directory name.