SPECS: python-chardet.spec - use __python macro, rpmbuild deps
qboosh
qboosh at pld-linux.org
Mon Apr 14 23:01:52 CEST 2008
Author: qboosh Date: Mon Apr 14 21:01:52 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use __python macro, rpmbuild deps
---- Files affected:
SPECS:
python-chardet.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SPECS/python-chardet.spec
diff -u SPECS/python-chardet.spec:1.3 SPECS/python-chardet.spec:1.4
--- SPECS/python-chardet.spec:1.3 Sat Dec 8 01:20:05 2007
+++ SPECS/python-chardet.spec Mon Apr 14 23:01:47 2008
@@ -13,6 +13,8 @@
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)
@@ -27,12 +29,12 @@
%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
@@ -54,6 +56,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2008-04-14 21:01:47 qboosh
+- use __python macro, rpmbuild deps
+
Revision 1.3 2007-12-08 00:20:05 beorn
- Group fix
@@ -62,4 +67,3 @@
Revision 1.1 2007-12-08 00:08:15 baggins
- initial revision
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-chardet.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list