Various rpms contain something like this in the spec file;
%files -f ../file.list.%{name}

and build the file list dynamically.

This fails miserably for me; rpm simply cannot file the file list with my 
settings.

I've fiddled around of & on for months trying to find a generic solution 
that works; thus far I've failed.

I examined my rpmmacros file and hit on this:
%files -f %{buildroot}/file.list.%{name}


This fails too:
+ sed -e 's,^\.,\%attr(-\,root\,root) ,' -e '/\/config\//s|^|%config|'
+ find . -type l
+ sed 's,^\.,\%attr(-\,root\,root) ,'
+ echo '%docdir /usr/doc/kde'
+ echo /tmp/Bkdevelop/file.list.kdevelop
/tmp/Bkdevelop/file.list.kdevelop
+ pwd
/tmp/Bkdevelop
+ ls -l /tmp/Bkdevelop/file.list.kdevelop
-rw-r--r--   1 summer   summer     122696 Feb  1 20:53 
/tmp/Bkdevelop/file.list.kdevelop
+ exit 0
Processing files: kdevelop
Could not open %files file: /tmp/Bkdevelop/file.list.kdevelop
Requires: kdelibs >= 1.1.1
Obsoletes: kdevelop-c_c++_ref

real    21m39.762s
user    19m43.090s
sys     0m50.470s
[summer@possum summer]$ ls /tmp/Bkdevelop/file.list.kdevelop
-rw-r--r--   1 summer     122696 Feb  1 20:53 /tmp/Bkdevelop/file.list.kdev
elop
[summer@possum summer]$


As you can see (don't inspect too closely, I cut & pasted the filename), 
the file exists before and after rpm could not find it.


I've been plugging away at it all afternoon; at over 20 minutes plus 
thinking time for each run I'm getting a little annoyed.

Any clues for the clueless?

btw This is a new beta of kdevelop - it hadn't hit the mirrors when I 
picked it up a couple of days ago.

For now, I think I'll wimp out and do it manually.
-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.


-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to