!28 delete useless old version dynamic library
From: @panxh_purple Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
66868361f8
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: libsemanage
|
Name: libsemanage
|
||||||
Version: 3.3
|
Version: 3.3
|
||||||
Release: 2
|
Release: 3
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Summary: SELinux binary policy manipulation library
|
Summary: SELinux binary policy manipulation library
|
||||||
URL: https://github.com/SELinuxProject/selinux/wiki
|
URL: https://github.com/SELinuxProject/selinux/wiki
|
||||||
@ -14,7 +14,7 @@ Patch9000: fix-test-failure-with-secilc.patch
|
|||||||
|
|
||||||
BuildRequires: gcc python3-devel bison flex bzip2-devel audit-libs-devel
|
BuildRequires: gcc python3-devel bison flex bzip2-devel audit-libs-devel
|
||||||
BuildRequires: libselinux-devel >= %{libselinux_version} swig libsepol-devel >= %{libsepol_version}
|
BuildRequires: libselinux-devel >= %{libselinux_version} swig libsepol-devel >= %{libsepol_version}
|
||||||
BuildRequires: CUnit-devel gdb-headless libsemanage
|
BuildRequires: CUnit-devel gdb-headless
|
||||||
|
|
||||||
Requires: bzip2-libs audit-libs
|
Requires: bzip2-libs audit-libs
|
||||||
Requires: libselinux >= %{libselinux_version}
|
Requires: libselinux >= %{libselinux_version}
|
||||||
@ -70,8 +70,6 @@ make PYTHON=%{__python3} DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" SHLIBDIR="%{
|
|||||||
cp %{SOURCE1} %{buildroot}/etc/selinux/semanage.conf
|
cp %{SOURCE1} %{buildroot}/etc/selinux/semanage.conf
|
||||||
ln -sf %{_libdir}/libsemanage.so.2 %{buildroot}/%{_libdir}/libsemanage.so
|
ln -sf %{_libdir}/libsemanage.so.2 %{buildroot}/%{_libdir}/libsemanage.so
|
||||||
|
|
||||||
cp -a %{_libdir}/libsemanage.so.1 %{buildroot}/%{_libdir}
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -106,6 +104,9 @@ make test
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 18 2022 panxiaohe<panxh.life@foxmail.com> - 3.3-3
|
||||||
|
- delete useless old version dynamic library
|
||||||
|
|
||||||
* Tue Mar 15 2022 panxiaohe<panxh.life@foxmail.com> - 3.3-2
|
* Tue Mar 15 2022 panxiaohe<panxh.life@foxmail.com> - 3.3-2
|
||||||
- use new version dynamic library
|
- use new version dynamic library
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user