SPECS: stunnel.spec - use cp instead of mv in %install (mv breaks ...

Jakub Bogusz qboosh w pld-linux.org
Pon, 23 Sie 2004, 10:07:53 CEST


On Sat, Aug 21, 2004 at 11:24:20PM +0000, twittner wrote:
> Author: twittner                     Date: Sat Aug 21 23:24:20 2004 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - use cp instead of mv in %install (mv breaks --short-circuit)
> 
> ---- Files affected:
> SPECS:
>    stunnel.spec (1.76 -> 1.77) 
> 
> ---- Diffs:
> 
> ================================================================
> Index: SPECS/stunnel.spec
> diff -u SPECS/stunnel.spec:1.76 SPECS/stunnel.spec:1.77
> --- SPECS/stunnel.spec:1.76	Mon Aug  9 03:54:31 2004
> +++ SPECS/stunnel.spec	Sat Aug 21 23:24:14 2004
> @@ -99,9 +99,9 @@
>  %{__make} install \
>  	DESTDIR=$RPM_BUILD_ROOT
>  
> -mv -f $RPM_BUILD_ROOT%{_mandir}/man8/stunnel.fr.8 $RPM_BUILD_ROOT%{_mandir}/fr/man8/stunnel.8
> -mv -f $RPM_BUILD_ROOT%{_mandir}/man8/stunnel.pl.8 $RPM_BUILD_ROOT%{_mandir}/pl/man8/stunnel.8
> -mv -f $RPM_BUILD_ROOT%{_sysconfdir}/stunnel/stunnel.conf-sample $RPM_BUILD_ROOT%{_sysconfdir}/stunnel/stunnel.conf
> +cp -f $RPM_BUILD_ROOT%{_mandir}/man8/stunnel.fr.8 $RPM_BUILD_ROOT%{_mandir}/fr/man8/stunnel.8
> +cp -f $RPM_BUILD_ROOT%{_mandir}/man8/stunnel.pl.8 $RPM_BUILD_ROOT%{_mandir}/pl/man8/stunnel.8
> +cp -f $RPM_BUILD_ROOT%{_sysconfdir}/stunnel/stunnel.conf-sample $RPM_BUILD_ROOT%{_sysconfdir}/stunnel/stunnel.conf

W jaki sposób mv w ramach $RPM_BUILD_ROOT w install psuje --short-circuit?

Teraz do pakietu trafiają pliki:
%{_mandir}/man8/stunnel.8
%{_mandir}/man8/stunnel.fr.8
%{_mandir}/man8/stunnel.pl.8
%lang(fr) %{_mandir}/fr/man8/stunnel.8
%lang(pl) %{_mandir}/pl/man8/stunnel.8


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




Więcej informacji o liście dyskusyjnej pld-devel-pl