Signed-off-by: Michal Fabik <mfabik@redhat.com>
This commit is contained in:
Michal Fabik 2021-01-11 15:18:24 +01:00
parent 871cfb2bb2
commit 5cf2ba090a
2 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,38 @@
From 53159764cbdd4f5dc02bcabbc7e775b9c5cc1a96 Mon Sep 17 00:00:00 2001
From: Michal Fabik <mfabik@redhat.com>
Date: Mon, 11 Jan 2021 12:06:49 +0100
Subject: [PATCH] spec: Use autoreconf in %build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This way, when stuff is fixed in automake, the source tarball does not
need to be re-generated in upstream to use the fix.
Resolves rhbz#1898063
Patch contributed by Miro Hrončok <miro@hroncok.cz>
Lifted from e17dd1d8 in libreport
Signed-off-by: Michal Fabik <mfabik@redhat.com>
---
Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 5aa296e..bebbc30 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,7 +10,9 @@ satyr_SOURCES = satyr.c
satyr_LDADD = lib/libsatyr.la
man_MANS = satyr.1
-EXTRA_DIST = satyr.1.in
+EXTRA_DIST = \
+ satyr.1.in \
+ satyr-version
dist_doc_DATA = README.md
--
2.29.2

View File

@ -17,11 +17,14 @@
Name: satyr Name: satyr
Version: 0.35 Version: 0.35
Release: 1%{?dist} Release: 2%{?dist}
Summary: Tools to create anonymous, machine-friendly problem reports Summary: Tools to create anonymous, machine-friendly problem reports
License: GPLv2+ License: GPLv2+
URL: https://github.com/abrt/satyr URL: https://github.com/abrt/satyr
Source0: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-spec-Use-autoreconf-in-build.patch
%if %{with python3} %if %{with python3}
BuildRequires: python3-devel BuildRequires: python3-devel
%endif # with python3 %endif # with python3
@ -77,6 +80,8 @@ Python 3 bindings for %{name}.
%setup -q %setup -q
%build %build
autoreconf
%configure \ %configure \
%if %{without python3} %if %{without python3}
--without-python3 \ --without-python3 \
@ -129,6 +134,9 @@ make check|| {
%endif %endif
%changelog %changelog
* Mon Jan 11 2021 Michal Fabik <mfabik@redhat.com> - 0.35-2
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1898063
* Tue Dec 01 2020 Michal Fabik <mfabik@redhat.com> 0.35-1 * Tue Dec 01 2020 Michal Fabik <mfabik@redhat.com> 0.35-1
- New upstream version - New upstream version
- Fix leaks in koops stacktrace- and report-handling code - Fix leaks in koops stacktrace- and report-handling code