SPECS: texlive.spec - texmf user and group, sgid %fmtdir
uzsolt
uzsolt at pld-linux.org
Fri Dec 26 18:24:14 CET 2008
Author: uzsolt Date: Fri Dec 26 17:24:14 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- texmf user and group, sgid %fmtdir
---- Files affected:
SPECS:
texlive.spec (1.69 -> 1.70)
---- Diffs:
================================================================
Index: SPECS/texlive.spec
diff -u SPECS/texlive.spec:1.69 SPECS/texlive.spec:1.70
--- SPECS/texlive.spec:1.69 Fri Dec 26 17:17:11 2008
+++ SPECS/texlive.spec Fri Dec 26 18:24:07 2008
@@ -3468,6 +3468,8 @@
rm -rf $RPM_BUILD_ROOT
%post
+%groupadd -g 250 texmf
+%useradd -u 250 -r -d /dev/null -s /bin/false -g texmf
%fixinfodir
%texhash
@@ -3476,6 +3478,10 @@
if [ "$1" = "1" ]; then
%texhash
fi
+if [ "$1" = "0" ]; then
+ %userremove texmf
+ %groupremove texmf
+fi
%post doc-Catalogue
%texhash
@@ -4677,7 +4683,7 @@
# ***********
# Directories
# ***********
-%dir %{fmtdir}
+%attr(2755,texmf,texmf) %dir %{fmtdir}
%dir %{texmfdist}/doc
%dir %{texmfdist}/doc/generic
@@ -6745,6 +6751,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.70 2008/12/26 17:24:07 uzsolt
+- texmf user and group, sgid %fmtdir
+
Revision 1.69 2008/12/26 16:17:11 uzsolt
- new TODOs
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/texlive.spec?r1=1.69&r2=1.70&f=u
More information about the pld-cvs-commit
mailing list