On 15-Mar-2001 [EMAIL PROTECTED] wrote:
>
> Are you trying to build an RPM from a source tar.gz? Or is this a
> binary tar.gz? I have built at least 1 rpm from source and had no such
> troubles. rpm is sort of geared toward building from source, I think.
Hello Lawson,it is a SOURCE!
>> cp %{builddir}/file1.bin $RPM_BUILD_ROOT/home/root/file1.bin
>> cp %{builddir}/file2.bin $RPM_BUILD_ROOT/home/root/file2.bin
>> cp -r %{builddir}/subroot1 $RPM_BUILD_ROOT/home/root/subroot1
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> I just used
>
> %install
> make install
I've added just the compiling instructions:
make depend,make clean,make,
and this works because I get the binaries into the final installation.
May be I omitted some parts about the copy/install of the related
subdirectories and this explains why I have not them.
> If I do rpm2targz on the rpm I made with rpm -bb the resulting tar has
> all subdirectories as I expect.
I never checked with rpm2targz,but my BUILD directory contains the untarred
source with its files and subdirs.
After I write my SPEC file I do:"rpm -bs <file.spec>"
Lately I tried to add the missed subdir at the end of my SPEC file:
/home/root/subdir
and finally I find it on the final installation,but it is empty!
While originally,it contains 3 sub-subdirs whit their own files.
> Why would you want to make an rpm from something you don't have the
> source to? rpm is a packaging tool for distribution of open-source
> software, no?
I think I'am using a source:
the folder contains headers,objects,Makefile and so on.
Thank you very much Lawson.
Marco
> Maybe after supper I will look into it a bit more.
>
> Lawson
>
>| We apologize if this message has reached you in error.
>| Save the Planet, Save the Trees! Advertise via E mail.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs