Re: puzzled, gives file but does not make files/directories

"Paul Johnson" <[email protected]>
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
Shouldn't this:

cp /etc/pki/tls/private/*.key /etc/xxxxx/key.d

be

cp /etc/pki/tls/private/*.key $RPM_BUILD_ROOT/etc/xxxxx/key.d

How else do you expect your files to get into the staging area?

Actually, I don't see how your  build was succeeding at all, since you
are writing into /etc.  You are not building this as root, are you?

rpmbuild would fail with "installed but unpackaged files found", I
think, unless you did something that intentionally disabled that.

pj

-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.