[packages/python-pyenchant] - updated to 1.5.3
qboosh
qboosh at pld-linux.org
Sun Nov 25 13:15:07 CET 2012
commit 4517f3185358ca7b46884ae42e737c36e0db2b33
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 25 13:15:24 2012 +0100
- updated to 1.5.3
python-pyenchant.spec | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/python-pyenchant.spec b/python-pyenchant.spec
index 9e9fb12..287ed21 100644
--- a/python-pyenchant.spec
+++ b/python-pyenchant.spec
@@ -2,12 +2,12 @@
Summary: Spellchecking library for Python
Summary(pl.UTF-8): Biblioteka Pythona sprawdzająca pisownię
Name: python-%{pname}
-Version: 1.5.1
-Release: 2
+Version: 1.5.3
+Release: 1
License: LGPL v2.1+
Group: Libraries
-Source0: http://dl.sourceforge.net/pyenchant/%{pname}-%{version}.tar.gz
-# Source0-md5: 1195bb1dae4fa0efc76f1668a35fe458
+Source0: http://downloads.sourceforge.net/pyenchant/%{pname}-%{version}.tar.gz
+# Source0-md5: d327fb9c8620ecc261a424083dc9aa95
Patch0: %{name}-ez_setup.patch
URL: http://pyenchant.sourceforge.net/
BuildRequires: enchant-devel >= 1.3.0
@@ -32,28 +32,28 @@ moduł Pythona.
%patch0 -p1
%build
-python setup.py build
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
+%{__python} setup.py install \
--optimize=2 \
--root $RPM_BUILD_ROOT \
--single-version-externally-managed
-find $RPM_BUILD_ROOT%{python_sitelib}/enchant -name '*.py' -exec rm -f {} \;
-rm -rf $RPM_BUILD_ROOT%{python_sitelib}/%{pname}-%{version}-*.egg-info
+%py_postclean
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.txt
-%dir %{python_sitelib}/enchant
-%dir %{python_sitelib}/enchant/checker
-%dir %{python_sitelib}/enchant/tokenize
-%{python_sitelib}/enchant/*.py[oc]
-%{python_sitelib}/enchant/checker/*.py[oc]
-%{python_sitelib}/enchant/tokenize/*.py[oc]
+%doc README.txt TODO.txt
+%dir %{py_sitescriptdir}/enchant
+%{py_sitescriptdir}/enchant/*.py[co]
+%dir %{py_sitescriptdir}/enchant/checker
+%{py_sitescriptdir}/enchant/checker/*.py[co]
+%dir %{py_sitescriptdir}/enchant/tokenize
+%{py_sitescriptdir}/enchant/tokenize/*.py[co]
+%{py_sitescriptdir}/pyenchant-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyenchant.git/commitdiff/4517f3185358ca7b46884ae42e737c36e0db2b33
More information about the pld-cvs-commit
mailing list