Enabledebug symbols
(cherry picked from commit 2dd92ea0c1bdc4e16da5def03df462bc8045a04e)
This commit is contained in:
parent
1057914586
commit
9a55dfd2ae
24
Enable-debug-symbols.patch
Normal file
24
Enable-debug-symbols.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From fe34b227b8987de3e999be900a9282e2c8e03c71 Mon Sep 17 00:00:00 2001
|
||||||
|
From: yanjianqing <yanjianqing@kylinos.cn>
|
||||||
|
Date: Wed, 17 Apr 2024 16:22:25 +0800
|
||||||
|
Subject: [PATCH] Enable debug symbols
|
||||||
|
|
||||||
|
---
|
||||||
|
Cargo.toml | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/Cargo.toml b/Cargo.toml
|
||||||
|
index b03c824..967e82d 100644
|
||||||
|
--- a/Cargo.toml
|
||||||
|
+++ b/Cargo.toml
|
||||||
|
@@ -5,3 +5,6 @@ members = [
|
||||||
|
"src/cli",
|
||||||
|
"src/clib",
|
||||||
|
]
|
||||||
|
+
|
||||||
|
+[profile.release]
|
||||||
|
+debug = true
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
||||||
|
|
||||||
@ -2,11 +2,12 @@
|
|||||||
%global __cargo_skip_build 0
|
%global __cargo_skip_build 0
|
||||||
Name: nispor
|
Name: nispor
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Unified interface for Linux network state querying
|
Summary: Unified interface for Linux network state querying
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/nispor/nispor
|
URL: https://github.com/nispor/nispor
|
||||||
Source: https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/nispor/nispor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
Patch0: Enable-debug-symbols.patch
|
||||||
ExclusiveArch: aarch64 x86_64 riscv64 loongarch64
|
ExclusiveArch: aarch64 x86_64 riscv64 loongarch64
|
||||||
BuildRequires: make pkg-config python3-devel rust-packaging systemd-devel openEuler-rpm-config
|
BuildRequires: make pkg-config python3-devel rust-packaging systemd-devel openEuler-rpm-config
|
||||||
|
|
||||||
@ -99,6 +100,9 @@ rm -rf %{buildroot}%{cargo_registry}/%{name}-%{version}/
|
|||||||
%{_libdir}/pkgconfig/nispor.pc
|
%{_libdir}/pkgconfig/nispor.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 17 2024 yanjianqing <yanjianqing@kylinos.cn> - 1.0.1-4
|
||||||
|
- Enable debug symbols
|
||||||
|
|
||||||
* Mon Feb 26 2024 doupengda <doupengda@loongson.cn> - 1.0.1-3
|
* Mon Feb 26 2024 doupengda <doupengda@loongson.cn> - 1.0.1-3
|
||||||
- Add loongarch64 to ExclusiveArch
|
- Add loongarch64 to ExclusiveArch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user