From e10dd2a85e4f59b43acf6c6cadbc4d8930c8bad9 Mon Sep 17 00:00:00 2001 From: Tie Liu Date: Tue, 11 Jul 2023 21:15:23 +0800 Subject: [PATCH] add all static lib in devel subpackage --- native-turbo.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/native-turbo.spec b/native-turbo.spec index 5312b17..40aa4ee 100644 --- a/native-turbo.spec +++ b/native-turbo.spec @@ -18,8 +18,14 @@ BuildRequires: ncurses-devel sysboost can merge ELF files to improve performance. # Add devel subpackage -%package tools +%package devel Summary: Development files for %{name} + +%description devel +The %{name}-devel package contains some tools of sysboost. + +%package tools +Summary: Some tools for %{name} Requires: xz, binutils %description tools @@ -63,6 +69,8 @@ install -m 755 $RPM_BUILD_DIR/objreloc $RPM_BUILD_ROOT%{_bindir}/ %check %files + +%files devel %{_libdir}/* /usr/include/*