SPECS: python-docutils.spec - python BRs
qboosh
qboosh at pld-linux.org
Fri Oct 17 21:02:27 CEST 2008
Author: qboosh Date: Fri Oct 17 19:02:27 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- python BRs
---- Files affected:
SPECS:
python-docutils.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: SPECS/python-docutils.spec
diff -u SPECS/python-docutils.spec:1.19 SPECS/python-docutils.spec:1.20
--- SPECS/python-docutils.spec:1.19 Thu Oct 16 21:47:00 2008
+++ SPECS/python-docutils.spec Fri Oct 17 21:02:22 2008
@@ -15,8 +15,10 @@
Source0: http://dl.sourceforge.net/%{module}/%{module}-%{version}.tar.gz
# Source0-md5: dd72dac92fc8e3eb0f48c3effeef80f6
URL: http://docutils.sourceforge.net/
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
%pyrequires_eq python-modules
-BuildRequires: python-devel >= 1:2.3
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,7 +54,7 @@
%setup -q -n %{module}-%{version}
%build
-python setup.py build
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
@@ -60,13 +62,13 @@
cp -r test/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-python setup.py install \
+%{__python} setup.py install \
--root=$RPM_BUILD_ROOT \
--optimize=2
# force installation of roman.py, which won't be installed
# if another version of docutils is installed
-install extras/roman.py $RPM_BUILD_ROOT/%{py_sitescriptdir}/roman.py
+install extras/roman.py $RPM_BUILD_ROOT%{py_sitescriptdir}/roman.py
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_postclean
@@ -95,6 +97,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2008/10/17 19:02:22 qboosh
+- python BRs
+
Revision 1.19 2008/10/16 19:47:00 wrobell
- force roman module installation
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-docutils.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list