Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #221

Need help with rpmbuild

From General Schvantzkoph <schvantzkoph@yahoo.com>
Newsgroups comp.os.linux.development.apps
Subject Need help with rpmbuild
Date 2011-07-25 01:56 +0000
Message-ID <9940q6FjekU3@mid.individual.net> (permalink)

Show all headers | View raw


I'm trying to create and RPM that sets up a few files in user accounts for 
use on an SL6 install DVD. I have the files in

home_src/foo/xxx
home_src/bar/xxx

How do I specify the files in the %files section of the .spec file?

I've tried,

%files
%defattr(-,root,root,-)
%doc README COPYRIGHT
./home_src/*/*

And

%files
%defattr(-,root,root,-)
%doc README COPYRIGHT
%{_buildrootdir}/home_src/*/*

Back to comp.os.linux.development.apps | Previous | Next | Find similar


Thread

Need help with rpmbuild General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-07-25 01:56 +0000

csiph-web