Petr Lautrbach 2018-02-16 10:01:36 +01:00
parent 0de70f05fe
commit 89aa58d422
1 changed files with 0 additions and 7 deletions

View File

@ -3,7 +3,6 @@ Name: libsepol
Version: 2.7
Release: 4%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20170804/libsepol-2.7.tar.gz
# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh
# run:
@ -31,7 +30,6 @@ on binary policies such as customizing policy boolean settings.
%package devel
Summary: Header files and libraries used to build policy manipulation tools
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -40,7 +38,6 @@ needed for developing applications that manipulate binary policies.
%package static
Summary: static libraries used to build policy manipulation tools
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
%description static
@ -60,7 +57,6 @@ make clean
make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}
mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
@ -81,11 +77,9 @@ exit 0
%postun -p /sbin/ldconfig
%files static
%defattr(-,root,root)
%{_libdir}/libsepol.a
%files devel
%defattr(-,root,root)
%{_libdir}/libsepol.so
%{_libdir}/pkgconfig/libsepol.pc
%{_includedir}/sepol/*.h
@ -97,7 +91,6 @@ exit 0
%{_includedir}/sepol/cil/*.h
%files
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_libdir}/libsepol.so.1