15
0

- Update to 3.101:

- Sorry, no changelog atm.
- Regenerate spec file with py2pack;
- Bzip2 source code.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=5
This commit is contained in:
Alexandre Rogoski
2011-11-09 19:00:18 +00:00
committed by Git OBS Bridge
parent 9a52d95968
commit 76f704251a
4 changed files with 21 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc7886dd64efc41edd08ad2a4149b3606fffb9569c2f82796728427fe27c90d1
size 5376

3
html2text-3.101.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1684fdfe3c690f72a6be8049b8c4e36763fd9211651711a86746ae18385b9ac5
size 7756

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Nov 9 18:02:15 UTC 2011 - alexandre@exatati.com.br
- Update to 3.101:
- Sorry, no changelog atm.
- Regenerate spec file with py2pack;
- Bzip2 source code.
-------------------------------------------------------------------
Wed Sep 21 09:28:46 UTC 2011 - saschpe@suse.de
@@ -7,6 +15,7 @@ Wed Sep 21 09:28:46 UTC 2011 - saschpe@suse.de
- Fixed non-executable script rpmlint warning
-------------------------------------------------------------------
Tue Feb 15 23:33:53 UTC 2011 - alexandre@exatati.com.br
- Update to 3.01.

View File

@@ -15,15 +15,17 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-html2text
Version: 3.02
Version: 3.101
Release: 0
Url: http://www.aaronsw.com/2002/html2text/
Summary: Turn HTML into equivalent Markdown-structured text
License: GPL-3.0
License: GNU GPL 3
Group: Development/Languages/Python
Source: html2text-%{version}.tar.gz
Source: html2text-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
@@ -34,22 +36,22 @@ BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
Turn HTML into equivalent Markdown-structured text.
%prep
%setup -n html2text-%{version}
sed -i "1d" html2text.py # Fix non-executable script
%setup -q -n html2text-%{version}
%build
python setup.py build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%python_sitelib/*
%{python_sitelib}/*
%changelog