SPECS: php-pear.spec - added %%{php_pear_dir}/PEAR - simplified %%...

Elan Ruusamäe glen at delfi.ee
Mon Feb 21 00:58:09 CET 2005


On Saturday 19 February 2005 19:59, you wrote:
> Author: adamg                        Date: Sat Feb 19 17:59:01 2005 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - added %%{php_pear_dir}/PEAR
> - simplified %%files
> - release 2
>
> ---- Files affected:
> SPECS:
>    php-pear.spec (1.4 -> 1.5)
>
[...]
>  %files
>  %defattr(644,root,root,755)
> -%dir %{php_pear_dir}
> -%dir %{php_pear_dir}/Archive
> -%dir %{php_pear_dir}/Console
> -%dir %{php_pear_dir}/Crypt
> -%dir %{php_pear_dir}/HTML
> -%dir %{php_pear_dir}/HTML/Template
> -%dir %{php_pear_dir}/HTTP
> -%dir %{php_pear_dir}/Image
> -%dir %{php_pear_dir}/Math
> -%dir %{php_pear_dir}/Net
> -%dir %{php_pear_dir}/Science
> -%dir %{php_pear_dir}/Services
> -%dir %{php_pear_dir}/Text
> -%dir %{php_pear_dir}/XML
> +%{php_pear_dir}

imho listing the dirs in %files section made it somewhat fool proof of typos, 
so if somewhy mkdirs are invalid, you will see the error very fast.



-- 
glen




More information about the pld-devel-en mailing list