Browse Source

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2430 ec354946-7b23-47d6-9f5a-488ba84defc7

kudoh 14 years ago
parent
commit
304377c39c
1 changed files with 8 additions and 2 deletions
  1. 8 2
      c/cherrytree/cherrytree-vl.spec

+ 8 - 2
c/cherrytree/cherrytree-vl.spec

@@ -1,7 +1,9 @@
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
 Summary:   CherryTree - note taking application
 Summary(ja): CherryTree - ノート作成アプリケーション
 Name:	   cherrytree
-Version:   0.17.1
+Version:   0.18.1
 Release:   1%{?_dist_release}
 License:   GPLv2+
 Group:     Applications/Productivity
@@ -85,10 +87,14 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/icons/
 %{_datadir}/mime/packages/
 %{_datadir}/mime-info/
-%{_libdir}/python2.?/site-packages/
+%{python_sitelib}/*
 
 
 %changelog
+* Sun Jan 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.18.1-1
+- new upstream release
+- used python macro
+
 * Sat Dec 18 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.17.1-1
 - new upstream release