summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown <michael@netdirect.ca>2010-03-03 14:57:10 -0500
committerDavid Sommerseth <davids@redhat.com>2010-03-04 10:48:48 +0100
commitc8779db3414e1e03be3c42dc3fbc81c83bc85d41 (patch)
tree886916b8ff5adfc01167076c2b4632ab37ccda59
parent60a85298dffa1497c2d24334c92989bc57201406 (diff)
downloadpython-dmidecode-c8779db3414e1e03be3c42dc3fbc81c83bc85d41.tar.gz
python-dmidecode-c8779db3414e1e03be3c42dc3fbc81c83bc85d41.tar.xz
python-dmidecode-c8779db3414e1e03be3c42dc3fbc81c83bc85d41.zip
RPM spec: Install into /usr instead of /usr/local
On OpenSuSE, the default 'setup.py install' installs to /usr/local Added --prefix=/usr to setup.py install command in the RPM spec so rpmbuild picks up the correct files.
-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 da818e4..d1790e8 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
+python src/setup.py install --root $RPM_BUILD_ROOT --prefix=/usr
%clean
rm -rf $RPM_BUILD_ROOT