]> git.pld-linux.org Git - packages/python-chardet.git/commitdiff
- use __python macro, rpmbuild deps
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 14 Apr 2008 21:01:47 +0000 (21:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-chardet.spec -> 1.4

python-chardet.spec

index 05563ad91a6071403161c2af011e6f1f4b0d4449..eb8368d0d65c61f0943c2028eec6cd2db8377f54 100644 (file)
@@ -12,6 +12,8 @@ Source0:      http://chardet.feedparser.org/download/%{module}-%{version}.tgz
 URL:           http://chardet.feedparser.org/
 BuildRequires: python >= 1:2.5
 BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
 %pyrequires_eq python-modules
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -26,12 +28,12 @@ przeglÄ…darce.
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
+%{__python} setup.py install \
        --root=$RPM_BUILD_ROOT \
        --optimize=2
 
This page took 0.245009 seconds and 4 git commands to generate.