delete useless old version dynamic library

This commit is contained in:
panxiaohe 2022-03-15 15:54:34 +08:00
parent 97016e0f05
commit db0bd35731

View File

@ -1,12 +1,12 @@
Name: libsepol Name: libsepol
Version: 3.3 Version: 3.3
Release: 1 Release: 2
Summary: SELinux binary policy manipulation library Summary: SELinux binary policy manipulation library
License: LGPLv2+ License: LGPLv2+
URL: https://github.com/SELinuxProject/selinux/wiki/Releases URL: https://github.com/SELinuxProject/selinux/wiki/Releases
Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc flex libsepol BuildRequires: gcc flex
%description %description
libsepol provides an API for the manipulation of SELinux binary 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} rm -rf %{buildroot}
make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" install make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" install
cp -a %{_libdir}/libsepol.so.1* %{buildroot}%{_libdir}
%pre %pre
%preun %preun
@ -66,6 +64,9 @@ cp -a %{_libdir}/libsepol.so.1* %{buildroot}%{_libdir}
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %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 * Thu Jan 13 2022 panxiaohe <panxiaohe@huawei.com> - 3.3-1
- update to 3.3 - update to 3.3