!40 delete useless old version dynamic library

From: @panxh_purple 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2022-03-16 03:08:11 +00:00 committed by Gitee
commit bc8ce3e96e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,12 +1,12 @@
Name: libsepol
Version: 3.3
Release: 1
Release: 2
Summary: SELinux binary policy manipulation library
License: LGPLv2+
URL: https://github.com/SELinuxProject/selinux/wiki/Releases
Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc flex libsepol
BuildRequires: gcc flex
%description
libsepol provides an API for the manipulation of SELinux binary
@ -36,8 +36,6 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
rm -rf %{buildroot}
make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" install
cp -a %{_libdir}/libsepol.so.1* %{buildroot}%{_libdir}
%pre
%preun
@ -66,6 +64,9 @@ cp -a %{_libdir}/libsepol.so.1* %{buildroot}%{_libdir}
%{_mandir}/man3/*
%changelog
* Tue Mar 15 2022 panxiaohe <panxh.life@foxmail.com> - 3.3-2
- delete useless old version dynamic library
* Thu Jan 13 2022 panxiaohe <panxiaohe@huawei.com> - 3.3-1
- update to 3.3