rpms/python-nltk/FC-5 python-nltk.spec,1.1,1.2
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Wed Nov 8 16:22:51 UTC 2006
Author: salimma
Update of /cvs/extras/rpms/python-nltk/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12590/FC-5
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/FC-5/python-nltk.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-nltk.spec 17 Nov 2005 05:22:25 -0000 1.1
+++ python-nltk.spec 8 Nov 2006 16:22:20 -0000 1.2
@@ -2,7 +2,7 @@
Name: python-nltk
Version: 1.4.4
-Release: 1%{?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,14 +54,16 @@
%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
+
* Sun Sep 11 2005 Michel Salim <michel.salim[AT]gmail.com> - 1.4.4-1
- Initial package
More information about the fedora-extras-commits
mailing list