Thanks Bryan, I forgot to mention that that used to throw an error saying something like: /path/to/file not found. For some reason it now worked, however I have 2 different problems: 1) I can't list in %files, those with blank spaces in the names, even scaping them fails to do the trick. I had to remove them from the file list for rpmbuild to work. 2) I haven't tried to install the package yet, but after generating the RPM, it lists a very long list of "Provides", such as perl(Module::Name1), perl(Module::Name2), perl(Module::NameN), that doesn't worry me, the problem is that almost everything that is listed in Provides is also listed "Requires". Any input on this? Thanks in advance, Juan Natera On Mon, 25 Oct 2004 15:33:05 -0600, Bryan Stillwell <bryans@xxxxxxxxxx> wrote: > You're missing the %files section that tells rpm which files belong in > the rpm. > > Bryan > > -- > Aspen Systems, Inc. | http://www.aspsys.com/ > Production Engineer | Phone: (303)431-4606 > bryans@xxxxxxxxxx | Fax: (303)431-7196 > > > > On Mon, Oct 25, 2004 at 02:30:48PM -0700, Juan Jose Natera wrote: > >Hi, > > > >I have been trying all day to create an RPM package unsuccessfuly. > > > >Here is what I have done: > > > >I have tarball called "my_app-1.1.0.tar.gz" which basicly contains all > >the files required for a web application to work, html, flash, cgis, > >php, images etc. the files are organized in the hierachy they are to > >be installed. > > > >At the end I just end with my_app-debuginfo-version-release.rpm, which > >is a an empty rpm. > > > >(Wrote: /home/username/rpms/RPMS/i386/my_app-debuginfo-1.1.0-1.i386.rpm) > > > >Also I redirect STDERR to a file to try to find the problem, the last I get is: > > > >... > >+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump > >warning: Installed (but unpackaged) file(s) found: > >... > >long list of files that should have been included in the rpm > > > > > >This is my specfile: > > > >Summary: Web application > >Name: my_app > >Version: 1.1.0 > >Release: 1 > >Group: MY_GROUP > >Copyright: MY_LICENSE > >Source: %{name}-%{version}.tar.gz > >BuildRoot: /home/username/rpms/BUILD/%{name}-%{version}-%{release} > > > >%define _unpackaged_files_terminate_build 0 > > > >%description > >This is my_app version 1.1.0 > >%prep > >rm -rf %{buildroot} > >mkdir -p %{buildroot} > >cd ${RPM_SOURCE_DIR} > >zcat my_app-1.1.0.tar.gz | tar xvf - > > > >%setup -q > >%build > >%install > >cd ${RPM_SOURCE_DIR}/my_app-1.1.0 > >cp -fR * %{buildroot}/ > > > >Any help would be greatly appreciated, > > > >Juan Natera > > > >_______________________________________________ > >Rpm-list mailing list > >Rpm-list@xxxxxxxxxx > >https://www.redhat.com/mailman/listinfo/rpm-list > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list