[python-html2text] TODO: decide on the new /usr/bin/html2text this one wants to install update to 3.200.3
Michael Schwendt
mschwendt at fedoraproject.org
Sat Jan 14 20:28:07 UTC 2012
commit 32ba69f32c10d114e55099aa6e37bfb77daa9a74
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Sat Jan 14 21:28:03 2012 +0100
TODO: decide on the new /usr/bin/html2text this one wants to install
update to 3.200.3
.gitignore | 1 +
python-html2text.spec | 21 +++++++++++++++------
sources | 2 +-
3 files changed, 17 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6530429..4bad3b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
html2text-2.38.py
/python-html2text-3.02.tar.gz
+/aaronsw-html2text-3.02-77-gc368b14.tar.gz
diff --git a/python-html2text.spec b/python-html2text.spec
index bcb60a1..b103410 100644
--- a/python-html2text.spec
+++ b/python-html2text.spec
@@ -1,17 +1,18 @@
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%global tardirname aaronsw-html2text-d9bf7d6
+%global tardirname aaronsw-html2text-c368b14
Name: python-html2text
-Version: 3.02
-Release: 3%{?dist}
+Version: 3.200.3
+Release: 1%{?dist}
Summary: Converts a page of HTML into clean, easy-to-read plain ASCII text
Group: Development/Languages
License: GPLv3
URL: http://www.aaronsw.com/2002/html2text/
-Source0: https://github.com/aaronsw/html2text/tarball/%{version}/%{name}-%{version}.tar.gz
+#Source0: https://github.com/aaronsw/html2text/tarball/%{version}/%{name}-%{version}.tar.gz
+Source0: aaronsw-html2text-3.02-77-gc368b14.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -37,6 +38,12 @@ echo Nothing to build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root $RPM_BUILD_ROOT
+# TODO: conflicts with package' html2text' obviously
+rm $RPM_BUILD_ROOT/usr/bin/html2text
+
+%check
+cd test
+PYTHONPATH=${RPM_BUILD_ROOT}%{python_sitelib} %{__python} run_tests.py
%clean
@@ -46,11 +53,13 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
+%doc COPYING
%changelog
-* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.02-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+* Fri Jan 13 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 3.200.3-1
+- TODO: decide on the new /usr/bin/html2text this one wants to install
+- update to 3.200.3
* Tue Apr 12 2011 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 3.02-2
- add disttag
diff --git a/sources b/sources
index 76b2c6e..7c8eba3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-916b36bb84b88b1d96584b84db872efc python-html2text-3.02.tar.gz
+5aab989207988e8ec1ebbf43ed1d84a4 aaronsw-html2text-3.02-77-gc368b14.tar.gz
More information about the scm-commits
mailing list