support SL6
[pypcilib.git] / pypcilib.spec
index b696d46..440284d 100644 (file)
@@ -63,7 +63,7 @@ rm -fr "%{buildroot}"
 %ghost %{python_sitelib}/pypci.pyc
 %ghost %{python_sitelib}/pypci.pyo
 # xxx - quick'n dirty
-%if "%{distro}" == "Fedora" && %{distrorelease} >= 9
+%if ("%{distro}" == "Fedora" && %{distrorelease} >= 9) || ("%{distro}" == "SL" && %{distrorelease} >= 6)
 %{python_sitelib}/pypciscan*.egg-info
 %endif