diff options
author | David Sommerseth <davids@redhat.com> | 2009-09-23 09:43:24 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-09-23 09:43:24 +0200 |
commit | c285b8c99fc2fcb0d07dc91f4bed64af2395159b (patch) | |
tree | 3a1d1a97f806698c4b2bfbb10e523d0f6e0ae374 /contrib/python-dmidecode.spec | |
parent | eb08fd406370a81172d7fdd0663233a5f140b784 (diff) | |
download | python-dmidecode-c285b8c99fc2fcb0d07dc91f4bed64af2395159b.tar.gz python-dmidecode-c285b8c99fc2fcb0d07dc91f4bed64af2395159b.tar.xz python-dmidecode-c285b8c99fc2fcb0d07dc91f4bed64af2395159b.zip |
Fixed .spec file issues after review from the Fedora community
Details can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=515230#c1
The comment regarding check against older Python versions is needed to be able
to build RPMs on RHEL4 and RHEL5.
Diffstat (limited to 'contrib/python-dmidecode.spec')
-rw-r--r-- | contrib/python-dmidecode.spec | 10 |
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] |