summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/python-dmidecode.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python-dmidecode.spec b/contrib/python-dmidecode.spec
index d1790e8..1645bc1 100644
--- a/contrib/python-dmidecode.spec
+++ b/contrib/python-dmidecode.spec
@@ -31,7 +31,7 @@ cd ..
%install
rm -rf $RPM_BUILD_ROOT
-python src/setup.py install --root $RPM_BUILD_ROOT --prefix=/usr
+python src/setup.py install --root $RPM_BUILD_ROOT --prefix=%{_prefix}
%clean
rm -rf $RPM_BUILD_ROOT