[python-ansi2html] BR on python2-devel.
Ralph Bean
ralph at fedoraproject.org
Mon Oct 13 19:06:35 UTC 2014
commit 4dbe98096ad1eff736a0904b526b5361212a3c12
Author: Ralph Bean <rbean at redhat.com>
Date: Mon Oct 13 15:06:24 2014 -0400
BR on python2-devel.
python-ansi2html.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/python-ansi2html.spec b/python-ansi2html.spec
index cbc60ab..d4ea4c6 100644
--- a/python-ansi2html.spec
+++ b/python-ansi2html.spec
@@ -23,7 +23,7 @@ Source0: http://pypi.python.org/packages/source/a/ansi2html/ansi2html-%{versi
BuildArch: noarch
-BuildRequires: python
+BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: python-nose
BuildRequires: python-mock
@@ -68,6 +68,9 @@ The ansi2html module can convert text with ANSI color codes to HTML.
%prep
%setup -q -n %{srcname}-%{version}
+# Remove bundled egg-info just in case it is included.
+rm -rf *.egg*
+
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
@@ -125,6 +128,8 @@ popd
%changelog
* Mon Oct 13 2014 Ralph Bean <rbean at redhat.com> - 1.0.6-5
- Modernized python2 macros.
+- Remove any bundled egg-info.
+- BR on python2-devel.
* Wed Aug 27 2014 Ralph Bean <rbean at redhat.com> - 1.0.6-4
- Added explicit dependency on python(3)-setuptools.
More information about the scm-commits
mailing list