From 25966625edc71fdd3cdb116db363cf8057df31da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Luka=C5=A1=C3=ADk?= Date: Tue, 5 May 2015 19:57:19 +0200 Subject: [PATCH] Start distributing security baseline for Firefox --- scap-security-guide.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scap-security-guide.spec b/scap-security-guide.spec index ec8e885..6570018 100644 --- a/scap-security-guide.spec +++ b/scap-security-guide.spec @@ -39,11 +39,12 @@ further information. %build make %{?_smp_mflags} dist +make %{?_smp_mflags} dist -C Firefox %install # Install DataStream files mkdir -p %{buildroot}%{_datadir}/xml/scap/ssg/content/ -for target in Fedora RHEL/6 RHEL/7 +for target in Firefox Fedora RHEL/6 RHEL/7 do cp -a $target/dist/content/ssg-*-ds.xml %{buildroot}%{_datadir}/xml/scap/ssg/content/ done @@ -52,9 +53,16 @@ done mkdir -p %{buildroot}%{_mandir}/en/man8/ cp -a docs/scap-security-guide.8 %{buildroot}%{_mandir}/en/man8/scap-security-guide.8 +# Docs +mkdir -p %{buildroot}/%{_docdir}/%{name} +mkdir -p %{buildroot}/%{_docdir}/%{name}/Firefox +cp -a Firefox/README Firefox/DISCLAIMER %{buildroot}/%{_docdir}/%{name}/Firefox + + %files %{_datadir}/xml/scap %lang(en) %{_mandir}/en/man8/scap-security-guide.8.* +%docdir %{_docdir}/%{name} %doc Fedora/LICENSE Fedora/output/ssg-fedora-common-guide.html %doc RHEL/6/input/auxiliary/DISCLAIMER @@ -63,6 +71,7 @@ cp -a docs/scap-security-guide.8 %{buildroot}%{_mandir}/en/man8/scap-security-gu * Tue May 05 2015 Šimon Lukašík - 0.1.22-1 - update to the latest upstream release - only DataStream file is now available for Fedora +- start distributing Fedora content * Wed Mar 04 2015 Šimon Lukašík - 0.1.21-1 - update to the latest upstream release