diff --git a/0001-Increase-more-standard-writing.patch b/0001-Increase-more-standard-writing.patch new file mode 100644 index 0000000000000000000000000000000000000000..61648fe360cb99491b2e23fad82432e7dcdee38d --- /dev/null +++ b/0001-Increase-more-standard-writing.patch @@ -0,0 +1,25 @@ +From 96f70d840282101fc322c3ca5ab24cf92fd4e0b0 Mon Sep 17 00:00:00 2001 +From: shen-chenbang <1944340417@qq.com> +Date: Wed, 25 Sep 2024 13:37:03 +0800 +Subject: [PATCH] Increase more standard writing + +--- + tests/dump_core.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/dump_core.c b/tests/dump_core.c +index 82314e1..001de57 100644 +--- a/tests/dump_core.c ++++ b/tests/dump_core.c +@@ -15,7 +15,7 @@ + + static char const *prefix = "/tmp/satyr.core"; + +-#if __clang__ ++#if defined(__clang__) + __attribute__((optnone)) + #else + __attribute__((optimize((0)))) +-- +2.45.2.windows.1 + diff --git a/satyr.spec b/satyr.spec index 36007fdcecf72414748069603f7b452411fa19d1..bbafae2b31b154e512b5864698e15d541d177a39 100644 --- a/satyr.spec +++ b/satyr.spec @@ -2,18 +2,21 @@ Name: satyr Version: 0.43 -Release: 1 +Release: 2 Summary: Tools to create anonymous, machine-friendly problem reports License: GPLv2+ URL: https://github.com/abrt/satyr Source0: https://github.com/abrt/%{name}/archive/%{version}.tar.gz +Patch1:0001-Increase-more-standard-writing.patch + Requires: json-c nettle glib2 >= 2.43.4 BuildRequires: elfutils-devel elfutils-libelf-devel binutils-devel rpm-devel BuildRequires: doxygen pkgconfig automake gcc-c++ git libtool BuildRequires: pkgconfig(json-c) nettle nettle-devel gperf glib2-devel # we should require gdb for test suite BuildRequires: gdb +BuildRequires: rpmdevtools %if %{with_python3} BuildRequires: python3-devel python3-sphinx @@ -61,6 +64,7 @@ python3 for satyr %define __scm_apply_git(qp:m:) %{__git} am %autosetup -n %{name}-%{version} -p1 sed -i 's/dist_doc_DATA = README.md//' Makefile.am +./autogen.sh sysdeps --install bash autogen.sh %build @@ -103,6 +107,9 @@ make check|| { %{_mandir}/* %changelog +* Tue Aug 27 2024 shenchenbang <1944340417@qq.com> - 0.43-2 +- Fix Increase-more-standard-writing + * Fri Mar 01 2024 wangqia - 0.43-1 - update to 0.43