[satyr/f20] New upstream version

Jakub Filak jfilak at fedoraproject.org
Thu Sep 12 11:45:44 UTC 2013


commit 946db70772f3339d1cf3334644fb134d1341765d
Author: Jakub Filak <jfilak at redhat.com>
Date:   Thu Sep 12 11:16:06 2013 +0200

    New upstream version
    
    Enrich koops uReport data with koops text and kernel version.
    Improve koops modules handling.
    Added support for json de/serialization of reports and stacktraces.
    Library version number increased, as the interface changed since the last release

 .gitignore |    1 +
 satyr.spec |   43 +++++++++++++++++++++++++++++++++++++++++--
 sources    |    2 +-
 3 files changed, 43 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7e69fcc..d6fe0dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /satyr-0.5.tar.xz
 /satyr-0.6.tar.xz
 /satyr-0.7.tar.xz
+/satyr-0.9.tar.xz
diff --git a/satyr.spec b/satyr.spec
index 38b02b2..8a85168 100644
--- a/satyr.spec
+++ b/satyr.spec
@@ -1,7 +1,14 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
+# rhel6's python-sphinx cannot build manual pages
+%if 0%{?rhel} && 0%{?rhel} <= 6
+  %define enable_python_manpage 0
+%else
+  %define enable_python_manpage 1
+%endif
+
 Name: satyr
-Version: 0.7
+Version: 0.9
 Release: 1%{?dist}
 Summary: Tools to create anonymous, machine-friendly problem reports
 Group: System Environment/Libraries
@@ -12,6 +19,19 @@ BuildRequires: python2-devel
 BuildRequires: elfutils-devel, elfutils-libelf-devel, binutils-devel
 BuildRequires: rpm-devel
 
+# We're going to switch to elfutils unwinder once it's available
+%if 0%{?rhel}
+%else
+# libunwind exists only on selected arches
+%ifarch %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
+BuildRequires: libunwind-devel >= 1.1
+%endif
+%endif
+
+%if %{?enable_python_manpage}
+BuildRequires: python-sphinx
+%endif
+
 %description
 Satyr is a library that can be used to create and process microreports.
 Microreports consist of structured data suitable to be analyzed in a fully
@@ -41,7 +61,12 @@ Python bindings for %{name}.
 %setup -q
 
 %build
-%configure --disable-static
+%configure \
+%if ! %{?enable_python_manpage}
+        --disable-python-manpage \
+%endif
+        --disable-static
+
 make %{?_smp_mflags}
 
 %install
@@ -71,7 +96,21 @@ make check
 %dir %{python_sitearch}/%{name}
 %{python_sitearch}/%{name}/*
 
+%if %{?enable_python_manpage}
+%{_mandir}/man3/satyr-python.3*
+%endif
+
 %changelog
+* Wed Sep 11 2013 Jakub Filak <jfilak at redhat.com> 0.9-1
+- New upstream version
+  - Enrich koops uReport data with koops text and kernel version.
+  - Improve koops modules handling.
+
+* Wed Aug 28 2013 Richard Marko<rmarko at redhat.com> 0.8-1
+- New upstream version
+  - Added support for json de/serialization of reports and stacktraces.
+  - Library version number increased, as the interface changed since the last release
+
 * Mon Aug 26 2013 Martin Milata <mmilata at redhat.com> 0.7-1
 - New upstream version
   - Fix couple of crashes (#997076, #994747)
diff --git a/sources b/sources
index ad16e8c..b497289 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4442705d594b2a8553d93d898d81122e  satyr-0.7.tar.xz
+d1d58dfc3896f35dd7be00f1ab4a6b7c  satyr-0.9.tar.xz


More information about the scm-commits mailing list