Blame SOURCES/scap-security-guide-0.1.20-rhel7-specify-exact-profile-name-when-generating-guide.patch

2b7b16
diff --git a/RHEL/7/Makefile b/RHEL/7/Makefile
2b7b16
index c3be98b..0f15c1d 100644
2b7b16
--- a/RHEL/7/Makefile
2b7b16
+++ b/RHEL/7/Makefile
2b7b16
@@ -44,11 +44,12 @@ checks:
2b7b16
 
2b7b16
 guide: shorthand2xccdf
2b7b16
 #	remove auxiliary Groups which are only for use in tables, and not guide output.
2b7b16
-#	specifying a nonexistent profile, "allrules," to make oscap print all Rules
2b7b16
 	xsltproc -o $(OUT)/unlinked-rhel7-xccdf-guide.xml $(TRANS)/xccdf-removeaux.xslt $(OUT)/unlinked-rhel7-xccdf.xml
2b7b16
 	xsltproc -o $(OUT)/unlinked-notest-rhel7-xccdf-guide.xml $(TRANS)/xccdf-removetested.xslt $(OUT)/unlinked-rhel7-xccdf-guide.xml
2b7b16
-	oscap xccdf generate guide --profile allrules $(OUT)/unlinked-notest-rhel7-xccdf-guide.xml > $(OUT)/rhel7-guide.html
2b7b16
-	xsltproc -o $(OUT)/rhel7-guide-custom.html $(TRANS)/xccdf2html.xslt $(OUT)/unlinked-notest-rhel7-xccdf-guide.xml
2b7b16
+#       OpenSCAP-1.1.1 expects exact profile name in order to include also rules into guide
2b7b16
+#       Create guide for RHT-CCP profile
2b7b16
+	oscap xccdf generate guide --profile rht-ccp $(OUT)/unlinked-notest-rhel7-xccdf-guide.xml > $(OUT)/rhel7-ccp-guide.html
2b7b16
+	xsltproc -o $(OUT)/rhel7-ccp-guide-custom.html $(TRANS)/xccdf2html.xslt $(OUT)/unlinked-notest-rhel7-xccdf-guide.xml
2b7b16
 
2b7b16
 # example, if needed: for converting XCCDF into shorthand
2b7b16
 #xccdf2shorthand: