[python-colorama] Skip the python3 %files section if we don't build the python3 package
Lubomir Rintel
lkundrak at fedoraproject.org
Fri Jul 25 12:48:02 UTC 2014
commit 51b6d172a01f1ed1dd5042be5cbd21594470b8e2
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Fri Jul 25 14:47:50 2014 +0200
Skip the python3 %files section if we don't build the python3 package
python-colorama.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-colorama.spec b/python-colorama.spec
index e98337d..6c4c877 100644
--- a/python-colorama.spec
+++ b/python-colorama.spec
@@ -6,7 +6,7 @@
Name: python-%{pypi_name}
Version: 0.2.7
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Cross-platform colored terminal text
License: BSD
@@ -91,12 +91,17 @@ popd
%{python_sitelib}/%{pypi_name}
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%doc README.txt LICENSE.txt
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+%endif
%changelog
+* Fri Jul 25 2014 Lubomir Rintel <lkundrak at v3.sk> - 0.2.7-5
+- Skip the python3 %%files section if we don't build the python3 package
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list