diff --git a/sysget-should-generate-debuginfo.patch b/sysget-should-generate-debuginfo.patch new file mode 100644 index 0000000000000000000000000000000000000000..12146793fd64e51c1ec8c52f248600613a7c259c --- /dev/null +++ b/sysget-should-generate-debuginfo.patch @@ -0,0 +1,22 @@ +From 6f992c18c8a28c26a2a991206ea440f373b13156 Mon Sep 17 00:00:00 2001 +From: sunguoshuai +Date: Thu, 9 Sep 2021 14:43:46 +0800 +Subject: [PATCH] sysget should generate debuginfo + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 80c8fe5..c3aa86b 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,4 @@ +-FLAGS=-std=c++11 -Wall -Wextra -Wpedantic ++FLAGS=-std=c++11 -Wall -Wextra -Wpedantic -g + INSTALLDEST=/usr/local/bin/sysget + CCP=g++ + +-- +2.30.0 + diff --git a/sysget.spec b/sysget.spec index 72bef59b3cfa32920ad1971a46ecd7b34bdce3c9..ebfc8c5a20ea315243962e805d7d71663e367b2b 100644 --- a/sysget.spec +++ b/sysget.spec @@ -1,12 +1,11 @@ -#%global debug_package %{nil} - Name: sysget Version: 2.3 -Release: 3 +Release: 4 Summary: One package manager to rule them all License: GPLv3 URL: http://sysget.emilengler.com Source0: https://github.com/emilengler/sysget/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch1: sysget-should-generate-debuginfo.patch BuildRequires: gcc autoconf automake make gcc-c++ @@ -17,6 +16,7 @@ The syntax is mostly same with apt so it should be easy to use. %prep %setup -q -n %{name}-%{version}/ +%patch1 -p1 %build %make_build @@ -49,6 +49,9 @@ install -m0644 contrib/sysget.bash-completion %{buildroot}/%{_sysconfdir}/bash_c %changelog +* Thu 09 Sep 2021 sunguoshuai - 2.3.2-4 +- sysget should generate debuginfo + * Mon May 31 2021 huanghaitao - 2.3.2-3 - Completing build dependencies to fix gcc-c++ compiler missing error @@ -57,4 +60,3 @@ install -m0644 contrib/sysget.bash-completion %{buildroot}/%{_sysconfdir}/bash_c * Sun Mar 29 2020 Wei Xiong - Package init -`