[pytrailer/f12/master] Fix ifdef on files section

Stanislav Ochotnicky sochotni at fedoraproject.org
Wed Oct 27 08:15:59 UTC 2010


commit 2214e8218a66541b3c146d2efb7bf1547984de29
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Wed Oct 27 10:15:53 2010 +0200

    Fix ifdef on files section

 pytrailer.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pytrailer.spec b/pytrailer.spec
index 3922885..b604faa 100644
--- a/pytrailer.spec
+++ b/pytrailer.spec
@@ -79,11 +79,13 @@ rm -rf %{buildroot}
 %{python_sitelib}/pytrailer*
 %{python_sitelib}/*.egg-info
 
+%if 0%{?with_python3}
 %files -n python3-%{name}
 %defattr(-,root,root,-)
 %doc LICENSE README
 %{python3_sitelib}/pytrailer*
 %{python3_sitelib}/*.egg-info
+%endif # with_python3
 
 
 %changelog


More information about the scm-commits mailing list