summaryrefslogtreecommitdiffstats
path: root/contrib/python-dmidecode.spec
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2009-11-25 15:55:50 +0100
committerDavid Sommerseth <davids@redhat.com>2009-11-25 15:55:50 +0100
commit7a2efde2af0afa5649b060126643b6ee91ae7ba8 (patch)
tree2884bd60eabf7e9cf187206da2d20d6f9f6d81b1 /contrib/python-dmidecode.spec
parent66ddffc29a5a99f847a8ec8f76f1adbe37c481f6 (diff)
downloadpython-dmidecode-7a2efde2af0afa5649b060126643b6ee91ae7ba8.tar.gz
python-dmidecode-7a2efde2af0afa5649b060126643b6ee91ae7ba8.tar.xz
python-dmidecode-7a2efde2af0afa5649b060126643b6ee91ae7ba8.zip
Fixed more python-dmidecode.spec issues after another community review
Diffstat (limited to 'contrib/python-dmidecode.spec')
-rw-r--r--contrib/python-dmidecode.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/python-dmidecode.spec b/contrib/python-dmidecode.spec
index b2848e6..7e2b259 100644
--- a/contrib/python-dmidecode.spec
+++ b/contrib/python-dmidecode.spec
@@ -4,12 +4,13 @@
Summary: Python module to access DMI data
Name: python-dmidecode
Version: 3.10.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
Group: System Environment/Libraries
URL: http://projects.autonomy.net.au/python-dmidecode/
Source0: http://src.autonomy.net.au/python-dmidecode/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Requires: libxml2-python
BuildRequires: libxml2-python
BuildRequires: libxml2-devel
BuildRequires: python-devel
@@ -42,9 +43,13 @@ rm -rf $RPM_BUILD_ROOT
%if "%{python_ver}" >= "2.5"
%{python_sitearch}/*.egg-info
%endif
-/usr/share/python-dmidecode/pymap.xml
+%{_datadir}/python-dmidecode/
+%{_datadir}/python-dmidecode/pymap.xml
%changelog
+* Wed Nov 25 2009 David Sommerseth <davids@redhat.com> - 3.10.7-2
+- Fixed some .spec file issues (proper Requires, use _datadir macro)
+
* Wed Sep 23 2009 Nima Talebi <nima@it.net.au> - 3.10.7-1
- Updated source0 to new 3.10.7 tar ball