list files in %files section of .spec

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

 



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/  resources/  www-symbolmaps/  INSTALL  README.md  VERSION
R/    www/        COPYING          NOTICE   SOURCE

% ls -al usr/lib64/rstudio-server/bin/
total 22M
drwxr-xr-x 1 poisonivy poisonivy  142 Dec  7 08:12 ./
drwxr-xr-x 1 poisonivy poisonivy  144 Dec  7 08:11 ../
drwxr-xr-x 1 poisonivy poisonivy   42 Dec  7 08:11 pandoc/
drwxr-xr-x 1 poisonivy poisonivy  178 Dec  7 08:11 postback/
-rwxr-xr-x 1 poisonivy poisonivy  629 Dec  7 08:09 r-ldpath*
-rwxr-xr-x 1 poisonivy poisonivy 3.3M Dec  7 08:12 rpostback*
-rwxr-xr-x 1 poisonivy poisonivy 4.6M Dec  7 08:12 rserver*
-rwxr-xr-x 1 poisonivy poisonivy 2.8M Dec  7 08:12 rserver-pam*
-rwxr-xr-x 1 poisonivy poisonivy  11M Dec  7 08:12 rsession*
-rwxr-xr-x 1 poisonivy poisonivy 3.1K Dec  7 08:09 rstudio-server*
--------------------------------------------------------------------

What I would do is this:

%files

%{_libdir}/%{name}/bin/pandoc/        <--- dir
%{_libdir}/%{name}/bin/postback/     <---- dir
%{_libdir}/%{name}/bin/r-ldpath         <----- file
%{_libdir}/%{name}/bin/rpostback      <---- file

etc with all files

Is this correct? pandoc/ and postbac directories only contain files, no subdir.

Why not simply:

%{_libdir}/%{name}/bin/


Thank you for hints.




-- 

google.com/+arnaudgabourygabx
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux