rpms/python-nltk/devel python-nltk.spec,1.2,1.3
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Wed Nov 8 16:22:57 UTC 2006
Author: salimma
Update of /cvs/extras/rpms/python-nltk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12590/devel
Modified Files:
python-nltk.spec
Log Message:
Fix to follow Python packaging guidelines. This package will be retired once nltk-lite enters the repository, this is a stop-gap solution
Index: python-nltk.spec
===================================================================
RCS file: /cvs/extras/rpms/python-nltk/devel/python-nltk.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-nltk.spec 10 Oct 2006 00:45:00 -0000 1.2
+++ python-nltk.spec 8 Nov 2006 16:22:27 -0000 1.3
@@ -2,7 +2,7 @@
Name: python-nltk
Version: 1.4.4
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Natural Language Toolkit
Group: Development/Libraries
@@ -13,7 +13,6 @@
BuildArch: noarch
BuildRequires: python
-Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Requires: python-numarray, tkinter
%description
@@ -32,7 +31,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
%clean
@@ -55,15 +54,14 @@
%dir %{python_sitelib}/nltk/test
%dir %{python_sitelib}/nltk/tokenizer
%dir %{python_sitelib}/nltk/tokenreader
-%{python_sitelib}/nltk/*.py
-%{python_sitelib}/nltk/*.pyc
-%{python_sitelib}/nltk/*/*.py
-%{python_sitelib}/nltk/*/*.pyc
-%ghost %{python_sitelib}/nltk/*.pyo
-%ghost %{python_sitelib}/nltk/*/*.pyo
+%{python_sitelib}/nltk/*.py*
+%{python_sitelib}/nltk/*/*.py*
%changelog
+* Wed Nov 8 2006 Michel Salim <michel.salim at gmail.com> - 1.4.4-3
+- Include *.pyos, for compliance with new Python guidelines
+
* Mon Oct 9 2006 Michel Salim <michel.salim at gmail.com> - 1.4.4-2
- Rebuild for FE6
More information about the scm-commits
mailing list