[libreport/f19] New upstream release 2.2.0

Jakub Filak jfilak at fedoraproject.org
Wed Mar 5 21:19:55 UTC 2014


commit 3a5a81ebda79211b9366e49957404e27bd6977e2
Author: Jakub Filak <jfilak at redhat.com>
Date:   Wed Mar 5 13:14:08 2014 +0100

    New upstream release 2.2.0

 ...LOG_FACILITY-when-logging-through-journal.patch |   30 -
 ...guration-load-default-values-from-configu.patch |   70 -
 0004-testsuite-xml-translations.patch              |  168 --
 ...-testsuite-complex-testing-of-xml-locales.patch |  105 -
 ...n-properly-handle-locales-with-encoding-s.patch |   89 -
 0007-Fix-typo-in-error-message.patch               |   26 -
 ...access.so-to-the-list-of-ignored-keywords.patch |   23 -
 0010-Translation-updates.patch                     | 2525 --------------------
 0011-Fix-type-in-error-message.patch               |   26 -
 libreport.spec                                     |   55 +-
 sources                                            |    2 +-
 11 files changed, 42 insertions(+), 3077 deletions(-)
---
diff --git a/libreport.spec b/libreport.spec
index 1f7e520..e8c7a34 100644
--- a/libreport.spec
+++ b/libreport.spec
@@ -6,33 +6,25 @@
 
 Summary: Generic library for reporting various problems
 Name: libreport
-Version: 2.1.12
-Release: 3%{?dist}
+Version: 2.2.0
+Release: 1%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: https://fedorahosted.org/abrt/
 Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
 Source1: autogen.sh
 
-Patch0002:     0002-Provide-SYSLOG_FACILITY-when-logging-through-journal.patch
-Patch0003:     0003-event-configuration-load-default-values-from-configu.patch
-Patch0004:     0004-testsuite-xml-translations.patch
-Patch0005:     0005-testsuite-complex-testing-of-xml-locales.patch
-Patch0006:     0006-localization-properly-handle-locales-with-encoding-s.patch
-Patch0007:     0007-Fix-typo-in-error-message.patch
-Patch0009:     0009-add-libpciaccess.so-to-the-list-of-ignored-keywords.patch
-Patch0010:     0010-Translation-updates.patch
-Patch0011:     0011-Fix-type-in-error-message.patch
-
-# '%%autosetup -S git' -> git
+# git is need for '%%autosetup -S git' which automatically applies all the
+# patches above. Please, be aware that the patches must be generated
+# by 'git format-patch'
 BuildRequires: git
 
 BuildRequires: dbus-devel
 BuildRequires: gtk3-devel
 BuildRequires: curl-devel
 BuildRequires: desktop-file-utils
-BuildRequires: xmlrpc-c-devel
 BuildRequires: python-devel
+BuildRequires: python3-devel
 BuildRequires: gettext
 BuildRequires: libxml2-devel
 BuildRequires: libtar-devel
@@ -45,6 +37,8 @@ BuildRequires: xmlto
 BuildRequires: newt-devel
 BuildRequires: libproxy-devel
 BuildRequires: satyr-devel >= %{satyr_ver}
+
+BuildRequires: xmlrpc-c-devel
 BuildRequires: doxygen
 BuildRequires: systemd-devel
 BuildRequires: augeas-devel
@@ -110,6 +104,14 @@ Requires: libreport-plugin-rhtsupport = %{version}-%{release}
 %description python
 Python bindings for report-libs.
 
+%package python3
+Summary: Python 3 bindings for report-libs
+Group: System Environment/Libraries
+Requires: libreport = %{version}-%{release}
+
+%description python3
+Python 3 bindings for report-libs.
+
 %package cli
 Summary: %{name}'s command line interface
 Group: User Interface/Desktops
@@ -314,6 +316,12 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
 %find_lang %{name}
+# Remove byte-compiled python files generated by automake.
+# automake uses system's python for all *.py files, even
+# for those which needs to be byte-compiled with different
+# version (python2/python3).
+# rpm can do this work and use the appropriate python version.
+find $RPM_BUILD_ROOT -name "*.py[co]" -delete
 
 # remove all .la and .a files
 find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
@@ -331,6 +339,7 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
 rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraCCpp.xml
 rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraKerneloops.xml
 rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraPython.xml
+rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraPython3.xml
 rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraVmcore.xml
 rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraXorg.xml
 rm -f $RPM_BUILD_ROOT/%{_datadir}/libreport/workflows/workflow_FedoraLibreport.xml
@@ -456,6 +465,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{python_sitearch}/report/*
 %{python_sitearch}/reportclient/*
 
+%files python3
+%defattr(-,root,root,-)
+%{python3_sitearch}/report/*
+
 %files cli
 %defattr(-,root,root,-)
 %{_bindir}/report-cli
@@ -528,6 +541,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_libreport.conf
 %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf
 %{_datadir}/%{name}/events/report_Bugzilla.xml
+%{_datadir}/%{name}/events/watch_Bugzilla.xml
 %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf
 %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf
 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml
@@ -574,6 +588,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml
 %{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml
 %{_datadir}/%{name}/workflows/workflow_FedoraPython.xml
+%{_datadir}/%{name}/workflows/workflow_FedoraPython3.xml
 %{_datadir}/%{name}/workflows/workflow_FedoraVmcore.xml
 %{_datadir}/%{name}/workflows/workflow_FedoraXorg.xml
 %{_datadir}/%{name}/workflows/workflow_FedoraLibreport.xml
@@ -632,6 +647,18 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Wed Mar 05 2014 Jakub Filak <jfilak at redhat.com> 2.2.0-1
+- python: build python api for py3
+- Bugzilla: fedora_contrib_private group ID for the private bugs
+- remove invalid bytes from 'sv' strings
+- client API: return empty string instead of NULL
+- introduce 'watch_Bugzilla' event
+- ignored words: add SSH_ASKPASS words
+- introduce import-event-options in xml event definitions
+- correct name of RH Customer Portal
+- Fix typos in error messages
+- Translation updates
+
 * Tue Feb 18 2014 Jakub Filak <jfilak at redhat.com> 2.1.12-3
 - fix a pair of typos in error messages
 - add libpciaccess.so to the list of ignored keywords
diff --git a/sources b/sources
index 106b74b..ee61e43 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3c563d8f9d5564a825f94f17af9c5508  libreport-2.1.12.tar.gz
+09af2b13375ed2d6288b86ce6de8b182  libreport-2.2.0.tar.gz


More information about the scm-commits mailing list