Package openscap-engine-sce-devel separately.

This commit is contained in:
Simon Lukasik 2013-11-19 12:03:24 +01:00
parent f863137276
commit 2899134575

View File

@ -36,7 +36,6 @@ for the expression of Computer Network Defense related information.
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-engine-sce%{?_isa} = %{version}-%{release}
Requires: libxml2-devel Requires: libxml2-devel
Requires: pkgconfig 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 engine allows content authors to avoid OVAL language and write their assessment
commands using a scripting language (Bash, Perl, Python, Ruby, ...). 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 %package selinux
Summary: SELinux policy module for openscap Summary: SELinux policy module for openscap
Group: System Environment/Base Group: System Environment/Base
@ -257,9 +267,15 @@ exit 0
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc docs/{html,examples}/ %doc docs/{html,examples}/
%{_includedir}/* %{_libdir}/libopenscap.so
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_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 %files utils
%defattr(-,root,root,-) %defattr(-,root,root,-)