From 7f9967b22ea5cfd38891b4db35f1b908d0618c08 Mon Sep 17 00:00:00 2001 From: Xinglu Yee <2520865+yixinglu@users.noreply.github.com> Date: Mon, 16 Sep 2019 13:35:24 +0800 Subject: [PATCH] Rename base rpm package (#928) --- package/nebula.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/package/nebula.spec b/package/nebula.spec index 3867ae3d7d9..21df8fd5145 100755 --- a/package/nebula.spec +++ b/package/nebula.spec @@ -40,6 +40,11 @@ make -j2 rm -rf %{buildroot} make install DESTDIR=%{buildroot} +%package base +Summary: nebula base package +Group: Applications/Databases +%description base + %package metad Summary: nebula meta server daemon Group: Applications/Databases @@ -58,10 +63,10 @@ Group: Applications/Databases %description storaged storaged is a daemon for storage all data -%package nebula +%package console Summary: nebula console client Group: Applications/Databases -%description nebula +%description console %package storage_perf Summary: tool for storage @@ -71,7 +76,7 @@ Group: Applications/Databases # the files include exe, config file, scripts # base rpm include files -%files +%files base %attr(0755,root,root) %{_datadir}/nebula.service %attr(0755,root,root) %{_datadir}/utils.sh %attr(0755,root,root) %{_datadir}/services.sh @@ -116,7 +121,7 @@ if [[ ! -f %{_install_dir}/etc/nebula-storaged.conf ]]; then fi -%files nebula +%files console %attr(0755,root,root) %{_bindir}/nebula %attr(0644,root,root) %{_resourcesdir}/completion.json @@ -131,4 +136,3 @@ fi %undefine _missing_build_ids_terminate_build %changelog -