sysget should generate debuginfo
This commit is contained in:
parent
f801d3d725
commit
308f917620
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
|
Name: sysget
|
||||||
Version: 2.3
|
Version: 2.3
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: One package manager to rule them all
|
Summary: One package manager to rule them all
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: http://sysget.emilengler.com
|
URL: http://sysget.emilengler.com
|
||||||
Source0: https://github.com/emilengler/sysget/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
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++
|
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
|
%prep
|
||||||
%setup -q -n %{name}-%{version}/
|
%setup -q -n %{name}-%{version}/
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build
|
%make_build
|
||||||
@ -49,6 +49,9 @@ install -m0644 contrib/sysget.bash-completion %{buildroot}/%{_sysconfdir}/bash_c
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.3.2-3
|
||||||
- Completing build dependencies to fix gcc-c++ compiler missing error
|
- 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>
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
||||||
- Package init
|
- Package init
|
||||||
`
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user