[python-hwdata] rebase to python-hwdata-1.7.3
Miroslav Suchý
msuchy at fedoraproject.org
Fri Mar 2 16:35:42 UTC 2012
commit 268fd352257011bc1c6372991c93443b04d820aa
Author: Miroslav Suchý <msuchy at redhat.com>
Date: Fri Mar 2 17:35:05 2012 +0100
rebase to python-hwdata-1.7.3
.gitignore | 1 +
python-hwdata.spec | 33 ++++++++++++++++++++-------------
sources | 2 +-
3 files changed, 22 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 723126e..54dc518 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
python-hwdata-1.2.tar.gz
+/python-hwdata-1.7.3.tar.gz
diff --git a/python-hwdata.spec b/python-hwdata.spec
index 802bc80..3c08c39 100644
--- a/python-hwdata.spec
+++ b/python-hwdata.spec
@@ -1,15 +1,15 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%if ! (0%{?fedora} || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
Name: python-hwdata
-Version: 1.2
-Release: 4%{?dist}
+Version: 1.7.3
+Release: 1%{?dist}
Summary: Python bindings to hwdata package
BuildArch: noarch
Group: Development/Libraries
License: GPLv2
-URL: https://fedorahosted.org/spacewalk
+URL: https://fedorahosted.org/spacewalk/wiki/Projects/python-hwdata
Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
@@ -25,12 +25,11 @@ It allows you to get human readable description of USB and PCI devices.
%build
-#nothing to do here
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/%{python_sitelib}
-install -p -m 644 hwdata.py $RPM_BUILD_ROOT/%{python_sitelib}
+%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -44,14 +43,22 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+* Fri Mar 02 2012 Miroslav Suchý 1.7.3-1
+- 798375 - fix PCI device name translation (Joshua.Roys at gtri.gatech.edu)
+- use setup from distutils
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+* Fri Mar 02 2012 Jan Pazdziora 1.7.2-1
+- Update the copyright year info.
-* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 1.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+* Fri Mar 02 2012 Jan Pazdziora 1.7.1-1
+- correct indentation (mzazrivec at redhat.com)
+
+* Mon Oct 31 2011 Miroslav Suchý 1.6.2-1
+- point URL to specific python-hwdata page
+
+* Fri Jul 22 2011 Jan Pazdziora 1.6.1-1
+- We only support version 14 and newer of Fedora, removing conditions for old
+ versions.
* Mon Apr 26 2010 Miroslav Suchý <msuchy at redhat.com> 1.2-1
- 585138 - change %%files section and patial support for python3
diff --git a/sources b/sources
index e1001be..c6a6f70 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-54859c631716a32ef2e028bdba6be644 python-hwdata-1.2.tar.gz
+af6d411791a766226d80d95462ee09cc python-hwdata-1.7.3.tar.gz
More information about the scm-commits
mailing list