New version.

- Add test for handling unicode strings and files (vpodzime)
- Read files as UTF-8 and ignore errors (#874250) (vpodzime)
- Add %check section to the spec file (vpodzime)
- Fix tests (vpodzime)
This commit is contained in:
Vratislav Podzimek 2012-11-15 14:06:16 +01:00
parent 355afd2676
commit 7394e64971
3 changed files with 17 additions and 3 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ python-meh-0.13.tar.gz
/python-meh-0.16.tar.gz /python-meh-0.16.tar.gz
/python-meh-0.17.tar.gz /python-meh-0.17.tar.gz
/python-meh-0.18.tar.gz /python-meh-0.18.tar.gz
/python-meh-0.19.tar.gz

View File

@ -1,9 +1,11 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define libreportver 2.0.11-1
Summary: A python library for handling exceptions Summary: A python library for handling exceptions
Name: python-meh Name: python-meh
Url: http://git.fedorahosted.org/git/?p=python-meh.git Url: http://git.fedorahosted.org/git/?p=python-meh.git
Version: 0.18 Version: 0.19
Release: 1%{?dist} Release: 1%{?dist}
# This is a Red Hat maintained package which is specific to # This is a Red Hat maintained package which is specific to
# our distribution. Thus the source is only available from # our distribution. Thus the source is only available from
@ -18,8 +20,10 @@ Group: System Environment/Libraries
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, gettext, python-setuptools-devel, intltool BuildRequires: python-devel, gettext, python-setuptools-devel, intltool
BuildRequires: dbus-python, libreport-gtk >= %{libreportver}, libreport-newt >= %{libreportver}
Requires: python, dbus-python, pygobject3, gtk3 Requires: python, dbus-python, pygobject3, gtk3
Requires: openssh-clients, rpm-python, yum, newt-python, libreport-gtk >= 2.0.11-1, libreport-newt >= 2.0.11-1 Requires: openssh-clients, rpm-python, yum, newt-python
Requires: libreport-gtk >= %{libreportver}, libreport-newt >= %{libreportver}
%description %description
The python-meh package is a python library for handling, saving, and reporting The python-meh package is a python library for handling, saving, and reporting
@ -31,6 +35,9 @@ exceptions.
%build %build
make make
%check
make test
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
make DESTDIR=%{buildroot} install make DESTDIR=%{buildroot} install
@ -46,6 +53,12 @@ rm -rf %{buildroot}
%{_datadir}/python-meh %{_datadir}/python-meh
%changelog %changelog
* Wed Nov 14 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.19-1
- Add test for handling unicode strings and files (vpodzime)
- Read files as UTF-8 and ignore errors (#874250) (vpodzime)
- Add %check section to the spec file (vpodzime)
- Fix tests (vpodzime)
* Thu Oct 25 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.18-1 * Thu Oct 25 2012 Vratislav Podzimek <vpodzime@redhat.com> - 0.18-1
- Handle tracebacks with no stack (#866441) (vpodzime) - Handle tracebacks with no stack (#866441) (vpodzime)
- Parse component name correctly (#866526) (vpodzime) - Parse component name correctly (#866526) (vpodzime)

View File

@ -1 +1 @@
a48201aecf3de570a9e31c89189abf4b python-meh-0.18.tar.gz 1e26d96a4f645c41a23f4c4531db608f python-meh-0.19.tar.gz