diff --git a/bounds_checking_function-v1.1.10.tar b/bounds_checking_function-v1.1.10.tar deleted file mode 100644 index 46428af..0000000 Binary files a/bounds_checking_function-v1.1.10.tar and /dev/null differ diff --git a/bounds_checking_function.yaml b/bounds_checking_function.yaml deleted file mode 100644 index 9f05079..0000000 --- a/bounds_checking_function.yaml +++ /dev/null @@ -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: "." \ No newline at end of file diff --git a/libboundscheck-v1.1.10.tar.gz b/libboundscheck-v1.1.10.tar.gz new file mode 100644 index 0000000..d49bfe3 Binary files /dev/null and b/libboundscheck-v1.1.10.tar.gz differ diff --git a/bounds_checking_function.spec b/libboundscheck.spec similarity index 59% rename from bounds_checking_function.spec rename to libboundscheck.spec index e109ed6..ccd54d1 100644 --- a/bounds_checking_function.spec +++ b/libboundscheck.spec @@ -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 diff --git a/libboundscheck.yaml b/libboundscheck.yaml new file mode 100644 index 0000000..cfb7199 --- /dev/null +++ b/libboundscheck.yaml @@ -0,0 +1,5 @@ +git_url: https://gitee.com/openeuler/libboundscheck +version_control: gitee +src_repo: openeuler/libboundscheck +tag_prefix: "^v" +seperator: "." \ No newline at end of file