Browse Source

updated texlive-vl.spec: fixed %%dir VARTEXFONTS around in %%files; dropped BR: t1utils

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3840 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
8988758ce1
1 changed files with 9 additions and 4 deletions
  1. 9 4
      t/texlive/texlive-vl.spec

+ 9 - 4
t/texlive/texlive-vl.spec

@@ -38,7 +38,7 @@ Summary: The TeX text formatting system
 Summary(ja): TeX 文書整形システム
 Name: texlive
 Version: 2009
-Release: 16%{?_dist_release}
+Release: 17%{?_dist_release}
 License: distributable
 Group: Applications/Publishing
 ## The TeX Live is located on http://www.tug.org/texlive/
@@ -186,7 +186,7 @@ BuildRequires: openssl-devel
 BuildRequires: libpaper-devel
 BuildRequires: fontconfig-devel
 BuildRequires: nkf
-BuildRequires: t1utils
+#BuildRequires: t1utils
 
 Buildroot:    %{_tmppath}/%{name}-%{version}-root
 
@@ -717,8 +717,9 @@ cat filelist.doc filelist.full | sort | uniq -u > filelist.tmp
 
 
 %preun
-%__rm -rf %{_var}/lib/texmf/*
 if [ "$1" = 0 ]; then
+    %__rm -rf %{vartexfonts}
+
     ## dvipdfmx
     for i in %{texmf}/fonts/truetype/*
     do
@@ -762,7 +763,7 @@ fi
 
 %files -f filelist.full
 %defattr(-,root,root)
-%attr(1777,root,root) %dir %{_var}/lib/texmf
+%attr(1777,root,root) %dir %{vartexfonts}
 %config %{_sysconfdir}/cron.daily/texlive.cron
 
 %files doc -f filelist.doc
@@ -793,6 +794,10 @@ fi
 
 
 %changelog
+* Tue May 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-17
+- fixed %%dir VARTEXFONTS around in %%files
+- dropped BuildRequires: t1utils
+
 * Tue Apr 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-16
 - updated texlive-20091107-texmfcnf-vine.patch, texlive.cron
   - changed VARTEXFONTS to /var/lib/texmf/fonts