44 lines
689 B
RPMSpec
44 lines
689 B
RPMSpec
Name: bounds_checking_function
|
|
Version: v1.1.10
|
|
Release: 1
|
|
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
|
|
|