openscap.spec   openscap.spec 
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils .sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils .sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distuti ls.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distuti ls.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: openscap Name: openscap
Version: 0.7.3 Version: 0.8.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Set of open source libraries enabling integration of the SC AP line of standards Summary: Set of open source libraries enabling integration of the SC AP line of standards
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
URL: http://www.open-scap.org/ URL: http://www.open-scap.org/
Source0: http://www.open-scap.org/download/%{name}-%{version}.tar.gz Source0: http://www.open-scap.org/download/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: swig libxml2-devel libxslt-devel m4 perl-XML-Parser BuildRequires: swig libxml2-devel libxslt-devel m4 perl-XML-Parser
BuildRequires: rpm-devel BuildRequires: rpm-devel
BuildRequires: libgcrypt-devel BuildRequires: libgcrypt-devel
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: libselinux-devel libcap-devel
BuildRequires: libacl-devel BuildRequires: libacl-devel
BuildRequires: libnl-devel
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig
%description %description
OpenSCAP is a set of open source libraries providing an easier path OpenSCAP is a set of open source libraries providing an easier path
for integration of the SCAP line of standards. SCAP is a line of standards for integration of the SCAP line of standards. SCAP is a line of standards
managed by NIST with the goal of providing a standard language managed by NIST with the goal of providing a standard language
for the expression of Computer Network Defense related information. for the expression of Computer Network Defense related information.
%package devel %package devel
skipping to change at line 69 skipping to change at line 71
%package utils %package utils
Summary: Openscap utilities Summary: Openscap utilities
Group: Applications/System Group: Applications/System
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires(post): chkconfig Requires(post): chkconfig
Requires(preun): chkconfig initscripts Requires(preun): chkconfig initscripts
%description utils %description utils
The %{name}-utils package contains various utilities based on %{name} libra ry. The %{name}-utils package contains various utilities based on %{name} libra ry.
%package extra-probes
Summary: SCAP probes
Group: Applications/System
Requires: %{name} = %{version}-%{release}
BuildRequires: openldap-devel
BuildRequires: GConf2-devel
%description extra-probes
The %{name}-extra-probes package contains additional probes that are not
commonly used and require additional dependencies.
%prep %prep
%setup -q %setup -q
%build %build
mkdir -p m4 mkdir -p m4
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
# Remove shebang from bash-completion script # Remove shebang from bash-completion script
sed -i '/^#!.*bin/,+1 d' dist/bash_completion.d/oscap sed -i '/^#!.*bin/,+1 d' dist/bash_completion.d/oscap
skipping to change at line 125 skipping to change at line 138
%preun utils %preun utils
if [ $1 -eq 0 ]; then if [ $1 -eq 0 ]; then
/sbin/service oscap-scan stop > /dev/null 2>&1 /sbin/service oscap-scan stop > /dev/null 2>&1
/sbin/chkconfig --del oscap-scan /sbin/chkconfig --del oscap-scan
fi fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README %doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.* %{_libdir}/*.so.*
%{_libexecdir}/* %{_libexecdir}/openscap/probe_dnscache
%{_libexecdir}/openscap/probe_environmentvariable
%{_libexecdir}/openscap/probe_environmentvariable58
%{_libexecdir}/openscap/probe_family
%{_libexecdir}/openscap/probe_file
%{_libexecdir}/openscap/probe_fileextendedattribute
%{_libexecdir}/openscap/probe_filehash
%{_libexecdir}/openscap/probe_filehash58
%{_libexecdir}/openscap/probe_iflisteners
%{_libexecdir}/openscap/probe_inetlisteningservers
%{_libexecdir}/openscap/probe_interface
%{_libexecdir}/openscap/probe_password
%{_libexecdir}/openscap/probe_partition
%{_libexecdir}/openscap/probe_process
%{_libexecdir}/openscap/probe_process58
%{_libexecdir}/openscap/probe_routingtable
%{_libexecdir}/openscap/probe_rpminfo
%{_libexecdir}/openscap/probe_rpmverify
%{_libexecdir}/openscap/probe_runlevel
%{_libexecdir}/openscap/probe_selinuxboolean
%{_libexecdir}/openscap/probe_selinuxsecuritycontext
%{_libexecdir}/openscap/probe_shadow
%{_libexecdir}/openscap/probe_sysctl
%{_libexecdir}/openscap/probe_system_info
%{_libexecdir}/openscap/probe_textfilecontent
%{_libexecdir}/openscap/probe_textfilecontent54
%{_libexecdir}/openscap/probe_uname
%{_libexecdir}/openscap/probe_variable
%{_libexecdir}/openscap/probe_xinetd
%{_libexecdir}/openscap/probe_xmlfilecontent
%dir %{_datadir}/openscap %dir %{_datadir}/openscap
%dir %{_datadir}/openscap/schemas %dir %{_datadir}/openscap/schemas
%dir %{_datadir}/openscap/xsl %dir %{_datadir}/openscap/xsl
%{_datadir}/openscap/schemas/* %{_datadir}/openscap/schemas/*
%{_datadir}/openscap/xsl/* %{_datadir}/openscap/xsl/*
%files python %files python
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{python_sitearch}/* %{python_sitearch}/*
skipping to change at line 157 skipping to change at line 199
%files utils %files utils
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/sysconfig/oscap-scan %config(noreplace) %{_sysconfdir}/sysconfig/oscap-scan
%doc docs/oscap-scan.cron %doc docs/oscap-scan.cron
%{_initrddir}/oscap-scan %{_initrddir}/oscap-scan
%{_mandir}/man8/* %{_mandir}/man8/*
%{_bindir}/* %{_bindir}/*
%{_sysconfdir}/bash_completion.d %{_sysconfdir}/bash_completion.d
%files extra-probes
%{_libexecdir}/openscap/probe_ldap57
%{_libexecdir}/openscap/probe_gconf
%changelog %changelog
* Tue May 24 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.3-1 * Tue Oct 11 2011 Peter Vrabec <pvrabec@redhat.com> 0.8.0-1
- upgrade - upgrade
 End of changes. 7 change blocks. 
3 lines changed or deleted 49 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/