libserverframe.spec: add debuginfo define

connection_manager
YuQing 2021-01-01 08:32:18 +08:00
parent f01231bc48
commit aeda468086
1 changed files with 4 additions and 2 deletions

View File

@ -1,10 +1,11 @@
%define LibserverframeDevel libserverframe-devel %define LibserverframeDevel libserverframe-devel
%define LibserverframeDebuginfo libserverframe-debuginfo
%define CommitVersion %(echo $COMMIT_VERSION) %define CommitVersion %(echo $COMMIT_VERSION)
Name: libserverframe Name: libserverframe
Version: 1.1.2 Version: 1.1.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: mc common framework library Summary: network framework library
License: AGPL v3.0 License: AGPL v3.0
Group: Arch/Tech Group: Arch/Tech
URL: http://github.com/happyfish100/libfastcommon/ URL: http://github.com/happyfish100/libfastcommon/
@ -15,6 +16,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libfastcommon-devel >= 1.0.46 BuildRequires: libfastcommon-devel >= 1.0.46
Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id
Requires: libfastcommon >= 1.0.46 Requires: libfastcommon >= 1.0.46
%description %description
common framework library common framework library
commit version: %{CommitVersion} commit version: %{CommitVersion}
@ -32,7 +34,7 @@ commit version: %{CommitVersion}
%setup -q %setup -q
%build %build
./make.sh ./make.sh clean && ./make.sh
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}