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