Build rpm for CentOS8.x

This commit is contained in:
root 2022-07-13 18:09:10 +08:00
parent 774a0ac8af
commit 0f8e3cd676
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@ tar:
libs: tar
@mkdir -p {BUILD,BUILDROOT,SRPMS,SPECS}
@rpmbuild --define "_topdir ${PWD}" --define "_sourcedir ${PWD}" --define "_rpmdir ${PWD}" -bb $(PKG_NAME).spec
@rpmbuild --define "_topdir ${PWD}" --define "_sourcedir ${PWD}" --define "_rpmdir ${PWD}" --nodebuginfo -bb $(PKG_NAME).spec
@echo Binary PRM for $(PKG_NAME) has been created under ${PWD}/`rpm --eval '%{_arch}'`
clean cl:

View File

@ -38,7 +38,6 @@ rm -rf %{buildroot}
%{_includedir}/acl-lib/acl
%{_includedir}/acl-lib/acl_cpp
%{_includedir}/acl-lib/fiber
%{_includedir}/acl-lib/fiber/detail
%{_includedir}/acl-lib/protocol
/usr/lib/libacl_all.a
/usr/lib/libfiber.a