diff options
author | David Sommerseth <davids@redhat.com> | 2010-03-04 10:50:52 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2010-03-04 10:50:52 +0100 |
commit | 7489917e75aa967d6e945360c92df829c436a635 (patch) | |
tree | 7e11756a611877ee9d1a075a2e973e4bfb99ae4b | |
parent | c8779db3414e1e03be3c42dc3fbc81c83bc85d41 (diff) | |
download | python-dmidecode-7489917e75aa967d6e945360c92df829c436a635.tar.gz python-dmidecode-7489917e75aa967d6e945360c92df829c436a635.tar.xz python-dmidecode-7489917e75aa967d6e945360c92df829c436a635.zip |
Use %{_prefix} instead of hard coding /usr in setup.py --prefix
-rw-r--r-- | contrib/python-dmidecode.spec | 2 |
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 |