Re: list files in %files section of .spec

2015-12-07 Thread Gordon Messmer
On 12/07/2015 02:06 AM, arnaud gaboury wrote: In fact, I just did this and it build fine: %files %defattr(-, root, root, -) %{_libdir}/%{name}/* %{_localstatedir}/* %{_sysconfdir}/* When looking at various spec files from Fedora repo, I can't see such method.Most spec files contain a very long

Re: list files in %files section of .spec

2015-12-07 Thread arnaud gaboury
On Mon, Dec 7, 2015 at 1:22 PM, Michael Schwendt wrote: > On Mon, 7 Dec 2015 11:06:18 +0100, arnaud gaboury wrote: > >> >> doubt is how deep I shall go in lisiting >> >> direcrories/subdirectories/files. > >> >> What I would do is this: >> >> >> >> %files >> >> >> >> %{_libdir}/%{name}/bin/pandoc/

Re: list files in %files section of .spec

2015-12-07 Thread Michael Schwendt
On Mon, 7 Dec 2015 11:06:18 +0100, arnaud gaboury wrote: > >> doubt is how deep I shall go in lisiting > >> direcrories/subdirectories/files. > >> What I would do is this: > >> > >> %files > >> > >> %{_libdir}/%{name}/bin/pandoc/<--- dir > >> %{_libdir}/%{name}/bin/postback/ < dir

Re: list files in %files section of .spec

2015-12-07 Thread arnaud gaboury
On Mon, Dec 7, 2015 at 10:22 AM, arnaud gaboury wrote: > On Mon, Dec 7, 2015 at 10:02 AM, arnaud gaboury > wrote: >> I am not sure how I shall lsit my files under the %files section. My >> doubt is how deep I shall go in lisiting >> direcrories/subdirectories/files. >> >> Below is part of the con

Re: list files in %files section of .spec

2015-12-07 Thread arnaud gaboury
On Mon, Dec 7, 2015 at 10:02 AM, arnaud gaboury wrote: > I am not sure how I shall lsit my files under the %files section. My > doubt is how deep I shall go in lisiting > direcrories/subdirectories/files. > > Below is part of the content of my buildroot > --

list files in %files section of .spec

2015-12-07 Thread arnaud gaboury
I am not sure how I shall lsit my files under the %files section. My doubt is how deep I shall go in lisiting direcrories/subdirectories/files. Below is part of the content of my buildroot % ls usr/lib64/rstudio-server bin/ resource