git://git.onelab.eu
/
pypcilib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python is python2
[pypcilib.git]
/
pypcilib.spec
diff --git
a/pypcilib.spec
b/pypcilib.spec
index
f00b415
..
6d24a9b
100644
(file)
--- a/
pypcilib.spec
+++ b/
pypcilib.spec
@@
-1,16
+1,13
@@
-#
-# $Id$
-#
%define url $URL$
%define name pypcilib
%define version 0.2
%define url $URL$
%define name pypcilib
%define version 0.2
-%define taglevel 1
0
+%define taglevel 1
1
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitelib: %define python_sitelib %(%{__python
2
} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %define python_sitearch %(%{__python
2
} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Summary: Python library for doing PCI stuff
Name: %{name}
Summary: Python library for doing PCI stuff
Name: %{name}
@@
-40,12
+37,12
@@
libpci from pciutils, and to parse the modules.pcimap file.
%build
%build
-%{__python} setup.py build
+%{__python
2
} setup.py build
%install
rm -fr "%{buildroot}"
%install
rm -fr "%{buildroot}"
-%{__python} setup.py install -O1 --skip-build --root "%{buildroot}"
+%{__python
2
} setup.py install -O1 --skip-build --root "%{buildroot}"
touch %{buildroot}%{python_sitelib}/pypcimap.py{c,o}
touch %{buildroot}%{python_sitelib}/pypci.py{c,o}
touch %{buildroot}%{python_sitelib}/pypcimap.py{c,o}
touch %{buildroot}%{python_sitelib}/pypci.py{c,o}
@@
-63,12
+60,14
@@
rm -fr "%{buildroot}"
%ghost %{python_sitelib}/pypci.pyc
%ghost %{python_sitelib}/pypci.pyo
# xxx - quick'n dirty
%ghost %{python_sitelib}/pypci.pyc
%ghost %{python_sitelib}/pypci.pyo
# xxx - quick'n dirty
-%if ("%{distro}" == "Fedora" && %{distrorelease} >= 9) || ("%{distro}" == "SL" && %{distrorelease} >= 6)
+%if ("%{distro}" == "Fedora" && %{distrorelease} >= 9) || ("%{distro}" == "SL" && %{distrorelease} >= 6)
|| ("%{distro}" == "CentOS")
%{python_sitelib}/pypciscan*.egg-info
%endif
%changelog
%{python_sitelib}/pypciscan*.egg-info
%endif
%changelog
+* Mon Feb 11 2013 Stephen Soltesz <soltesz@opentechinstitute.org> - pypcilib-0.2-11
+
* Fri Mar 11 2011 S.Çağlar Onur <caglar@verivue.com> - pypcilib-0.2-10
- Supoprt SL6
* Fri Mar 11 2011 S.Çağlar Onur <caglar@verivue.com> - pypcilib-0.2-10
- Supoprt SL6