Start distributing security baseline for Firefox

This commit is contained in:
Šimon Lukašík 2015-05-05 19:57:19 +02:00
parent 283befe40f
commit 25966625ed

View File

@ -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 <slukasik@redhat.com> - 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 <slukasik@redhat.com> - 0.1.21-1
- update to the latest upstream release