[bootchart] - fixed python subdir

Harald Hoyer harald at fedoraproject.org
Wed Feb 9 11:12:39 UTC 2011


commit 055cf5f69f5cf58380e535abe063d095d53b46cb
Author: Harald Hoyer <harald at redhat.com>
Date:   Wed Feb 9 12:12:26 2011 +0100

    - fixed python subdir

 bootchart.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/bootchart.spec b/bootchart.spec
index c5b416d..81975b6 100644
--- a/bootchart.spec
+++ b/bootchart.spec
@@ -2,7 +2,7 @@
 
 Name:           bootchart 
 Version:        0.12.4
-Release:        4.1.git20101122%{?dist}
+Release:        5.1.git20101122%{?dist}
 Summary:        Boot Process Performance Visualization
 License:        GPLv2+ and GPLv3+
 URL:            https://github.com/mmeeks/bootchart
@@ -118,10 +118,9 @@ file.
 make CFLAGS="$RPM_OPT_FLAGS" 
 
 %install
-pyversion=$(python --version 2>&1| awk '{ print $2 }')
 make install \
 	DESTDIR=$RPM_BUILD_ROOT \
-	PY_LIBDIR=/usr/lib/python$pyversion \
+	PY_LIBDIR=%{python_sitelib} \
 	NO_PYTHON_COMPILE=1 \
 	SYSTEMD_UNIT_DIR=%{systemdsystemunitdir}
 
@@ -177,6 +176,9 @@ fi
 %config(noreplace) %{_sysconfdir}/dracut.conf.d/bootchartd.conf
 
 %changelog
+* Wed Feb 09 2011 Harald Hoyer <harald at redhat.com> 0.12.4-5.1.git20101122
+- fixed python subdir
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12.4-4.1.git20101122
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list