Drop and obsolete libsemanage-compat
This commit is contained in:
parent
bbfd0b53a4
commit
6630c4be5a
@ -29,6 +29,7 @@ BuildRequires: python3-devel
|
|||||||
|
|
||||||
Requires: bzip2-libs audit-libs
|
Requires: bzip2-libs audit-libs
|
||||||
Requires: libselinux%{?_isa} >= %{libselinuxver}
|
Requires: libselinux%{?_isa} >= %{libselinuxver}
|
||||||
|
Obsoletes: libsemanage-compat = 3.1-4
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Security-enhanced Linux is a feature of the Linux® kernel and a number
|
Security-enhanced Linux is a feature of the Linux® kernel and a number
|
||||||
@ -54,12 +55,6 @@ Requires: libsemanage-devel%{_isa} = %{version}-%{release}
|
|||||||
The semanage-static package contains the static libraries
|
The semanage-static package contains the static libraries
|
||||||
needed for developing applications that manipulate binary policies.
|
needed for developing applications that manipulate binary policies.
|
||||||
|
|
||||||
%package compat
|
|
||||||
Summary: Temporary compat libsemanage.so.1 used for transition to libsemanage.so.2
|
|
||||||
|
|
||||||
%description compat
|
|
||||||
Temporary compat libsemanage.so.1 used for transition to libsemanage.so.2
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files and libraries used to build policy manipulation tools
|
Summary: Header files and libraries used to build policy manipulation tools
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
@ -132,12 +127,6 @@ InstallPythonWrapper \
|
|||||||
|
|
||||||
cp %{SOURCE1} ${RPM_BUILD_ROOT}/etc/selinux/semanage.conf
|
cp %{SOURCE1} ${RPM_BUILD_ROOT}/etc/selinux/semanage.conf
|
||||||
|
|
||||||
%set_build_flags
|
|
||||||
CFLAGS="$CFLAGS -fno-semantic-interposition"
|
|
||||||
sed -i 's/LIBVERSION = 2/LIBVERSION = 1/' src/Makefile
|
|
||||||
%make_build
|
|
||||||
cp src/libsemanage.so.1 ${RPM_BUILD_ROOT}/%{_libdir}/libsemanage.so.1
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -155,9 +144,6 @@ cp src/libsemanage.so.1 ${RPM_BUILD_ROOT}/%{_libdir}/libsemanage.so.1
|
|||||||
%files static
|
%files static
|
||||||
%{_libdir}/libsemanage.a
|
%{_libdir}/libsemanage.a
|
||||||
|
|
||||||
%files compat
|
|
||||||
%{_libdir}/libsemanage.so.1
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libsemanage.so
|
%{_libdir}/libsemanage.so
|
||||||
%{_libdir}/pkgconfig/libsemanage.pc
|
%{_libdir}/pkgconfig/libsemanage.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user