From 89aa58d422f8db283010ee4d73e92fee6bf1f9ce Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Feb 16 2018 09:34:54 +0000 Subject: Spec file cleanup https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/MRWOMRZ6KPCV25EFHJ2O67BCCP3L4Y6N/ --- diff --git a/libsepol.spec b/libsepol.spec index 5959b9a..9d3f57c 100644 --- a/libsepol.spec +++ b/libsepol.spec @@ -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