packages: python-Levenshtein/python-Levenshtein.spec - release 1
glen
glen at pld-linux.org
Mon May 10 17:24:37 CEST 2010
Author: glen Date: Mon May 10 15:24:37 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- release 1
---- Files affected:
packages/python-Levenshtein:
python-Levenshtein.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/python-Levenshtein/python-Levenshtein.spec
diff -u packages/python-Levenshtein/python-Levenshtein.spec:1.7 packages/python-Levenshtein/python-Levenshtein.spec:1.8
--- packages/python-Levenshtein/python-Levenshtein.spec:1.7 Tue Feb 13 09:06:42 2007
+++ packages/python-Levenshtein/python-Levenshtein.spec Mon May 10 17:24:32 2010
@@ -4,10 +4,10 @@
Summary(pl.UTF-8): Rozszerzenie Pythona do obliczania odległości i podobieństw łańcuchów
Name: python-%{pname}
Version: 0.10
-Release: 0.1
+Release: 1
License: GPL
Group: Libraries/Python
-Source0: http://trific.ath.cx/Ftp//python/levenshtein/python-Levenshtein-0.10.tar.bz2
+Source0: http://trific.ath.cx/Ftp//python/levenshtein/python-Levenshtein-%{version}.tar.bz2
# Source0-md5: 88d39338fc75090da78adf43785c71b4
URL: http://trific.ath.cx/resources/python/levenshtein/
BuildRequires: python-devel >= 1:2.3.0
@@ -31,12 +31,13 @@
%build
export CFLAGS="%{rpmcflags}"
-python setup.py build
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-
-python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -45,6 +46,9 @@
%defattr(644,root,root,755)
%doc NEWS README
%attr(755,root,root) %{py_sitedir}/%{pname}.so
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/python_Levenshtein-*.egg-info
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -52,6 +56,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2010/05/10 15:24:32 glen
+- release 1
+
Revision 1.7 2007/02/13 08:06:42 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-Levenshtein/python-Levenshtein.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list