!6 change bounds_checking_function to libboundscheck

From: @Plus_Liu
Reviewed-by: @zhaozhijian01
Signed-off-by: @zhaozhijian01
This commit is contained in:
openeuler-ci-bot 2020-10-13 14:06:51 +08:00 committed by Gitee
commit 44475c1b78
5 changed files with 14 additions and 12 deletions

Binary file not shown.

View File

@ -1,5 +0,0 @@
git_url: https://gitee.com/openeuler/bounds_checking_function
version_control: gitee
src_repo: openeuler/bounds_checking_function
tag_prefix: "^v"
seperator: "."

Binary file not shown.

View File

@ -1,11 +1,11 @@
%define debug_package %{nil}
Name: bounds_checking_function
Name: libboundscheck
Version: v1.1.10
Release: 3
Release: 4
License: Mulan PSL v2
Summary: Enhanced safety functions
Url: https://gitee.com/openeuler/bounds_checking_function
Source: %{name}-%{version}.tar
Url: https://gitee.com/openeuler/libboundscheck
Source: https://gitee.com/openeuler/libboundscheck/repository/archive/%{name}-%{version}.tar.gz
#Dependency
BuildRequires: gcc make rpm-build
@ -13,19 +13,20 @@ BuildRequires: gcc make rpm-build
Requires: glibc
%description
bounds_checking_function provides a set of functions of
libboundscheck 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}/
mkdir -p %{buildroot}%{_includedir}/
cp lib/*.so %{buildroot}%{_libdir}/
cp include/securec.h %{buildroot}%{_includedir}/
%clean
rm -rf %{buildroot}
@ -36,7 +37,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_libdir}/libsecurec.so
%{_libdir}/libboundscheck.so
%{_includedir}/securec.h
%doc README.md
%license LICENSE

5
libboundscheck.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://gitee.com/openeuler/libboundscheck
version_control: gitee
src_repo: openeuler/libboundscheck
tag_prefix: "^v"
seperator: "."