Browse Source

python:
- tkinter obsoletes python27-tkinter < 2.7.2
- python-* obsoletes python-* < 2.7.2



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

daisuke 12 years ago
parent
commit
b3712acc92
1 changed files with 10 additions and 3 deletions
  1. 10 3
      p/python/python-vl.spec

+ 10 - 3
p/python/python-vl.spec

@@ -12,7 +12,7 @@ Summary: An interpreted, interactive, object-oriented programming language.
 Summary(ja): オブジェクト指向言語 Python インタプリタ
 Name: python
 Version: %{pybasever}.2
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 License: PSF
 Group: Development/Languages
 URL: http://www.python.org/%{pybasever}/
@@ -124,6 +124,7 @@ Summary: The libraries and header files needed for Python development.
 Summary(ja): Python での開発に必要なライブラリやヘッダファイル
 Group: Development/Libraries
 Obsoletes: python2-devel
+Obsoletes: python27-devel < 2.7.2
 
 %description devel
 The Python programming language's interpreter can be extended with
@@ -143,6 +144,7 @@ Group: Development/Tools
 Requires: %{name} = %{version}
 Requires: tkinter = %{version}
 Obsoletes: python2-tools
+Obsoletes: python27-tools < 2.7.2
 
 %description tools
 The Python package includes several development tools that are used
@@ -158,6 +160,7 @@ Summary: Documentation for the Python programming language.
 Summary(ja): Python プログラミング言語のドキュメント
 Group: Applications/Documentation
 Obsoletes: python2-docs
+Obsoletes: python27-docs < 2.7.2
 
 %description docs
 The python-docs package contains documentation on the Python
@@ -175,8 +178,8 @@ Obsoletes: tkinter2
 BuildRequires: tcl, tk
 Requires: %{name} = %{version}-%{release}
 Requires: tix
-Obsoletes: python27-%{name} < 2.7.2
-Provides: python27-%{name} = %{version}-%{release}
+Obsoletes: python27-tkinter < 2.7.2
+Provides: python27-tkinter = %{version}-%{release}
 
 %description -n tkinter
 The Tkinter (Tk interface) program is an graphical user interface for
@@ -485,6 +488,10 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Sat Feb 25 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 2.7.2-4
+- tkinter obsoletes python27-tkinter < 2.7.2
+- python-* obsoletes python-* < 2.7.2
+
 * Wed Feb 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.7.2-3
 - add configure option (--with-system-expat)