building rpm package

This commit is contained in:
zhengshuxin 2023-03-13 11:23:42 +08:00
parent 9f6df1f533
commit f310e8f471
2 changed files with 4 additions and 4 deletions

View File

@ -13,14 +13,14 @@ Source: http://example.com/%{name}-%{version}.tar.gz
%description
One advanced C/C++ library for Linux/Mac/FreeBSD/Solaris(x86)/Windows/Android/IOS http://blog.csdn.net/zsxxsz/.
One advanced C/C++ library for Linux/Mac/FreeBSD/Solaris(x86)/Windows/Android/IOS https://acl-dev.cn/.
%prep
%setup -q
%build
make -j 4
make -C lib_fiber
make -j 4 build_one
make -j 4 -C lib_fiber
%install

View File

@ -24,7 +24,7 @@ acl master framework
%define HAS_SYSTEMD %( if [ -f /usr/lib/systemd/systemd -a -d /usr/lib/systemd/system ]; then echo "1" ; else echo "0"; fi )
make -j 4
make -C lib_fiber
make -j 4 -C lib_fiber
%install
mkdir -p $RPM_BUILD_ROOT/opt/soft/services/