On Tue, Mar 01, 2005 at 04:32:39AM -0800, Pankil wrote: > I am new to linux. I want to create a RPM for my Linux > Box with intel Processor. I want to create the RPM for > gcc 3.3.3. I have downloaded the source files from the Look at the one from fedora/core/2/SRPMS/gcc-3.3.3-7.src.rpm. > %files > %defattr(-,root,root) > /usr/local/bin/ ^^^^^^^^^^^^^^ You're only including the files in this directory, so of course the others don't get packaged. Also note that when you're building an RPM, it's standard practice to put programs into /usr rather than /usr/local, since they'll be managed by the system package manager. > %doc COPYING README > %clean > rm -rf $RPM_BUILD_ROOT > > regards, > Pankil. > > > > > __________________________________ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. > http://mobile.yahoo.com/maildemo > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > -- Matthew Miller mattdm@xxxxxxxxxx <http://www.mattdm.org/> Boston University Linux ------> <http://linux.bu.edu/> _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list