]> git.pld-linux.org Git - packages/python-Levenshtein.git/commitdiff
- release 1 auto/th/python-Levenshtein-0_10-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 May 2010 15:24:32 +0000 (15:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-Levenshtein.spec -> 1.8

python-Levenshtein.spec

index c799f575826455034f5134012c8efa72f12f8542..5a63c6fe360d75aa7bbd07e7991f62b9a27b5d21 100644 (file)
@@ -3,10 +3,10 @@ Summary:      Python extension computing string distances and similarities
 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
@@ -30,12 +30,13 @@ odpowiadających mu funkcji bibliotecznych i metod Pythona.
 
 %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
@@ -44,3 +45,6 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.125037 seconds and 4 git commands to generate.