!4 sysget should generate debuginfo
From: @si-gui Reviewed-by: @overweight Signed-off-by: @overweight
This commit is contained in:
commit
a74a9dba3e
22
sysget-should-generate-debuginfo.patch
Normal file
22
sysget-should-generate-debuginfo.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 6f992c18c8a28c26a2a991206ea440f373b13156 Mon Sep 17 00:00:00 2001
|
||||
From: sunguoshuai <sunguoshuai@huawei.com>
|
||||
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
|
||||
|
||||
10
sysget.spec
10
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 <sunguoshuai@huawei.com> - 2.3.2-4
|
||||
- sysget should generate debuginfo
|
||||
|
||||
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 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 <myeuler@163.com>
|
||||
- Package init
|
||||
`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user