From 289913457510000aec20876753f805f438fe0a15 Mon Sep 17 00:00:00 2001 From: Simon Lukasik Date: Tue, 19 Nov 2013 12:03:24 +0100 Subject: [PATCH] Package openscap-engine-sce-devel separately. --- openscap.spec | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/openscap.spec b/openscap.spec index 05f77e1..fcecc62 100644 --- a/openscap.spec +++ b/openscap.spec @@ -36,7 +36,6 @@ for the expression of Computer Network Defense related information. Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: %{name}-engine-sce%{?_isa} = %{version}-%{release} Requires: libxml2-devel Requires: pkgconfig @@ -121,6 +120,17 @@ The Script Check Engine is non-standard extension to SCAP protocol. This engine allows content authors to avoid OVAL language and write their assessment commands using a scripting language (Bash, Perl, Python, Ruby, ...). +%package engine-sce-devel +Summary: Development files for %{name}-engine-sce +Group: Development/Libraries +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Requires: %{name}-engine-sce%{?_isa} = %{version}-%{release} +Requires: pkgconfig + +%description engine-sce-devel +The %{name}-engine-sce-devel package contains libraries and header files +for developing applications that use %{name}-engine-sce. + %package selinux Summary: SELinux policy module for openscap Group: System Environment/Base @@ -257,9 +267,15 @@ exit 0 %files devel %defattr(-,root,root,-) %doc docs/{html,examples}/ -%{_includedir}/* -%{_libdir}/*.so +%{_libdir}/libopenscap.so %{_libdir}/pkgconfig/*.pc +%{_includedir}/openscap +%exclude %{_includedir}/openscap/sce_engine_api.h + +%files engine-sce-devel +%defattr(-,root,root,-) +%{_libdir}/libopenscap_sce.so +%{_includedir}/openscap/sce_engine_api.h %files utils %defattr(-,root,root,-)