summaryrefslogtreecommitdiffstats
path: root/contrib/python-dmidecode.spec
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-11-26 16:36:54 +0100
committerDavid Sommerseth <davids@redhat.com>2009-11-26 16:36:54 +0100
commitc029d7c17185c6550d008e50f0b8b9e4029acb2e (patch)
tree7724cb213400e7da761ab71884897ab37c91c735 /contrib/python-dmidecode.spec
parent7a2efde2af0afa5649b060126643b6ee91ae7ba8 (diff)
downloadpython-dmidecode-c029d7c17185c6550d008e50f0b8b9e4029acb2e.tar.gz
python-dmidecode-c029d7c17185c6550d008e50f0b8b9e4029acb2e.tar.xz
python-dmidecode-c029d7c17185c6550d008e50f0b8b9e4029acb2e.zip
Fixed more .spec file issues after more reviews
Diffstat (limited to 'contrib/python-dmidecode.spec')
-rw-r--r--contrib/python-dmidecode.spec11
1 files changed, 7 insertions, 4 deletions
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 <davids@redhat.com> - 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 <davids@redhat.com> - 3.10.7-2
- Fixed some .spec file issues (proper Requires, use _datadir macro)