parent
871cfb2bb2
commit
5cf2ba090a
38
0001-spec-Use-autoreconf-in-build.patch
Normal file
38
0001-spec-Use-autoreconf-in-build.patch
Normal 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
|
||||
|
10
satyr.spec
10
satyr.spec
@ -17,11 +17,14 @@
|
||||
|
||||
Name: satyr
|
||||
Version: 0.35
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Tools to create anonymous, machine-friendly problem reports
|
||||
License: GPLv2+
|
||||
URL: https://github.com/abrt/satyr
|
||||
Source0: https://github.com/abrt/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: 0001-spec-Use-autoreconf-in-build.patch
|
||||
|
||||
%if %{with python3}
|
||||
BuildRequires: python3-devel
|
||||
%endif # with python3
|
||||
@ -77,6 +80,8 @@ Python 3 bindings for %{name}.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
autoreconf
|
||||
|
||||
%configure \
|
||||
%if %{without python3}
|
||||
--without-python3 \
|
||||
@ -129,6 +134,9 @@ make check|| {
|
||||
%endif
|
||||
|
||||
%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
|
||||
- New upstream version
|
||||
- Fix leaks in koops stacktrace- and report-handling code
|
||||
|
Loading…
Reference in New Issue
Block a user