rpms/rrdtool/devel rrdtool.spec,1.31,1.32
Jarod Wilson (jwilson)
fedora-extras-commits at redhat.com
Wed Apr 25 15:47:08 UTC 2007
- Previous message: rpms/libopensync-plugin-irmc/devel .cvsignore, 1.4, 1.5 libopensync-plugin-irmc.spec, 1.9, 1.10 sources, 1.4, 1.5
- Next message: rpms/libopensync-plugin-kdepim/FC-5 .cvsignore, 1.4, 1.5 libopensync-plugin-kdepim-Makefile.patch, 1.1, 1.2 libopensync-plugin-kdepim.spec, 1.5, 1.6 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jwilson
Update of /cvs/extras/rpms/rrdtool/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11485
Modified Files:
rrdtool.spec
Log Message:
Define %python_version *before* its needed (#237826)
Index: rrdtool.spec
===================================================================
RCS file: /cvs/extras/rpms/rrdtool/devel/rrdtool.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- rrdtool.spec 9 Apr 2007 14:18:07 -0000 1.31
+++ rrdtool.spec 25 Apr 2007 15:46:34 -0000 1.32
@@ -7,7 +7,7 @@
Summary: Round Robin Database Tool to store and display time-series data
Name: rrdtool
Version: 1.2.19
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: Applications/Databases
URL: http://people.ee.ethz.ch/~oetiker/webtools/%{name}/
@@ -59,6 +59,10 @@
The Perl RRDtool bindings
%if %{with_python}
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')}
+# eval to 2.3 if python isn't yet present, workaround for no python in fc4 minimal buildroot
+%{!?python_version: %define python_version %(%{__python} -c 'import sys; print sys.version.split(" ")[0]' || echo "2.3")}
+
%package python
Summary: Python RRDtool bindings
Group: Development/Languages
@@ -67,9 +71,6 @@
Requires: %{name} = %{version}-%{release}
Obsoletes: python-%{name} < %{version}-%{release}
Provides: python-%{name} = %{version}-%{release}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')}
-# eval to 2.3 if python isn't yet present, workaround for no python in fc4 minimal buildroot
-%{!?python_version: %define python_version %(%{__python} -c 'import sys; print sys.version.split(" ")[0]' || echo "2.3")}
%description python
Python RRDtool bindings.
@@ -271,6 +272,9 @@
%endif
%changelog
+* Wed Apr 25 2007 Jarod Wilson <jwilson at redhat.com> 1.2.19-2
+- Define %%python_version *before* its needed (#237826)
+
* Mon Apr 09 2007 Jarod Wilson <jwilson at redhat.com> 1.2.19-1
- New upstream release
- Previous message: rpms/libopensync-plugin-irmc/devel .cvsignore, 1.4, 1.5 libopensync-plugin-irmc.spec, 1.9, 1.10 sources, 1.4, 1.5
- Next message: rpms/libopensync-plugin-kdepim/FC-5 .cvsignore, 1.4, 1.5 libopensync-plugin-kdepim-Makefile.patch, 1.1, 1.2 libopensync-plugin-kdepim.spec, 1.5, 1.6 sources, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list