From ad830bf8924a78a04280df24277c31b77f73bfee Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Mon, 11 Feb 2013 19:22:38 -0500 Subject: [PATCH] add condition for CentOS to include pypciscan*.egg-info in %files section of spec --- pypcilib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypcilib.spec b/pypcilib.spec index f00b415..d943b9b 100644 --- a/pypcilib.spec +++ b/pypcilib.spec @@ -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 -- 2.43.0