use of %%dir in spec file

devzero2000 pinto.elia at gmail.com
Mon Jan 18 17:26:25 UTC 2010


On Thu, Jan 14, 2010 at 7:52 PM, Todd Rinaldo <toddr at cpanel.net> wrote:

>
> On Jan 14, 2010, at 5:40 AM, devzero2000 wrote:
>
> > With something like this for example
> >
> > %{__find} $RPM_BUILD_ROOT%{basedir} -type d -printf "%%%%dir %%p\n"
> >
>
> rpm -E doesn't resolve __find. Is this not a standard variable?
>
> $>rpm -E '%{__find}'
> %{__find}
>
No, use find.

>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20100118/82b57bcb/attachment.htm>


More information about the Rpm-list mailing list