Browse Source

reverted texlive-vl.spec

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

+ 3 - 7
t/texlive/texlive-vl.spec

@@ -38,7 +38,7 @@ Summary: The TeX text formatting system
 Summary(ja): TeX 文書整形システム
 Name: texlive
 Version: 2009
-Release: 17%{?_dist_release}
+Release: 16%{?_dist_release}
 License: distributable
 Group: Applications/Publishing
 ## The TeX Live is located on http://www.tug.org/texlive/
@@ -717,9 +717,8 @@ 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
@@ -763,7 +762,7 @@ fi
 
 %files -f filelist.full
 %defattr(-,root,root)
-%attr(1777,root,root) %dir %{vartexfonts}
+%attr(1777,root,root) %dir %{_var}/lib/texmf
 %config %{_sysconfdir}/cron.daily/texlive.cron
 
 %files doc -f filelist.doc
@@ -794,9 +793,6 @@ fi
 
 
 %changelog
-* Tue May 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2009-17
-- fixed %%dir VARTEXFONTS around in %%files
-
 * 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