SPECS: libxml2.spec - %{__rm} with -f swich

Elan Ruusamäe glen at pld-linux.org
Sun Sep 14 23:36:55 CEST 2008


On Sunday 14 September 2008 15:14, charles wrote:
> Author: charles                      Date: Sun Sep 14 12:14:10 2008 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - %{__rm} with -f swich
>
> ---- Files affected:
> SPECS:
>    libxml2.spec (1.157 -> 1.158)
>
> ---- Diffs:
>
> ================================================================
> Index: SPECS/libxml2.spec
> diff -u SPECS/libxml2.spec:1.157 SPECS/libxml2.spec:1.158
> --- SPECS/libxml2.spec:1.157	Tue Sep  2 08:26:08 2008
> +++ SPECS/libxml2.spec	Sun Sep 14 14:14:05 2008
> @@ -182,7 +182,7 @@
>  %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
>  %py_comp $RPM_BUILD_ROOT%{py_sitedir}
>  %py_postclean
> -%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
> +%{__rm} -f $RPM_BUILD_ROOT%{py_sitedir}/*.{la,a}
>  %endif
>
>  %clean
> @@ -245,6 +245,9 @@
>  All persons listed below can be reached at <cvs_login>@pld-linux.org
>
>  $Log$
> +Revision 1.158  2008/09/14 12:14:05  charles
> +- %{__rm} with -f swich

why?

point of %{__rm} being 'rm --interactive=never' was to notice removal of 
inexistent files/dirs.

so use plain rm instead?

-- 
glen


More information about the pld-devel-en mailing list