From c8779db3414e1e03be3c42dc3fbc81c83bc85d41 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 3 Mar 2010 14:57:10 -0500 Subject: 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. --- contrib/python-dmidecode.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/python-dmidecode.spec') 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 -- cgit