From c029d7c17185c6550d008e50f0b8b9e4029acb2e Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Thu, 26 Nov 2009 16:36:54 +0100 Subject: Fixed more .spec file issues after more reviews --- contrib/python-dmidecode.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'contrib/python-dmidecode.spec') diff --git a/contrib/python-dmidecode.spec b/contrib/python-dmidecode.spec index 7e2b259..be0cd53 100644 --- a/contrib/python-dmidecode.spec +++ b/contrib/python-dmidecode.spec @@ -1,10 +1,10 @@ -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%{!?python_ver: %define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%{!?python_ver: %global python_ver %(%{__python} -c "import sys ; print sys.version[:3]")} Summary: Python module to access DMI data Name: python-dmidecode Version: 3.10.7 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: System Environment/Libraries URL: http://projects.autonomy.net.au/python-dmidecode/ @@ -44,9 +44,12 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/*.egg-info %endif %{_datadir}/python-dmidecode/ -%{_datadir}/python-dmidecode/pymap.xml %changelog +* Thu Nov 26 2009 David Sommerseth - 3.10.7-3 +- Fixed even more .spec file issues and removed explicit mentioning + of /usr/share/python-dmidecode/pymap.xml + * Wed Nov 25 2009 David Sommerseth - 3.10.7-2 - Fixed some .spec file issues (proper Requires, use _datadir macro) -- cgit