]> git.pld-linux.org Git - packages/libreport.git/commitdiff
- updated to 2.1.5 auto/th/libreport-2.1.5-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Jul 2013 14:48:54 +0000 (16:48 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Jul 2013 14:48:54 +0000 (16:48 +0200)
- updated format-security patch

format-security.patch
libreport.spec

index 557b2a3504ff0920965abe788a33bd42de9dac00..68302062c8d189ef1bb25ed03c8c9035797f1373 100644 (file)
@@ -1,14 +1,14 @@
---- libreport-2.0.16/src/plugins/ureport.c~    2012-09-25 09:40:58.000000000 +0200
-+++ libreport-2.0.16/src/plugins/ureport.c     2012-10-15 12:54:26.063200601 +0200
-@@ -383,7 +383,7 @@
+--- libreport-2.1.5/src/plugins/ureport.c.orig 2013-07-25 15:39:39.289878178 +0200
++++ libreport-2.1.5/src/plugins/ureport.c      2013-07-25 15:42:58.916536467 +0200
+@@ -476,7 +476,7 @@
          {
              log(_("This problem has already been reported."));
              if (response->message)
 -                log(response->message);
 +                log("%s", response->message);
-             log("THANKYOU");
+             ret = EXIT_STOP_EVENT_RUN;
          }
-     }
 --- libreport-2.0.16/src/gui-wizard-gtk/wizard.c~      2012-10-10 18:11:04.000000000 +0200
 +++ libreport-2.0.16/src/gui-wizard-gtk/wizard.c       2012-10-15 12:55:58.123197354 +0200
 @@ -281,7 +281,7 @@
index 831c130e7e917bf9de44fd1c560ac4bb5cd71c12..9a3eaded34d1c1eb3352dfb0549f7b14292f76e1 100644 (file)
@@ -1,16 +1,20 @@
+#
+# Conditional build:
+%bcond_with    satyr   # satyr instead of btparser
+#
 Summary:       Generic library for reporting various problems
 Summary(pl.UTF-8):     Ogólna biblioteka do zgłaszania różnych problemów
 Name:          libreport
-Version:       2.1.3
-Release:       2
+Version:       2.1.5
+Release:       1
 License:       GPL v2+
 Group:         Libraries
 Source0:       https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
-# Source0-md5: bae83bebcb2601707ac780c53d16e7fe
+# Source0-md5: 50c527d0c642dc21fa5dd3ef43b0c886
 Patch0:                format-security.patch
 URL:           https://fedorahosted.org/abrt/
 BuildRequires: asciidoc
-BuildRequires: btparser-devel
+%{!?with_satyr:BuildRequires:  btparser-devel}
 BuildRequires: curl-devel
 BuildRequires: dbus-devel
 BuildRequires: desktop-file-utils
@@ -27,6 +31,7 @@ BuildRequires:        newt-devel
 BuildRequires: nss-devel
 BuildRequires: pkgconfig
 BuildRequires: python-devel
+%{?with_satyr:BuildRequires:   satyr-devel}
 BuildRequires: xmlrpc-c-client-devel
 BuildRequires: xmlrpc-c-devel
 BuildRequires: xmlto
@@ -73,11 +78,12 @@ Summary(pl.UTF-8):  Pliki nagłówkowe biblioteki libreport-web
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 Requires:      %{name}-web = %{version}-%{release}
-Requires:      btparser-devel
+%{!?with_satyr:Requires:       btparser-devel}
 Requires:      curl-devel
 Requires:      json-c-devel
 Requires:      libproxy-devel
 Requires:      libxml2-devel >= 2
+%{?with_satyr:Requires:        satyr-devel}
 Requires:      xmlrpc-c-client-devel
 Requires:      xmlrpc-c-devel
 
@@ -301,7 +307,8 @@ zgłaszania błędów w systemach RHEL.
 
 %build
 %configure \
-       --disable-silent-rules
+       --disable-silent-rules \
+       %{?with_satyr:--with-satyr}
 %{__make}
 
 %install
@@ -355,6 +362,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/libreport/dump_dir.h
 %{_includedir}/libreport/event_config.h
 %{_includedir}/libreport/file_obj.h
+%{_includedir}/libreport/libreport_types.h
 %{_includedir}/libreport/problem_data.h
 %{_includedir}/libreport/report.h
 %{_includedir}/libreport/run_event.h
@@ -464,6 +472,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_sysconfdir}/libreport/workflows/workflow_AnacondaFedora.xml
 %{_sysconfdir}/libreport/workflows/workflow_AnacondaUpload.xml
+%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_anaconda.conf
+%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_anaconda.conf
 %config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
 
 %files fedora
This page took 0.041857 seconds and 4 git commands to generate.