libboundscheck/bounds_checking_function.spec
2020-06-22 21:58:29 +08:00

46 lines
804 B
RPMSpec

%define debug_package %{nil}
Name: bounds_checking_function
Version: v1.1.10
Release: 2
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
* Mon Jun 22 2020 Guoshuai Sun <sunguoshuai@huawei.com> - v1.1.10-2
- Fix build error.