From 35d518ca6856f7ec431cb595cbfea0812cb0ecd5 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 9 Sep 2008 21:57:59 +0000 Subject: [PATCH] quick and dirty patch for building on fedora 9 --- pypcilib.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pypcilib.spec b/pypcilib.spec index 0b49cdc..141ec8e 100644 --- a/pypcilib.spec +++ b/pypcilib.spec @@ -32,7 +32,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -un) %description pypcilib is a Python library to scan PCI devices using -pciutils' libpci, and to parse the modules.pcimap file. +libpci from pciutils, and to parse the modules.pcimap file. %prep @@ -62,6 +62,10 @@ rm -fr "%{buildroot}" %{python_sitelib}/pypci.py %ghost %{python_sitelib}/pypci.pyc %ghost %{python_sitelib}/pypci.pyo +# xxx - quick'n dirty +%if "%{distroname}" == f9 +%{python_sitelib}/pypciscan*.egg-info +%endif %changelog -- 2.43.0