add condition for CentOS to include pypciscan*.egg-info in %files section of spec
authorStephen Soltesz <soltesz@opentechinstitute.org>
Tue, 12 Feb 2013 00:22:38 +0000 (19:22 -0500)
committerStephen Soltesz <soltesz@opentechinstitute.org>
Tue, 12 Feb 2013 00:22:38 +0000 (19:22 -0500)
pypcilib.spec

index f00b415..d943b9b 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) || ("%{distro}" == "SL" && %{distrorelease} >= 6)
+%if ("%{distro}" == "Fedora" && %{distrorelease} >= 9) || ("%{distro}" == "SL" && %{distrorelease} >= 6) || ("%{distro}" == "CentOS")
 %{python_sitelib}/pypciscan*.egg-info
 %endif