[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: problems specifying directories in the spec fil
- From: "Aaron.Sterr" <Aaron Sterr tradingscreen com>
- To: rpm-list redhat com
- Subject: Re: problems specifying directories in the spec fil
- Date: Sat, 30 Aug 2003 02:00:30 +0900 (JST)
Looking into this some more, I see the following behaviour (using truss):
1. if there is no regular file in the directory, I see a stat of the directory
followed by getdents, but no stats of the files in the directory.
2. if there is a regular file in the directory, I see a stat of the directory,
getdents, then stats of each entry, but it does not seem to recurse.
3. if there is no subdirectory, after processing the directory, the
directory is close, and I see a stat, open, mmap, memcntl, munmap, close
of each file in the directory.
If this expected behavior? Only in case 3, do I see any output beyond the
"Processing files" line.
Unless I am missing a macro or parameter somewhere, I believe the problem
is in build/files.c
--
Aaron Sterr - Infrastructure Engineer
TradingScreen Inc.
Tel: +81(3)3568-2022
Fax: +81(3)3583-8520
-----------------------------------------
This message and any attachments (the "message") are intended solely for the
addressees and are confidential. If you receive this message in error, please
delete it and immediately notify the sender. Any use not in accordance with its
purpose, any dissemination or disclosure, either whole or partial, is prohibited
except with formal approval. The integrity of messages transmitted over the
Internet cannot be guaranteed. TradingScreen (and its affiliates) shall (will)
not therefore be liable for the message if modified.
On Fri, 29 Aug 2003, Aaron.Sterr wrote:
> This may be a FAQ, but I have been unable to find the answer in the mail
> archives.
>
> In rpm 4.1 (on RedHat 8.0), I was able to write a %files section that would
> automatically include all files under my custom prefix.
>
> %files
> %{_prefix}
>
> With rpm 4.2 (on Solaris 8.0), if I specify a directory that contains
> a subdirectory, the file list does not get created and the packages do
> not get written. This can be replicated with rpmbuild -bl (after rpmbuild -bi)
>
> ykdsa009 src/ $ rpmbuild -bl SPECS/ts-rpm.spec
> Processing files: rpm-4.2-1
> ykdsa009 src/ $ echo $?
> 1
>
>
> Has anyone seen this before? Any tips?
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]