%define debug_package %{nil} Name: bounds_checking_function Version: v1.1.10 Release: 3 License: Mulan PSL v2 Summary: Enhanced safety functions Url: https://gitee.com/openeuler/bounds_checking_function Source: %{name}-%{version}.tar #Dependency BuildRequires: gcc make rpm-build Requires: glibc %description bounds_checking_function provides a set of functions of the common memory/string operation classes. %prep %setup -q %build cd build make %{?_smp_mflags} %install mkdir -p %{buildroot}%{_libdir}/ cp lib/*.so %{buildroot}%{_libdir}/ %clean rm -rf %{buildroot} %post %postun %files %defattr(-,root,root) %{_libdir}/libsecurec.so %doc README.md %license LICENSE %changelog * Mon Jun 22 2020 Guoshuai Sun - v1.1.10-2 - Fix build error.