Compare commits

..

No commits in common. "7ffcd596b083b464e60ae59eaabfe3e6f82053a0" and "f47b830227c46e0a0dc73aaaa5f94ba4ba535960" have entirely different histories.

5 changed files with 43 additions and 56 deletions

Binary file not shown.

View File

@ -0,0 +1,43 @@
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

Binary file not shown.

View File

@ -1,51 +0,0 @@
%define debug_package %{nil}
Name: libboundscheck
Version: v1.1.11
Release: 6
License: Mulan PSL v2
Summary: Enhanced safety functions
Url: https://gitee.com/openeuler/libboundscheck
Source: https://gitee.com/openeuler/libboundscheck/repository/archive/%{name}-%{version}.tar.gz
#Dependency
BuildRequires: gcc make rpm-build
Requires: glibc
%description
libboundscheck provides a set of functions of
the common memory/string operation classes.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_libdir}/
mkdir -p %{buildroot}%{_includedir}/
cp lib/*.so %{buildroot}%{_libdir}/
cp include/securec.h %{buildroot}%{_includedir}/
cp include/securectype.h %{buildroot}%{_includedir}/
%clean
rm -rf %{buildroot}
%post
%postun
%files
%defattr(-,root,root)
%{_libdir}/libboundscheck.so
%{_includedir}/securec.h
%{_includedir}/securectype.h
%doc README.md
%license LICENSE
%changelog
* Sat May 08 2021 Plus_Liu <plusworld97@outlook.com> - v1.1.11-1
- Update Version.
* Mon Jun 22 2020 Guoshuai Sun <sunguoshuai@huawei.com> - v1.1.10-2
- Fix build error.

View File

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