ralph pushed to python-ansi2html (f21). "BR on python2-devel."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Mar 30 19:08:16 UTC 2015


>From 4dbe98096ad1eff736a0904b526b5361212a3c12 Mon Sep 17 00:00:00 2001
From: Ralph Bean <rbean at redhat.com>
Date: Mon, 13 Oct 2014 15:06:24 -0400
Subject: BR on python2-devel.


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.
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-ansi2html.git/commit/?h=f21&id=4dbe98096ad1eff736a0904b526b5361212a3c12


More information about the scm-commits mailing list