summaryrefslogtreecommitdiffstats
path: root/contrib/python-dmidecode.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python-dmidecode.spec')
-rw-r--r--contrib/python-dmidecode.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/contrib/python-dmidecode.spec b/contrib/python-dmidecode.spec
index 0d48fc3..c70f37b 100644
--- a/contrib/python-dmidecode.spec
+++ b/contrib/python-dmidecode.spec
@@ -1,17 +1,15 @@
%{!?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]")}
-Summary: python extension module to access DMI data
+Summary: Python module to access DMI data
Name: python-dmidecode
Version: 3.10.6
Release: 6%{?dist}
License: GPLv2
Group: System Environment/Libraries
-URL: http://projects.autonomy.net.au/dmidecode/
-Source0: %{name}-%{version}.tar.gz
+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
-Requires: libxml2-python
BuildRequires: libxml2-python
BuildRequires: libxml2-devel
BuildRequires: python-devel
@@ -37,7 +35,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc
+%doc README doc/README.upstream doc/LICENSE doc/AUTHORS doc/AUTHORS.upstream
%{python_sitearch}/dmidecodemod.so
%{python_sitearch}/dmidecode.py
%{python_sitearch}/dmidecode.py[co]