[packages/setup] - rel 5; rename tmp-dir profile.d scripts, so these will be processed before all other profile.d scr

arekm arekm at pld-linux.org
Wed Oct 3 12:05:27 CEST 2018


commit 9bee86ed8bb7b26fd90eeb8bec743d4cc6acf0e7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Oct 3 12:05:18 2018 +0200

    - rel 5; rename tmp-dir profile.d scripts, so these will be processed before all other profile.d scripts (so for example ssh-agent will get proper tmp dir)

 setup.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/setup.spec b/setup.spec
index 1c98950..38cbc12 100644
--- a/setup.spec
+++ b/setup.spec
@@ -14,7 +14,7 @@ Summary(pt_BR.UTF-8):	Vários arquivos básicos de configuração
 Summary(tr.UTF-8):	Basit kurulum dosyaları
 Name:		setup
 Version:	2.9.0
-Release:	4
+Release:	5
 License:	Public Domain, partially BSD-like
 Group:		Base
 Source0:	%{name}-%{version}.tar.bz2
@@ -126,6 +126,9 @@ cp -p iana-etc/{services,protocols} $RPM_BUILD_ROOT%{_sysconfdir}
 # not packaged
 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/{netgroup,suid_profile}
 
+mv $RPM_BUILD_ROOT/etc/profile.d/{,00-}tmp-dir.sh
+mv $RPM_BUILD_ROOT/etc/profile.d/{,00-}tmp-dir.csh
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -153,8 +156,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_sbindir}/postshell
 %attr(755,root,root) %{_sbindir}/update-fstab
 %dir /etc/profile.d
-%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) /etc/profile.d/tmp-dir.sh
-%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) /etc/profile.d/tmp-dir.csh
+%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) /etc/profile.d/00-tmp-dir.sh
+%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) /etc/profile.d/00-tmp-dir.csh
 %dir %{_sysconfdir}/env.d
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/env.d/EDITOR
 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/env.d/HISTFILESIZE
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/setup.git/commitdiff/9bee86ed8bb7b26fd90eeb8bec743d4cc6acf0e7



More information about the pld-cvs-commit mailing list