diff --git a/packaging/make_srpm b/packaging/make_srpm
index 986cfa1c5a4e1a8c551b145b40a0b3d71e2812f5..105096250a5b5a234c6db8c8b5ea9f9d1b02cea9 100755
--- a/packaging/make_srpm
+++ b/packaging/make_srpm
@@ -15,6 +15,7 @@ BuildRequires: gcc
 BuildRequires: ant
 BuildRequires: java
 BuildRequires: mono-core
+BuildRequires: python2-devel
 
 %description
 LabComm communication protocol
@@ -67,8 +68,8 @@ install -m u=r,g=r,o=r lib/csharp/labcomm2006.dll ${RPM_BUILD_ROOT}/usr/lib
 #
 # Python
 #
-install -d ${RPM_BUILD_ROOT}/%{python_sitelib}/labcomm2006
-install lib/python/labcomm2006/* ${RPM_BUILD_ROOT}/%{python_sitelib}/labcomm2006
+install -d ${RPM_BUILD_ROOT}/%{python2_sitelib}/labcomm2006
+install lib/python/labcomm2006/* ${RPM_BUILD_ROOT}/%{python2_sitelib}/labcomm2006
 
 %files
 %defattr (-, root, root)
@@ -112,5 +113,5 @@ COMMIT=$(git rev-parse HEAD)
     git archive --format tar HEAD
 ) > rpmbuild/SOURCES/labcomm.${DESCRIBE}.tar.gz
 rpmbuild --define "_topdir $(pwd)/rpmbuild" \
-         -bs rpmbuild/SPECS/labcomm.spec
+         -bs rpmbuild/SPECS/labcomm.spec 2>&1 | sed -e 's|rpmbuild/SRPMS/||g'
 mv rpmbuild/SRPMS/* .