From: twittner Date: Mon, 23 Aug 2004 10:35:55 +0000 (+0000) Subject: - reverted last change - using cp instead of mv in %install with reference X-Git-Tag: auto/ac/stunnel-4_15-1~24 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fstunnel.git;a=commitdiff_plain;h=6db4b08b9eec0ca5db37804a6029c9df205a4a50 - reverted last change - using cp instead of mv in %install with reference to $RPM_BUILD_ROOT is doesn't signify for --short-circuit and causes mess in %files. (noticed by qboosh). - moved stunnel.pem from /etc/stunnel/ to %doc (it is generated during building and this certificate is identical in all packages) Changed files: stunnel.spec -> 1.78 --- diff --git a/stunnel.spec b/stunnel.spec index e8fd334..fae2506 100644 --- a/stunnel.spec +++ b/stunnel.spec @@ -98,9 +98,9 @@ install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig/rc-inetd},%{_mandir}/{pl, %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -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 +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 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/stunnel install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/stunnel @@ -164,14 +164,13 @@ fi %files %defattr(644,root,root,755) # note: this COPYING contains general information not GPL text -%doc AUTHORS BUGS COPYING CREDITS ChangeLog NEWS PORTS README TODO doc/en/* doc/stunnel.html -%doc src/stunnel.exe tools/{ca.*,importCA.*} +%doc AUTHORS BUGS COPYING CREDITS ChangeLog NEWS PORTS README TODO doc/en/* doc/stunnel.html +%doc src/stunnel.exe tools/{ca.*,importCA.*} tools/stunnel.pem %doc %lang(fr) doc/stunnel.fr.html %doc %lang(pl) doc/pl/* doc/stunnel.pl.html %attr(750,stunnel,stunnel) %{_var}/run/stunnel %dir %{_sysconfdir}/stunnel %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/stunnel/stunnel.conf -%attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/stunnel/stunnel.pem %attr(755,root,root) %{_sbindir}/* %{_mandir}/man8/* %lang(fr) %{_mandir}/fr/man8/*