]> git.pld-linux.org Git - packages/freefonts.git/commitdiff
- umask in scripts, other fixes/cosmetics where needed
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Dec 2002 21:18:43 +0000 (21:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freefonts.spec -> 1.22

freefonts.spec

index 9d7764752abec32df1c7b76de5b0248d65f2c640..86bbebea46b7e1617e2c06a259e7ed097d75e115 100644 (file)
@@ -7,8 +7,9 @@ License:        Free
 Group:         X11/Fonts
 Source0:       ftp://sunsite.unc.edu/pub/Linux/X11/fonts/%{name}-%{version}.tar.gz
 Source1:       %{name}.Fontmap
-Prereq:                textutils
-Prereq:                sed
+Requires(post,preun):  fileutils
+Requires(post,preun):  sed
+Requires(post,preun):  textutils
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -46,6 +47,7 @@ tail -n +2 fonts.dir > $RPM_BUILD_ROOT%{_t1fontsdir}/fonts.scale.%{name}
 rm -rf $RPM_BUILD_ROOT
 
 %post
+umask 022
 cd %{_t1fontsdir}
 rm -f fonts.scale.bak Fontmap.bak
 cat fonts.scale.* | sort -u > fonts.scale.tmp
@@ -56,6 +58,7 @@ ln -sf fonts.scale fonts.dir
 cat Fontmap.* > Fontmap
 
 %postun
+umask 022
 cd %{_t1fontsdir}
 rm -f fonts.scale.bak Fontmap.bak
 cat fonts.scale.* 2>/dev/null | sort -u > fonts.scale.tmp
This page took 0.071038 seconds and 4 git commands to generate.