Re: Files in the directory excep some included as doc

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

 



Pierre-Yves wrote:
> %{_datadir}/R/library/%{packname}/
> 
> %doc %{_datadir}/R/library/%{packname}/doc
> %doc %{_datadir}/R/library/%{packname}/DESCRIPTION
> %doc %{_datadir}/R/library/%{packname}/html
> %doc %{_datadir}/R/library/%{packname}/late

You need to use %dir and list the non-doc stuff, e.g.:
%dir %{_datadir}/R/library/%{packname}/
%{_datadir}/R/library/%{packname}/foo
%{_datadir}/R/library/%{packname}/bar
%{_datadir}/R/library/%{packname}/baz
%doc %{_datadir}/R/library/%{packname}/doc
%doc %{_datadir}/R/library/%{packname}/DESCRIPTION
%doc %{_datadir}/R/library/%{packname}/html
%doc %{_datadir}/R/library/%{packname}/late

Using patterns can help:
%{_datadir}/R/library/%{packname}/[^dDhl]*
will pick up most of the non-doc files. :-)

        Kevin Kofler

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux