]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- macros BR
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 29 Jun 2008 18:30:46 +0000 (18:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python.spec -> 1.6

python.spec

index 56afb2898124832664b2e2548aaacf4f997601a4..1fc99d689e4e53f28ef8bc4872d3710b08c10b25 100644 (file)
@@ -11,7 +11,9 @@ Source0:      %{name}-%{version}.tar.gz
 URL:           -
 BuildRequires: python-devel >= 1:2.5
 BuildRequires: rpm-pythonprov
-#%pyrequires_eq  python-libs
+# if py_postclean is used
+BuildRequires: rpmbuild(macros) >= 1.219
+#%pyrequires_eq        python-libs
 %pyrequires_eq python-modules
 #BuildArch:    noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -22,11 +24,11 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %setup -q -n %{module}-python
 
 %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
 
This page took 0.036478 seconds and 4 git commands to generate.