Browse Source

fixed some development files

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

+ 10 - 2
t/texlive/texlive-vl.spec

@@ -12,7 +12,7 @@ Summary: The TeX text formatting system
 Summary(ja): TeX 文書整形システム
 Name: texlive
 Version: 2015
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
 License: distributable
 Group: Applications/Publishing
 URL: http://www.tug.org/texlive/
@@ -264,6 +264,12 @@ TL_MAKE=%__make ./Build || exit 1
 %__mv %{buildroot}%{_prefix}/lib %{buildroot}%{_libdir} || exit 1
 %endif
 
+if [ -f %{buildroot}%{_libdir}/kpathsea/c-auto.h ]; then
+   %__mv %{buildroot}%{_libdir}/kpathsea/c-auto.h \
+         %{buildroot}%{_includedir}/kpathsea/c-auto.h || exit 1
+   %__rm -r %{buildroot}%{_libdir}/kpathsea || exit 1
+fi
+
 ## make some fundamental texmf trees
 %__mkdir_p %{buildroot}%{_tl_texmfvine}
 %__mkdir_p %{buildroot}%{_tl_texmfdist}
@@ -513,7 +519,6 @@ exit 0
 %exclude %{_includedir}/texlua52/*.hpp
 %exclude %{_includedir}/texluajit/*.h
 %exclude %{_includedir}/texluajit/*.hpp
-%exclude %{_libdir}/kpathsea/c-auto.h
 %exclude %{_libdir}/libtexlua52.so
 %exclude %{_libdir}/libtexluajit.so
 %exclude %{_libdir}/pkgconfig/texlua52.pc
@@ -558,6 +563,9 @@ exit 0
 
 
 %changelog
+* Thu Jan 21 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-5
+- fixed some development files
+
 * Tue Jan 12 2016 Munehiro Yamamoto <munepi@vinelinux.org> 2015-4
 - reverted to texlive-20150521-source (TeX Live 2015)