upgrade
This commit is contained in:
parent
7741fe9da7
commit
86c4750e5f
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ openscap-0.6.0.tar.gz
|
|||||||
/openscap-0.6.8.tar.gz
|
/openscap-0.6.8.tar.gz
|
||||||
/openscap-0.7.0.tar.gz
|
/openscap-0.7.0.tar.gz
|
||||||
/openscap-0.7.1.tar.gz
|
/openscap-0.7.1.tar.gz
|
||||||
|
/openscap-0.7.2.tar.gz
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
Name: openscap
|
Name: openscap
|
||||||
Version: 0.7.1
|
Version: 0.7.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Set of open source libraries enabling integration of the SCAP line of standards
|
Summary: Set of open source libraries enabling integration of the SCAP line of standards
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -14,6 +14,7 @@ BuildRequires: swig libxml2-devel libxslt-devel
|
|||||||
BuildRequires: rpm-devel
|
BuildRequires: rpm-devel
|
||||||
BuildRequires: libgcrypt-devel
|
BuildRequires: libgcrypt-devel
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
|
BuildRequires: libacl-devel
|
||||||
Requires(post): /sbin/ldconfig
|
Requires(post): /sbin/ldconfig
|
||||||
Requires(postun): /sbin/ldconfig
|
Requires(postun): /sbin/ldconfig
|
||||||
|
|
||||||
@ -55,6 +56,7 @@ BuildRequires: perl-devel
|
|||||||
The %{name}-perl package contains the bindings so that %{name}
|
The %{name}-perl package contains the bindings so that %{name}
|
||||||
libraries can be used by perl.
|
libraries can be used by perl.
|
||||||
|
|
||||||
|
|
||||||
%package utils
|
%package utils
|
||||||
Summary: Openscap utilities
|
Summary: Openscap utilities
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -66,13 +68,28 @@ BuildRequires: libcurl-devel
|
|||||||
%description utils
|
%description utils
|
||||||
The %{name}-utils package contains various utilities based on %{name} library.
|
The %{name}-utils package contains various utilities based on %{name} library.
|
||||||
|
|
||||||
|
|
||||||
%package content
|
%package content
|
||||||
Summary: SCAP content
|
Summary: SCAP content
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description content
|
%description content
|
||||||
SCAP content for RHEL and Fedora delivered by Open-SCAP project.
|
SCAP content for Fedora delivered by Open-SCAP project.
|
||||||
|
|
||||||
|
|
||||||
|
%package extra-probes
|
||||||
|
Summary: SCAP probes
|
||||||
|
Group: Applications/System
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
BuildRequires: openldap-devel
|
||||||
|
BuildRequires: c-ares-devel >= 1.7.0
|
||||||
|
#BuildRequires: opendbx - for sql
|
||||||
|
|
||||||
|
%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
|
||||||
@ -98,6 +115,10 @@ install -p -m 644 dist/fedora/oscap-scan.sys $RPM_BUILD_ROOT%{_sysconfdir}/sysc
|
|||||||
ln -s %{_datadir}/openscap/scap-fedora14-oval.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-oval.xml
|
ln -s %{_datadir}/openscap/scap-fedora14-oval.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-oval.xml
|
||||||
ln -s %{_datadir}/openscap/scap-fedora14-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-xccdf.xml
|
ln -s %{_datadir}/openscap/scap-fedora14-xccdf.xml $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-xccdf.xml
|
||||||
|
|
||||||
|
# remove content for another OS
|
||||||
|
rm $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-rhel6-oval.xml
|
||||||
|
rm $RPM_BUILD_ROOT/%{_datadir}/openscap/scap-rhel6-xccdf.xml
|
||||||
|
|
||||||
# bash-completion script
|
# bash-completion script
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d
|
||||||
install -pm 644 dist/bash_completion.d/oscap $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/oscap
|
install -pm 644 dist/bash_completion.d/oscap $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/oscap
|
||||||
@ -126,7 +147,22 @@ fi
|
|||||||
%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_family
|
||||||
|
%{_libexecdir}/openscap/probe_file
|
||||||
|
%{_libexecdir}/openscap/probe_filehash
|
||||||
|
%{_libexecdir}/openscap/probe_inetlisteningservers
|
||||||
|
%{_libexecdir}/openscap/probe_interface
|
||||||
|
%{_libexecdir}/openscap/probe_password
|
||||||
|
%{_libexecdir}/openscap/probe_process
|
||||||
|
%{_libexecdir}/openscap/probe_rpminfo
|
||||||
|
%{_libexecdir}/openscap/probe_runlevel
|
||||||
|
%{_libexecdir}/openscap/probe_shadow
|
||||||
|
%{_libexecdir}/openscap/probe_system_info
|
||||||
|
%{_libexecdir}/openscap/probe_textfilecontent
|
||||||
|
%{_libexecdir}/openscap/probe_textfilecontent54
|
||||||
|
%{_libexecdir}/openscap/probe_uname
|
||||||
|
%{_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
|
||||||
@ -161,13 +197,19 @@ fi
|
|||||||
%files content
|
%files content
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_datadir}/openscap/scap-oval.xml
|
%{_datadir}/openscap/scap-oval.xml
|
||||||
%{_datadir}/openscap/scap-fedora12-oval.xml
|
%{_datadir}/openscap/scap-xccdf.xml
|
||||||
%{_datadir}/openscap/scap-fedora13-oval.xml
|
%{_datadir}/openscap/scap-fedora13-oval.xml
|
||||||
%{_datadir}/openscap/scap-fedora14-oval.xml
|
%{_datadir}/openscap/scap-fedora14-oval.xml
|
||||||
%{_datadir}/openscap/scap-xccdf.xml
|
|
||||||
%{_datadir}/openscap/scap-fedora14-xccdf.xml
|
%{_datadir}/openscap/scap-fedora14-xccdf.xml
|
||||||
|
|
||||||
|
%files extra-probes
|
||||||
|
%{_libexecdir}/openscap/probe_ldap57
|
||||||
|
%{_libexecdir}/openscap/probe_dnscache
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 20 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.2-1
|
||||||
|
- upgrade
|
||||||
|
|
||||||
* Fri Mar 11 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.1-1
|
* Fri Mar 11 2011 Peter Vrabec <pvrabec@redhat.com> 0.7.1-1
|
||||||
- upgrade
|
- upgrade
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user