New upstream version
- Added features needed by ABRT - Support for uReport2 - Major C and Python API changes
This commit is contained in:
parent
997d39ed68
commit
5ee80d2fe7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/satyr-0.2.tar.xz
|
||||
/satyr-0.3.tar.xz
|
||||
/satyr-0.4.tar.xz
|
||||
|
||||
13
satyr-0.4-py26_compat.patch
Normal file
13
satyr-0.4-py26_compat.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/tests/python/koops.py b/tests/python/koops.py
|
||||
index f1de360..4922c61 100755
|
||||
--- a/tests/python/koops.py
|
||||
+++ b/tests/python/koops.py
|
||||
@@ -40,7 +40,7 @@ class TestKerneloops(BindingsTestCase):
|
||||
contents = load_input_contents('../kerneloopses/rhbz-827868-modified')
|
||||
tainted_koops = satyr.Kerneloops(contents)
|
||||
|
||||
- true_flags = { f for (f, v) in tainted_koops.taint_flags.items() if v == True}
|
||||
+ true_flags = set([f for (f, v) in tainted_koops.taint_flags.items() if v == True])
|
||||
self.assertEqual(true_flags,
|
||||
set(['module_proprietary', 'page_release', 'died_recently', 'module_out_of_tree']))
|
||||
|
||||
13
satyr.spec
13
satyr.spec
@ -1,13 +1,14 @@
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: satyr
|
||||
Version: 0.3
|
||||
Release: 2%{?dist}
|
||||
Version: 0.4
|
||||
Release: 1%{?dist}
|
||||
Summary: Tools to create anonymous, machine-friendly problem reports
|
||||
Group: System Environment/Libraries
|
||||
License: GPLv2+
|
||||
URL: https://github.com/abrt/satyr
|
||||
Source0: https://fedorahosted.org/released/abrt/satyr-%{version}.tar.xz
|
||||
Patch0: satyr-0.4-py26_compat.patch
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: elfutils-devel, elfutils-libelf-devel, binutils-devel
|
||||
BuildRequires: rpm-devel
|
||||
@ -48,6 +49,7 @@ Python bindings for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -81,6 +83,13 @@ make check
|
||||
%{python_sitearch}/%{name}/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 08 2013 Martin Milata <mmilata@redhat.com> 0.4-1
|
||||
- New upstream version
|
||||
- Added features needed by ABRT
|
||||
- Support for uReport2
|
||||
- Major C and Python API changes
|
||||
- Patch for python-2.6 compatibility
|
||||
|
||||
* Tue Apr 02 2013 Dan Horák <dan[at]danny.cz> 0.3-2
|
||||
- libunwind exists only on selected arches
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user