[satyr/el6: 2/2] New upstream version

Martin Milata mmilata at fedoraproject.org
Mon Jul 8 13:43:59 UTC 2013


commit 5ee80d2fe729c6c170aca69967327a54e7d2c938
Author: Martin Milata <mmilata at redhat.com>
Date:   Mon Jul 8 15:12:16 2013 +0200

    New upstream version
    
    - Added features needed by ABRT
    - Support for uReport2
    - Major C and Python API changes

 .gitignore                  |    1 +
 satyr-0.4-py26_compat.patch |   13 +++++++++++++
 satyr.spec                  |   13 +++++++++++--
 sources                     |    2 +-
 4 files changed, 26 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a5a7406..d4cde5c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /satyr-0.2.tar.xz
 /satyr-0.3.tar.xz
+/satyr-0.4.tar.xz
diff --git a/satyr-0.4-py26_compat.patch b/satyr-0.4-py26_compat.patch
new file mode 100644
index 0000000..a2f8ac4
--- /dev/null
+++ b/satyr-0.4-py26_compat.patch
@@ -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']))
+ 
diff --git a/satyr.spec b/satyr.spec
index 560c2df..4c85653 100644
--- a/satyr.spec
+++ b/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 at 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
 
diff --git a/sources b/sources
index 0b64cee..8bcd3e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-cf760a025b9b479b18781b5dc166856a  satyr-0.3.tar.xz
+a38e42b6cb3ff6f67f6f755dd9be6e75  satyr-0.4.tar.xz


More information about the scm-commits mailing list