]> git.pld-linux.org Git - packages/python-encutils.git/blobdiff - python-encutils.spec
automatic change: use py_build/py_install macros
[packages/python-encutils.git] / python-encutils.spec
index c710635a7493f2dbeae4641cc5458d992e2b2dfb..c28b140837a767e15296429f24432cde612d3ee4 100644 (file)
@@ -2,17 +2,18 @@
 Summary:       A collection of helper functions to detect encodings of text files
 Summary(pl.UTF-8):     Kolekcja funkcji wykrywającej kodowanie plików tekstowych
 Name:          python-%{module}
-Version:       0.8.3
-Release:       3
+Version:       0.9
+Release:       2
 License:       LGPL v2.1
 Group:         Libraries/Python
 Source0:       http://cheeseshop.python.org/packages/source/e/encutils/%{module}-%{version}.zip
-# Source0-md5: 691785da7babf1af4c051977a4c97a1f
+# Source0-md5: d6b01d11bf0897e50e11d6f95b8d9b81
 URL:           http://cthedot.de/encutils/
 BuildRequires: python-devel >= 1:2.5
 BuildRequires: python-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.174
+BuildRequires: unzip
 %pyrequires_eq python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,12 +29,12 @@ XHTML, XML, CSS, etc.) pobranych przez HTTP, plik lub ciąg znaków.
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
+%py_install \
         --single-version-externally-managed \
        --optimize=2 \
        --root $RPM_BUILD_ROOT
This page took 0.029498 seconds and 4 git commands to generate.