From 7a2efde2af0afa5649b060126643b6ee91ae7ba8 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 25 Nov 2009 15:55:50 +0100 Subject: Fixed more python-dmidecode.spec issues after another community review --- contrib/python-dmidecode.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'contrib/python-dmidecode.spec') 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 - 3.10.7-2 +- Fixed some .spec file issues (proper Requires, use _datadir macro) + * Wed Sep 23 2009 Nima Talebi - 3.10.7-1 - Updated source0 to new 3.10.7 tar ball -- cgit