Re: Need spec files help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9 June 2011 19:34, James R Maxwell <jrmaxwell@xxxxxxxxxxxx> wrote:

> How do I specify this list of files in my SPEC file in a different directory
> structure (some files from dirs x & y need to get installed into directory a
> and some files from dirs y & z need to get installed into directory b)

I think I understand.

Copy the files to the buildroot in the structure you want them to
appear on the system in.
(You might want to put %clean in there to stop them getting removed
after being built.)

Then list them as below.

%files
/usr/bin/foo
/etc/foo/foo.conf

You can specify the permissions as well/
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux