upgrade
This commit is contained in:
parent
9834bfed3d
commit
aeb995a8e6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
openscap-0.6.0.tar.gz
|
||||
/openscap-0.6.2.tar.gz
|
||||
|
@ -2,15 +2,15 @@
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: openscap
|
||||
Version: 0.6.0
|
||||
Release: 2%{?dist}
|
||||
Version: 0.6.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Set of open source libraries enabling integration of the SCAP line of standards
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://www.open-scap.org/
|
||||
Source0: http://www.open-scap.org/download/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: swig libxml2-devel
|
||||
BuildRequires: swig libxml2-devel libxslt-devel
|
||||
BuildRequires: rpm-devel
|
||||
BuildRequires: libgcrypt-devel
|
||||
BuildRequires: pcre-devel
|
||||
@ -69,6 +69,8 @@ The %{name}-utils package contains various utilities based on %{name} library.
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
# Remove shebang from bash-completion script
|
||||
sed -i '/^#!.*bin/,+1 d' dist/bash_completion.d/oscap
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -80,6 +82,14 @@ install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
||||
install -p -m 755 dist/fedora/oscap-scan.init $RPM_BUILD_ROOT%{_initrddir}/oscap-scan
|
||||
install -p -m 644 dist/fedora/oscap-scan.sys $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/oscap-scan
|
||||
|
||||
# create symlinks to default content
|
||||
ln -s %{_datadir}/openscap/scap-fedora14-oval.xml %{buildroot}/%{_datadir}/openscap/scap-oval.xml
|
||||
ln -s %{_datadir}/openscap/scap-fedora14-xccdf.xml %{buildroot}/%{_datadir}/openscap/scap-xccdf.xml
|
||||
|
||||
# bash-completion script
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
install -pm 644 dist/bash_completion.d/oscap $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/oscap
|
||||
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%clean
|
||||
@ -106,6 +116,7 @@ fi
|
||||
%{_libdir}/*.so.*
|
||||
%{_libexecdir}/*
|
||||
%{_datadir}/openscap/schemas/*
|
||||
%{_datadir}/openscap/xsl/*
|
||||
|
||||
%files python
|
||||
%defattr(-,root,root,-)
|
||||
@ -127,13 +138,21 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/oscap-scan
|
||||
%{_initrddir}/oscap-scan
|
||||
%{_datadir}/openscap/oscap-scan.cron
|
||||
%{_datadir}/openscap/scap-oval.xml
|
||||
%{_datadir}/openscap/scap-fedora12-oval.xml
|
||||
%{_datadir}/openscap/scap-fedora13-oval.xml
|
||||
%{_datadir}/openscap/scap-fedora14-oval.xml
|
||||
%{_datadir}/openscap/scap-xccdf.xml
|
||||
%{_datadir}/openscap/scap-fedora14-xccdf.xml
|
||||
%{_mandir}/man8/*
|
||||
%{_bindir}/*
|
||||
%{_sysconfdir}/bash_completion.d
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 27 2010 Peter Vrabec <pvrabec@redhat.com> 0.6.2-1
|
||||
- upgrade
|
||||
|
||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user