!6 change bounds_checking_function to libboundscheck
From: @Plus_Liu Reviewed-by: @zhaozhijian01 Signed-off-by: @zhaozhijian01
This commit is contained in:
commit
44475c1b78
Binary file not shown.
@ -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: "."
|
|
||||||
BIN
libboundscheck-v1.1.10.tar.gz
Normal file
BIN
libboundscheck-v1.1.10.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%define debug_package %{nil}
|
%define debug_package %{nil}
|
||||||
Name: bounds_checking_function
|
Name: libboundscheck
|
||||||
Version: v1.1.10
|
Version: v1.1.10
|
||||||
Release: 3
|
Release: 4
|
||||||
License: Mulan PSL v2
|
License: Mulan PSL v2
|
||||||
Summary: Enhanced safety functions
|
Summary: Enhanced safety functions
|
||||||
Url: https://gitee.com/openeuler/bounds_checking_function
|
Url: https://gitee.com/openeuler/libboundscheck
|
||||||
Source: %{name}-%{version}.tar
|
Source: https://gitee.com/openeuler/libboundscheck/repository/archive/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
#Dependency
|
#Dependency
|
||||||
BuildRequires: gcc make rpm-build
|
BuildRequires: gcc make rpm-build
|
||||||
@ -13,19 +13,20 @@ BuildRequires: gcc make rpm-build
|
|||||||
Requires: glibc
|
Requires: glibc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
bounds_checking_function provides a set of functions of
|
libboundscheck provides a set of functions of
|
||||||
the common memory/string operation classes.
|
the common memory/string operation classes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd build
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_libdir}/
|
mkdir -p %{buildroot}%{_libdir}/
|
||||||
|
mkdir -p %{buildroot}%{_includedir}/
|
||||||
cp lib/*.so %{buildroot}%{_libdir}/
|
cp lib/*.so %{buildroot}%{_libdir}/
|
||||||
|
cp include/securec.h %{buildroot}%{_includedir}/
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -36,7 +37,8 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libsecurec.so
|
%{_libdir}/libboundscheck.so
|
||||||
|
%{_includedir}/securec.h
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
5
libboundscheck.yaml
Normal file
5
libboundscheck.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://gitee.com/openeuler/libboundscheck
|
||||||
|
version_control: gitee
|
||||||
|
src_repo: openeuler/libboundscheck
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user